wzx140 commented on code in PR #3459:
URL: https://github.com/apache/fluss/pull/3459#discussion_r3401091949
##########
fluss-server/src/main/java/org/apache/fluss/server/utils/TableDescriptorValidation.java:
##########
@@ -323,6 +323,9 @@ private static void checkArrowCompression(Configuration
tableConf) {
private static void checkMergeEngine(
Configuration tableConf, boolean hasPrimaryKey, Schema schema) {
MergeEngineType mergeEngine =
tableConf.get(ConfigOptions.TABLE_MERGE_ENGINE);
+ if (mergeEngine != MergeEngineType.AGGREGATION) {
+ validateNoAggregationFunctions(schema);
+ }
Review Comment:
Even when mergeEngine == null, the schema should not define aggregation
functions
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]