-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[feature](paimon)paimon catalog supports complex types #25364
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
Conversation
eef6ef7 to
583aa25
Compare
|
run buildall |
fe3e440 to
34ff765
Compare
|
run buildall |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
34ff765 to
4bf6df7
Compare
|
run buildall |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
fe/be-java-extensions/paimon-scanner/src/main/java/org/apache/doris/paimon/PaimonTypeUtils.java
Outdated
Show resolved
Hide resolved
fe/be-java-extensions/paimon-scanner/src/main/java/org/apache/doris/paimon/PaimonTypeUtils.java
Outdated
Show resolved
Hide resolved
| def c21 = """select * from auto_bucket where dt="b" and hh="c";""" | ||
| def c22 = """select * from auto_bucket where dt="d";""" | ||
| def c23 = """select * from complex_tab order by c1;""" | ||
| def c24 = """select * from complex_tab where c1=1;""" |
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.
24,25,26 is similar,keeping one is enough,can add some case like 'SELECT m['a'] FROM simple_map;'
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 for your suggestion, I have changed it
| private int idx; | ||
| private InternalRow record; | ||
| ColumnType dorisType; | ||
| private DataGetters record; |
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.
why change InternalRow to DataGetters
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.
When dealing with unpackArray and unpackMap, since org.apache.paimon.data.InternalArray extends org.apache.paimon.data.DataGetters, if do not change the InternalRow to DataGetters, the force transfer will fail.
bf12d43 to
5e78f3a
Compare
|
run buildall |
zddr
left a comment
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.
LGTM
|
PR approved by anyone and no changes requested. |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
5e78f3a to
1940570
Compare
|
run buildall |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
morningman
left a comment
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.
LGTM
|
Need more test case, not merge to 2.0 yet |
Add Paimon complex nested type regression case. Related pr:#25364
Add Paimon complex nested type regression case. Related pr:apache#25364
Add Paimon complex nested type regression case. Related pr:apache#25364
Add Paimon complex nested type regression case. Related pr:apache#25364
Add Paimon complex nested type regression case. Related pr:apache#25364
Add Paimon complex nested type regression case. Related pr:apache#25364
Proposed changes
Issue Number: close #xxx
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...