提交 b5ddbe5c 编写于 作者: H Hequn Cheng 提交者: Fabian Hueske

[FLINK-6486] [table] Pass RowTypeInfo to CodeGenerator instead of CRowTypeInfo.

This closes #3850.
上级 e2cb2215
......@@ -115,7 +115,7 @@ class DataStreamGroupAggregate(
val generator = new CodeGenerator(
tableEnv.getConfig,
false,
inputDS.getType)
inputSchema.physicalTypeInfo)
val aggString = aggregationToString(
inputSchema.logicalType,
......
......@@ -142,7 +142,7 @@ class DataStreamGroupWindowAggregate(
val generator = new CodeGenerator(
tableEnv.getConfig,
false,
inputDS.getType)
inputSchema.physicalTypeInfo)
val needMerge = window match {
case SessionGroupWindow(_, _, _) => true
......
......@@ -116,7 +116,7 @@ class DataStreamOverAggregate(
val generator = new CodeGenerator(
tableEnv.getConfig,
false,
inputDS.getType)
inputSchema.physicalTypeInfo)
val timeType = schema.logicalType
.getFieldList
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册