Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
1.11.1
-
None
-
None
Description
def generateWatermarkGenerator( config: TableConfig, inputType: RowType, watermarkExpr: RexNode): GeneratedWatermarkGenerator = { // validation val watermarkOutputType = FlinkTypeFactory.toLogicalType(watermarkExpr.getType) if (watermarkOutputType.getTypeRoot != LogicalTypeRoot.TIMESTAMP_WITHOUT_TIME_ZONE) { throw new CodeGenException( "WatermarkGenerator only accepts output data type of TIMESTAMP," + " but is " + watermarkOutputType) }
Why does watermark generation need to be detected as TIMESTAMP_WITHOUT_TIME_ZONE?
If I remove this check, what effect will it have on the watermark?