-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add comparison support for RowView #11499
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for meta-velox canceled.
|
This pull request was exported from Phabricator. Differential Revision: D65700875 |
Summary: Support comparison for RowView. This will allow us to compare IPPrefix which has an underlying type of Row<int128_t, int8_t>. When doing between and other comparison operations, RowView's comparisons are not implemented. We can extend RowView's comparison similar to GenericView. I introduce a base class which does the comparisons. The classes which implement the base class can specialize how they want to implement compare. For RowView, I iterate through the underlying tuple 1 by 1 until we find the first match where the underlying RowVector returns a non-zero comparison. Differential Revision: D65700875
53bb5a6
to
914b8f9
Compare
This pull request was exported from Phabricator. Differential Revision: D65700875 |
Summary: Support comparison for RowView. This will allow us to compare IPPrefix which has an underlying type of Row<int128_t, int8_t>. When doing between and other comparison operations, RowView's comparisons are not implemented. We can extend RowView's comparison similar to GenericView. I introduce a base class which does the comparisons. The classes which implement the base class can specialize how they want to implement compare. For RowView, I iterate through the underlying tuple 1 by 1 until we find the first match where the underlying RowVector returns a non-zero comparison. Differential Revision: D65700875
914b8f9
to
d7c5383
Compare
This pull request was exported from Phabricator. Differential Revision: D65700875 |
Summary: Support comparison for RowView. This will allow us to compare IPPrefix which has an underlying type of Row<int128_t, int8_t>. When doing between and other comparison operations, RowView's comparisons are not implemented. We can extend RowView's comparison similar to GenericView. I introduce a base class which does the comparisons. The classes which implement the base class can specialize how they want to implement compare. For RowView, I iterate through the underlying tuple 1 by 1 until we find the first match where the underlying RowVector returns a non-zero comparison. Differential Revision: D65700875
d7c5383
to
9632e60
Compare
This pull request was exported from Phabricator. Differential Revision: D65700875 |
9632e60
to
8f05a0b
Compare
Summary: Support comparison for RowView. This will allow us to compare IPPrefix which has an underlying type of Row<int128_t, int8_t>. When doing between and other comparison operations, RowView's comparisons are not implemented. We can extend RowView's comparison similar to GenericView. I introduce a base class which does the comparisons. The classes which implement the base class can specialize how they want to implement compare. For RowView, I iterate through the underlying tuple 1 by 1 until we find the first match where the underlying RowVector returns a non-zero comparison. Differential Revision: D65700875
This pull request was exported from Phabricator. Differential Revision: D65700875 |
8f05a0b
to
b2448c2
Compare
Summary: Support comparison for RowView. This will allow us to compare IPPrefix which has an underlying type of Row<int128_t, int8_t>. When doing between and other comparison operations, RowView's comparisons are not implemented. We can extend RowView's comparison similar to GenericView. I introduce a base class which does the comparisons. The classes which implement the base class can specialize how they want to implement compare. For RowView, I iterate through the underlying tuple 1 by 1 until we find the first match where the underlying RowVector returns a non-zero comparison. Differential Revision: D65700875
This pull request was exported from Phabricator. Differential Revision: D65700875 |
Summary: Support comparison for RowView. This will allow us to compare IPPrefix which has an underlying type of Row<int128_t, int8_t>. When doing between and other comparison operations, RowView's comparisons are not implemented. We can extend RowView's comparison similar to GenericView. I introduce a base class which does the comparisons. The classes which implement the base class can specialize how they want to implement compare. For RowView, I iterate through the underlying tuple 1 by 1 until we find the first match where the underlying RowVector returns a non-zero comparison. Differential Revision: D65700875
b2448c2
to
56b4a33
Compare
This pull request was exported from Phabricator. Differential Revision: D65700875 |
Summary: Support comparison for RowView. This will allow us to compare IPPrefix which has an underlying type of Row<int128_t, int8_t>. When doing between and other comparison operations, RowView's comparisons are not implemented. We can extend RowView's comparison similar to GenericView. I introduce a base class which does the comparisons. The classes which implement the base class can specialize how they want to implement compare. For RowView, I iterate through the underlying tuple 1 by 1 until we find the first match where the underlying RowVector returns a non-zero comparison. Differential Revision: D65700875
56b4a33
to
c74f6db
Compare
This pull request was exported from Phabricator. Differential Revision: D65700875 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Summary:
Support comparison for RowView. This will allow us to compare IPPrefix which has an underlying type of Row<int128_t, int8_t>.
When doing between and other comparison operations, RowView's comparisons are not implemented. We can extend RowView's comparison similar to GenericView.
I introduce a base class which does the comparisons. The classes which implement the base class can specialize how they want to implement compare.
For RowView, I iterate through the underlying tuple 1 by 1 until we find the first match where the underlying RowVector returns a non-zero comparison.
Differential Revision: D65700875