Skip to content

Commit

Permalink
[FLINK-15726] [Blink Planner] [hotfix] Fix error message in
Browse files Browse the repository at this point in the history
StreamExecTableSourceScan & BatchExecTableSourceScan

This closes #10914
  • Loading branch information
benoitparis authored and dawidwys committed Jan 22, 2020
1 parent 6061372 commit 772d83e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class BatchExecTableSourceScan(
// check that declared and actual type of table source DataStream are identical
if (inputDataType != TypeInfoDataTypeConverter.fromDataTypeToTypeInfo(producedDataType)) {
throw new TableException(s"TableSource of type ${tableSource.getClass.getCanonicalName} " +
s"returned a DataStream of data type $producedDataType that does not match with the " +
s"returned a DataStream of data type $inputDataType that does not match with the " +
s"data type $producedDataType declared by the TableSource.getProducedDataType() method. " +
s"Please validate the implementation of the TableSource.")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class StreamExecTableSourceScan(
// check that declared and actual type of table source DataStream are identical
if (inputDataType != TypeInfoDataTypeConverter.fromDataTypeToTypeInfo(producedDataType)) {
throw new TableException(s"TableSource of type ${tableSource.getClass.getCanonicalName} " +
s"returned a DataStream of data type $producedDataType that does not match with the " +
s"returned a DataStream of data type $inputDataType that does not match with the " +
s"data type $producedDataType declared by the TableSource.getProducedDataType() method. " +
s"Please validate the implementation of the TableSource.")
}
Expand Down

0 comments on commit 772d83e

Please sign in to comment.