-
Notifications
You must be signed in to change notification settings - Fork 486
Flink Intergration of Aggregation Merge Engine #2307
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
base: main
Are you sure you want to change the base?
Conversation
wuchong
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.
Thanks @platinumhamburg , this looks good in general. I only left some minor comments.
...luss-flink-common/src/test/java/org/apache/fluss/flink/utils/FlinkAggFunctionParserTest.java
Outdated
Show resolved
Hide resolved
...link/fluss-flink-common/src/test/java/org/apache/fluss/flink/utils/FlinkConversionsTest.java
Outdated
Show resolved
Hide resolved
...flink/fluss-flink-common/src/test/java/org/apache/fluss/flink/sink/FlinkTableSinkITCase.java
Outdated
Show resolved
Hide resolved
7277059 to
4bb3911
Compare
|
Hi @wuchong, thanks for your review comments, I've addressed all of them. Please take another look when you have time. |
4bb3911 to
a870913
Compare
a870913 to
df1b692
Compare
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 @platinumhamburg . I only appended a commit to fix the only comment with a test for this case and rebased the branch.
| for (Map.Entry<String, String> param : aggFunction.getParameters().entrySet()) { | ||
| String paramKey = | ||
| AGG_PREFIX + columnName + AGG_SUFFIX + PARAMS_SUFFIX + "." + param.getKey(); | ||
| String paramKey = AGG_PREFIX + columnName + "." + funcName + "." + param.getKey(); |
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 function name value might be in uppercase, so we should convert it to lowercase to ensure the option key is always in lowercase.
|
I will merge it once the CI is passed. |
Purpose
Linked issue: close #2244
Brief change log
Tests
API and Format
Documentation