Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: updated assertions and scan for firstKeyOnlyFilter test #2483

Merged
merged 3 commits into from
Apr 17, 2020

Conversation

rahulKQL
Copy link
Contributor

@rahulKQL rahulKQL commented Apr 6, 2020

Fixes #2477

This PR update integration test to perform a scan and rowKey assertions to verify firstKeyOnlyFilter functionality.

This PR updates integration tests assertions to verify firstKeyOnlyFilter.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 6, 2020
@codecov
Copy link

codecov bot commented Apr 6, 2020

Codecov Report

Merging #2483 into master will increase coverage by 0.62%.
The diff coverage is 37.50%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #2483      +/-   ##
============================================
+ Coverage     61.74%   62.37%   +0.62%     
- Complexity     1608     1636      +28     
============================================
  Files           197      200       +3     
  Lines          9992    10139     +147     
  Branches       1022     1031       +9     
============================================
+ Hits           6170     6324     +154     
+ Misses         3360     3352       -8     
- Partials        462      463       +1     
Impacted Files Coverage Δ Complexity Δ
...gle/cloud/bigtable/hbase/wrappers/BigtableApi.java 90.90% <ø> (+19.48%) 4.00 <0.00> (+1.00)
...ble/hbase/wrappers/classic/BigtableClassicApi.java 95.45% <ø> (ø) 5.00 <0.00> (ø)
...e/hbase/wrappers/classic/DataClientClassicApi.java 97.02% <ø> (ø) 18.00 <0.00> (ø)
...le/hbase/wrappers/veneer/AdminClientVeneerApi.java 100.00% <ø> (ø) 9.00 <0.00> (ø)
...table/hbase/wrappers/veneer/BulkReadVeneerApi.java 92.30% <ø> (+12.30%) 14.00 <0.00> (+4.00)
...e/hadoop/hbase/client/BigtableAsyncConnection.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...adoop/hbase/client/AbstractBigtableConnection.java 55.55% <66.66%> (-0.36%) 16.00 <0.00> (ø)
...se/adapters/filters/FirstKeyOnlyFilterAdapter.java 75.00% <100.00%> (-5.00%) 3.00 <1.00> (ø)
...ble/hbase/wrappers/veneer/DataClientVeneerApi.java 95.65% <0.00%> (ø) 13.00% <0.00%> (?%)
...gtable/hbase/wrappers/veneer/RowResultAdapter.java 95.58% <0.00%> (ø) 5.00% <0.00%> (?%)
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7b2d0df...fcdb6a3. Read the comment docs.

rahulKQL added 2 commits April 8, 2020 23:45
…alue

This commit partially reverts changes from googleapis#1996 to have consistent behavior with HBase FirstKeyOnlyFilter.
Copy link
Collaborator

@igorbernstein2 igorbernstein2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@rahulKQL rahulKQL changed the title chore(test): updated assertions and scan for firstKeyOnlyFilter test fix: updated assertions and scan for firstKeyOnlyFilter test Apr 17, 2020
@rahulKQL rahulKQL added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 17, 2020
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 17, 2020
@rahulKQL rahulKQL merged commit a2cbe7a into googleapis:master Apr 17, 2020
kolea2 pushed a commit to kolea2/cloud-bigtable-client that referenced this pull request Mar 1, 2021
…pis#2483)

* chore(test): updated assertions for firstKeyOnlyFilter

This PR updates integration tests assertions to verify firstKeyOnlyFilter.

* chore: reverting back FirstKeyOnlyFilterAdapter to return cell with value

This commit partially reverts changes from googleapis#1996 to have consistent behavior with HBase FirstKeyOnlyFilter.

* to trigger failed CI Job

(cherry picked from commit a2cbe7a)
kolea2 added a commit that referenced this pull request Mar 3, 2021
…2854)

* chore(test): updated assertions for firstKeyOnlyFilter

This PR updates integration tests assertions to verify firstKeyOnlyFilter.

* chore: reverting back FirstKeyOnlyFilterAdapter to return cell with value

This commit partially reverts changes from #1996 to have consistent behavior with HBase FirstKeyOnlyFilter.

* to trigger failed CI Job

(cherry picked from commit a2cbe7a)

Co-authored-by: Rahul Kesharwani <42969463+rahulKQL@users.noreply.github.com>
gcf-merge-on-green bot pushed a commit that referenced this pull request Mar 19, 2021
🤖 I have created a release \*beep\* \*boop\*
---
### [1.19.1](https://github.com/googleapis/java-bigtable-hbase/compare/v1.19.0...v1.19.1) (2021-03-18)


### Bug Fixes

* bigtable-hbase-2.x-hadoop incompatible with hbase-shaded-client 2.x ([#2773](https://github.com/googleapis/java-bigtable-hbase/issues/2773)) ([#2864](https://github.com/googleapis/java-bigtable-hbase/issues/2864)) ([b74ba4f](https://github.com/googleapis/java-bigtable-hbase/commit/b74ba4f5f4de0001391b85ffc9669ca46c187faa))
* Disabling Dataflow memory monitor for Bigtable Dataflow pipelines. ([#2856](https://github.com/googleapis/java-bigtable-hbase/issues/2856)) ([2af6202](https://github.com/googleapis/java-bigtable-hbase/commit/2af620239fa18a06eccb1547e92e82f15be71e47))
* hbase 2x shell ([#2905](https://github.com/googleapis/java-bigtable-hbase/issues/2905)) ([e74015b](https://github.com/googleapis/java-bigtable-hbase/commit/e74015b473d031edd77d896b05c55aa48c3848d4))
* updated assertions and scan for firstKeyOnlyFilter test ([#2483](https://github.com/googleapis/java-bigtable-hbase/issues/2483)) ([#2854](https://github.com/googleapis/java-bigtable-hbase/issues/2854)) ([c150262](https://github.com/googleapis/java-bigtable-hbase/commit/c150262267734164080c6ab5e3f991a140067408))


### Dependencies

* Update beam version to 2.24.0 ([#2857](https://github.com/googleapis/java-bigtable-hbase/issues/2857)) ([94aea7c](https://github.com/googleapis/java-bigtable-hbase/commit/94aea7c1e4260b067ab429f40ee018abfd3e22f7))
* update shared config to 0.10.0 ([#2826](https://github.com/googleapis/java-bigtable-hbase/issues/2826)) ([a20c746](https://github.com/googleapis/java-bigtable-hbase/commit/a20c7466412f1b97a4c00fc8611fe05b057d7b6d))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unclear if we are matching functionality for FirstKeyOnlyFilter
4 participants