fhueske commented on a change in pull request #6666: [FLINK-10290] [table] Fix conversion error in StreamScan and BatchScan URL: https://github.com/apache/flink/pull/6666#discussion_r217544935
########## File path: flink-libraries/flink-table/src/main/scala/org/apache/flink/table/plan/nodes/datastream/StreamScan.scala ########## @@ -50,11 +51,12 @@ trait StreamScan extends CommonScan[CRow] with DataStreamRel { f == TimeIndicatorTypeInfo.ROWTIME_STREAM_MARKER || f == TimeIndicatorTypeInfo.PROCTIME_STREAM_MARKER) - if (input.getType == cRowType && !hasTimeIndicator) { + if (inputType == cRowType && !hasTimeIndicator) { Review comment: `CRowTypeInfo` doesn't check for field name equality either. Can you add a `schemaEquals()` method to `CRowTypeInfo` and call this here? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services