Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@sduskis
Copy link
Contributor

@sduskis sduskis commented Feb 7, 2019

See #2056 for context

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 7, 2019
String previousFamily = null;
for (FlatRow.Cell cell : cells) {
// Cells with labels are for internal use, do not return them.
// TODO(kevinsi4508): Filter out targeted {@link WhileMatchFilter} labels.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this the right place for this? It seems like a filter specific thing, but FlatRowAdapter seems to be generic. Would a ReadHook be a better place?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ReadHook updates the ReadRowsRequest, not the results. We would need to figure out some other mechanism.

This PR at least brings attention to the problem, so if it's ok, I'd like to proceed with merging this code, and figure out a better alternative later.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Please add a TODO

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

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

@sduskis sduskis merged commit d0698a9 into googleapis:master Feb 7, 2019
@sduskis sduskis deleted the remove_labels_filter branch February 7, 2019 21:59
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.

3 participants