Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Minor fixes and enhancements in UnionQuery handling #17483
Minor fixes and enhancements in UnionQuery handling #17483
Changes from 108 commits
31574b0
c4d8d6c
755528b
38961d2
9e540a8
433ab05
6baae00
39d828f
9e21086
8ef3e4c
2ee7005
44c098a
579a848
c96ef1a
fbc1bb5
9a963c6
ce123f8
a68f470
cb35cf6
d0b25e5
ac0f5ea
ad14eab
e67ff79
387f0e7
35c3772
2711a4f
fd70ad9
fa16e51
043470d
2b010b0
b622aef
ce7aaf7
0bed635
7101c66
c0f6bd6
cf8c4ee
590fc01
13a8a26
6ce1c0c
b8720b6
63f0a43
b4037a5
33d57a6
f417893
9060482
554d244
ebf61ce
f13812b
f642579
fa6c91e
44e64c7
956c8ef
f9c6d1f
0c82c61
15e4712
89e36dc
0c61433
436dc35
bc64245
efc97ce
42e4e22
c233381
3680fdb
cb474cb
7ccf86a
22ede9b
706f86e
974b489
1290a90
e11048f
4d2428e
108e9e0
62c3228
6157fe9
3426fce
862bab7
7021b3f
54b057e
c782790
b8ed336
9af9e45
b351a64
d2ae617
80925a8
7ad5c28
fc8edf2
05c8f15
c9b072a
0bd6efc
82ffb42
5371004
cee074b
a30e281
c424f26
c9420a5
353073f
b9116b8
0a9a30a
e3a431d
6c449e7
bd679e2
8f25c51
9514c6e
67c0416
4cf6abd
30bb3a8
7a8ff59
84eeb18
ea65161
dc9bd15
1d68e97
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Aside from the name change, why does this evaluate native-only?
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.
the original wording have made me end up with an unfortunate name; renamed it to
testUnionDifferentColumnOrder
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.
Perhaps also test what happens when a completely different, random value is set. Like "bilyBob"
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.
update the testcase:
testIsDecoupled
garbage
I'm not sure what are the gains of having this as a string based setting;
I don't think it will have more variations...
it could be a boolean with the name like
decoupledMode
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.
Can we not have a "DecoupledPlannerContext" or something that just overrides this method and throws the exception instead of checks the context? I don't actually know where the PlannerContext is created, so no clue how hard/easy it is to do it, but this check feels ugly.
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.
I feel like this whole class should be removed
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.
queryContext
is passed as aMap
instead ofQueryContext
I'll do this as a separate change