-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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](multi-catalog)fix maxcompute partition filter and session creation #24911
Conversation
2c1ebc6
to
af66655
Compare
clang-tidy review says "All clean, LGTM! 👍" |
af66655
to
bf26895
Compare
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
clang-tidy review says "All clean, LGTM! 👍" |
6c4bd7f
to
38a5773
Compare
clang-tidy review says "All clean, LGTM! 👍" |
@@ -124,6 +129,7 @@ protected void initTableInfo(ColumnType[] requiredTypes, String[] requiredFields | |||
} | |||
// reorder columns | |||
List<Column> columnList = curTableScan.getSchema().getColumns(); | |||
columnList.addAll(curTableScan.getSchema().getPartitionColumns()); |
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.
Does curTableScan.getSchema().getColumns()
contains partition columns?
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.
not contains
.map(Column::getName) | ||
.collect(Collectors.toSet()); | ||
List<Column> maxComputeColumns = new ArrayList<>(readColumns); | ||
maxComputeColumns.removeIf(e -> partitionColumns.contains(e.getName())); |
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 remove partition columns here?
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.
max compute depart the partition columns from common columns
regression-test/suites/external_table_p2/maxcompute/test_external_catalog_maxcompute.groovy
Outdated
Show resolved
Hide resolved
regression-test/suites/external_table_p2/maxcompute/test_external_catalog_maxcompute.groovy
Outdated
Show resolved
Hide resolved
38a5773
to
84b8091
Compare
clang-tidy review says "All clean, LGTM! 👍" |
84b8091
to
15d6b4f
Compare
clang-tidy review says "All clean, LGTM! 👍" |
15d6b4f
to
7335b80
Compare
run buildall |
7335b80
to
294432f
Compare
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
clang-tidy review says "All clean, LGTM! 👍" |
TeamCity be ut coverage result: |
run buildall |
TeamCity be ut coverage result: |
(From new machine)TeamCity pipeline, clickbench performance test result: |
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
294432f
to
166acc2
Compare
clang-tidy review says "All clean, LGTM! 👍" |
run buildall |
TeamCity be ut coverage result: |
(From new machine)TeamCity pipeline, clickbench performance test result: |
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 at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
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
…ion (#24911) add maxcompute partition support fix maxcompute partition filter modify maxcompute session create method
…ion (apache#24911) add maxcompute partition support fix maxcompute partition filter modify maxcompute session create method
…ion (apache#24911) add maxcompute partition support fix maxcompute partition filter modify maxcompute session create method
Proposed changes
add maxcompute partition support
fix maxcompute partition filter
modify maxcompute session create method
Further comments
If this is a relatively large or complex change, kick off the discussion at [email protected] by explaining why you chose the solution you did and what alternatives you considered, etc...