-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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 VirtualColumn related issues in window expressions #15119
Merged
abhishekagarwal87
merged 117 commits into
apache:master
from
kgyrtkirk:windowing-fixes-string-min-max
Oct 23, 2023
Merged
Changes from 12 commits
Commits
Show all changes
117 commits
Select commit
Hold shift + click to select a range
bd55afd
fixes
kgyrtkirk 5cf1e2c
check for latest rewrite place
kgyrtkirk c4ff274
Revert "check for latest rewrite place"
kgyrtkirk 89844e9
some stuff
kgyrtkirk ed5d100
update test output
kgyrtkirk 2a4a3ab
updates to test ouptuts
kgyrtkirk 02aac9d
some stuff
kgyrtkirk a9877c4
move validator
kgyrtkirk f104ce4
cleanup
kgyrtkirk 145fe82
fix
kgyrtkirk 761cd68
change test slightly
kgyrtkirk a10fe7a
add apidoc cleanup warnings
kgyrtkirk 6082df5
cleanup/etc
kgyrtkirk 34a6aeb
instead of telling the story; add a fail with some reason whats the i…
kgyrtkirk 9b74ef5
Merge remote-tracking branch 'apache/master' into windowing-fix-test-cmp
kgyrtkirk e376ae9
lead-lag fix
kgyrtkirk 1acd53b
add test
kgyrtkirk a708ef2
remove unnecessary throw
kgyrtkirk 8fa0664
druidexception-trial
kgyrtkirk b484606
Revert "druidexception-trial"
kgyrtkirk 2858ff6
undo changes to no_grouping; add no_grouping2
kgyrtkirk 2e91d7c
Merge remote-tracking branch 'apache/master' into windowing-fix-test-cmp
kgyrtkirk 9a80c89
add missing assert on resultcount
kgyrtkirk ee2b35d
rename method; update
kgyrtkirk 4e216b7
introduce enum/etc
kgyrtkirk 5d0fcc0
make resultmatchmode accessible from TestBuilder#expectedResults
kgyrtkirk 0ddd3be
fix dump results to use log
kgyrtkirk 4073f5e
Merge remote-tracking branch 'apache/master' into windowing-fix-test-cmp
kgyrtkirk 47e81d8
Merge remote-tracking branch 'apache/master' into windowing-fix-test-cmp
kgyrtkirk edea152
fix
kgyrtkirk de099c6
handle null correctly
kgyrtkirk 5834150
fix virtualcolumnregistry
kgyrtkirk 6e80c83
accept changes from NPE to AGGREGATION_NOT_SUPPORT_TYPE
kgyrtkirk 08d21d0
better match
kgyrtkirk 8b52be7
indent
kgyrtkirk 0369976
try nullx
kgyrtkirk 8b50923
Revert "try nullx"
kgyrtkirk a4cb14a
fixes/test/etc
kgyrtkirk 1fecd63
undo test changes
kgyrtkirk 8ad2bb9
fix test to have filter
kgyrtkirk f396de8
update 1 more test
kgyrtkirk e018b2c
disable feature type based things for MSQ
kgyrtkirk a74a9fd
fix varianssqlaggtest
kgyrtkirk 185b8e7
use eps in other test
kgyrtkirk ed1bb89
fix intellij error
kgyrtkirk 91b1be9
add final
kgyrtkirk df73774
addrss review
kgyrtkirk 7714e2f
update test/string/etc
kgyrtkirk 78d1d31
write concat in 3 lines :D
kgyrtkirk 1f372c3
Merge branch 'windowing-fix-test-cmp' into windowing-fixes-string-min…
kgyrtkirk 3c6934b
Merge remote-tracking branch 'apache/master' into windowing-fixes-str…
kgyrtkirk 35b981d
update sqlTest
kgyrtkirk a69ecd9
dont create VCR
kgyrtkirk 7c4551b
plannerconfig validate
kgyrtkirk 8937300
Revert "plannerconfig validate"
kgyrtkirk a79600f
dont swallow exception backtrace
kgyrtkirk 56be2b6
reuse test stuff
kgyrtkirk 7c65c85
Revert "reuse test stuff"
kgyrtkirk 5a15264
Merge commit 'a0fd9ec55c' into windowing-fixes-string-min-max
kgyrtkirk 8a0c3c7
Merge remote-tracking branch 'apache/master' into windowing-fixes-str…
kgyrtkirk b800180
add exception
kgyrtkirk 4431b7a
move construction phase into separate method
kgyrtkirk f7f75c7
uncommitted state
kgyrtkirk f64a615
one fix
kgyrtkirk 41fca50
checkstyle
kgyrtkirk d51f8f1
cleanup/etc
kgyrtkirk 7d8e568
put back
kgyrtkirk 9904ce9
wat/abc test
kgyrtkirk 6e8731a
Revert "wat/abc test"
kgyrtkirk b2ac570
weed out prev sol
kgyrtkirk b0a3e1a
add comment
kgyrtkirk adeaf59
mark some calls unsupported
kgyrtkirk 35ab748
put them back :facepalm:
kgyrtkirk 24bcd03
zip the two stuff
kgyrtkirk 91077be
blocked by non-existent type; columnselectyorfactorymaker#fromRAC / etc
kgyrtkirk 16fac3e
Revert "blocked by non-existent type; columnselectyorfactorymaker#fro…
kgyrtkirk 77eeb60
ensure no invalid use
kgyrtkirk 4f53973
Merge remote-tracking branch 'apache/master' into windowing-fixes-str…
kgyrtkirk 21ff7f5
checkstyle
kgyrtkirk 15bf039
add Windowing level fix
kgyrtkirk 4d83905
purge out virtualColumns param
kgyrtkirk a218b3c
working
kgyrtkirk 9bf2c37
cleanup/etc
kgyrtkirk b034474
cleanup
kgyrtkirk e1f7ef5
checkstyle fixes
kgyrtkirk 87c6063
remove VCR arg
kgyrtkirk 43df657
add assert
kgyrtkirk 0918a4f
undo+cleanup
kgyrtkirk 462eec6
put back assert; cleanup
kgyrtkirk 854527e
undo enable test
kgyrtkirk f364c9d
.
kgyrtkirk d4a077c
update to be at same point as w-f1 branch
kgyrtkirk 73ba4e9
add to opfactory; fix test
kgyrtkirk 6bcb70b
cleanup
kgyrtkirk da99a8a
cleanup
kgyrtkirk 22bf6da
add test
kgyrtkirk 30d2047
tests
kgyrtkirk bb033c4
test/etc
kgyrtkirk 216a56d
updates
kgyrtkirk 4d3200f
test/etc
kgyrtkirk 9343248
updates
kgyrtkirk c66cf33
cleanup; checkstyle
kgyrtkirk e2203ff
cleanup/etc
kgyrtkirk ce919f4
checkstyle
kgyrtkirk b76019c
intellij style
kgyrtkirk 88ee20c
fix test constructor
kgyrtkirk 0919611
review#1
kgyrtkirk af3424c
remove exception/etc
kgyrtkirk 462796e
Revert "Revert "Revert "Revert "undo build""""
kgyrtkirk d156022
Revert "Revert "Revert "undo build"""
kgyrtkirk 18f9a38
move/etc
kgyrtkirk 8b7b89c
undo; leave asis
kgyrtkirk 575b153
stuff
kgyrtkirk 11fd787
fix test
kgyrtkirk 247931b
return null instead of default
kgyrtkirk abe5c06
remove unnecessary stuff; the frame may still contain nulls; regardle…
kgyrtkirk 5257d4a
Merge remote-tracking branch 'apache/master' into windowing-fixes-str…
kgyrtkirk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
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.
Reading this code has made me realize that we need to do a
containsKey()
check in order to actually take advantage of the cache. I.e. if we cache that it wasnull
, we are going to keep asking and overwriting the cache for that column because we are checking the result of.get()
instead of.containsKey()
.I'm leaving this comment so that we have a shared understanding, not because I'm asking it to be adjusted in this PR.