You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Timo Walther (Jira)" <ji...@apache.org> on 2021/09/07 09:09:00 UTC

[jira] [Created] (FLINK-24186) Disable single rowtime column check for collect/print

Timo Walther created FLINK-24186:
------------------------------------

             Summary: 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


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.3.4#803005)