You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/03/20 11:34:42 UTC
[GitHub] [flink] wuchong commented on a change in pull request #11424:
[FLINK-16345][table-planner-blink] Fix computed column can not refer row
time attribute column
wuchong commented on a change in pull request #11424: [FLINK-16345][table-planner-blink] Fix computed column can not refer row time attribute column
URL: https://github.com/apache/flink/pull/11424#discussion_r395579908
##########
File path: flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/plan/schema/CatalogSourceTable.scala
##########
@@ -106,7 +111,7 @@ class CatalogSourceTable[T](
val toRexFactory = flinkContext.getSqlExprToRexConverterFactory
// 2. push computed column project
- val fieldNames = rowType.getFieldNames.asScala
+ val fieldNames = erasedRowType.getFieldNames.asScala
Review comment:
After an offline discussion with @danny0405 , we reached an consensus that erasing time indicators in CatalogSourceTable#toRel is the only way to fix this for now. So we will keep the current implementation in PR.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services