[
https://issues.apache.org/jira/browse/FLINK-24186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timo Walther closed FLINK-24186.
--------------------------------
Fix Version/s: 1.15.0
Resolution: Fixed
Fixed in master: f27e53a03516ca7de7ec6c86a905f7d8a88b1271
> Disable single rowtime column check for collect/print
> -----------------------------------------------------
>
> Key: FLINK-24186
> URL: https://issues.apache.org/jira/browse/FLINK-24186
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / API
> Reporter: Timo Walther
> Assignee: Timo Walther
> Priority: Major
> Labels: pull-request-available, stale-assigned
> Fix For: 1.15.0
>
>
> As seen inĀ FLINK-23751, the single rowtime column check can occur also during
> collecting and printing which is not important there as watermarks as not
> used.
> The exception is also misleading as it references a {{DataStream}}:
> {code:java}
> [ERROR] Could not execute SQL statement. Reason:
> org.apache.flink.table.api.TableException: Found more than one rowtime field:
> [bidtime, window_time] in the query when insert into
> 'default_catalog.default_database.Unregistered_Collect_Sink_8'.
> Please select the rowtime field that should be used as event-time timestamp
> for the DataStream by casting all other fields to TIMESTAMP.
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)