[
https://issues.apache.org/jira/browse/FLINK-9329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16470152#comment-16470152
]
yuqi commented on FLINK-9329:
-----------------------------
More description are wanted [~yuemeng]
> hasRowtimeAttribute will throw NPE if user use setProctimeAttribute for table
> source
> ------------------------------------------------------------------------------------
>
> Key: FLINK-9329
> URL: https://issues.apache.org/jira/browse/FLINK-9329
> Project: Flink
> Issue Type: Bug
> Components: Table API & SQL
> Reporter: yuemeng
> Assignee: yuemeng
> Priority: Critical
>
> {{{code}}}
> {{KafkaTableSource source = Kafka010JsonTableSource.builder() // ...
> .withSchema(TableSchema.builder() .field("sensorId", Types.LONG())
> .field("temp", Types.DOUBLE()) // field "ptime" is of type SQL_TIMESTAMP
> .field("ptime", Types.SQL_TIMESTAMP()).build()) // declare "ptime" as
> processing time attribute .withProctimeAttribute("ptime") .build();}}
> tableEnv.registerTableSource("flights", kafkaTableSource);
> {{{code}}}
> {{ }}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)