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_r217545093
##########
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:
Would also be good to have a test for this.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services