[jira] [Created] (FLINK-15323) SQL Client end-to-end test (Old planner) failed on travis

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-15323) SQL Client end-to-end test (Old planner) failed on travis

Shang Yuanchun (Jira)
Yu Li created FLINK-15323:
-----------------------------

             Summary: SQL Client end-to-end test (Old planner) failed on travis
                 Key: FLINK-15323
                 URL: https://issues.apache.org/jira/browse/FLINK-15323
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / Legacy Planner
    Affects Versions: 1.10.0
            Reporter: Yu Li
             Fix For: 1.10.0


As titled, the 'SQL Client end-to-end test (Old planner)' case failed with below error:
{code}
org.apache.flink.table.client.gateway.SqlExecutionException: Invalid SQL update statement.
        at org.apache.flink.table.client.gateway.local.LocalExecutor.applyUpdate(LocalExecutor.java:697)
        at org.apache.flink.table.client.gateway.local.LocalExecutor.executeUpdateInternal(LocalExecutor.java:576)
        at org.apache.flink.table.client.gateway.local.LocalExecutor.executeUpdate(LocalExecutor.java:527)
        at org.apache.flink.table.client.cli.CliClient.callInsertInto(CliClient.java:535)
        at org.apache.flink.table.client.cli.CliClient.lambda$submitUpdate$0(CliClient.java:231)
        at java.util.Optional.map(Optional.java:215)
        at org.apache.flink.table.client.cli.CliClient.submitUpdate(CliClient.java:228)
        at org.apache.flink.table.client.SqlClient.openCli(SqlClient.java:129)
        at org.apache.flink.table.client.SqlClient.start(SqlClient.java:104)
        at org.apache.flink.table.client.SqlClient.main(SqlClient.java:178)
Caused by: java.lang.RuntimeException: Error while applying rule PushProjectIntoTableSourceScanRule, args [rel#88:FlinkLogicalCalc.LOGICAL(input=RelSubset#87,expr#0..2={inputs},expr#3=IS NOT NULL($t1),user=$t1,rowtime=$t0,$condition=$t3), Scan(table:[default_catalog, default_database, JsonSourceTable], fields:(rowtime, user, event), source:KafkaTableSource(rowtime, user, event))]
        at org.apache.calcite.plan.volcano.VolcanoRuleCall.onMatch(VolcanoRuleCall.java:235)
        at org.apache.calcite.plan.volcano.VolcanoPlanner.findBestExp(VolcanoPlanner.java:631)
        at org.apache.calcite.tools.Programs$RuleSetProgram.run(Programs.java:327)
        at org.apache.flink.table.plan.Optimizer.runVolcanoPlanner(Optimizer.scala:280)
        at org.apache.flink.table.plan.Optimizer.optimizeLogicalPlan(Optimizer.scala:199)
        at org.apache.flink.table.plan.StreamOptimizer.optimize(StreamOptimizer.scala:66)
        at org.apache.flink.table.planner.StreamPlanner.writeToUpsertSink(StreamPlanner.scala:353)
        at org.apache.flink.table.planner.StreamPlanner.org$apache$flink$table$planner$StreamPlanner$$writeToSink(StreamPlanner.scala:281)
...
Caused by: org.apache.flink.table.api.ValidationException: Rowtime field 'rowtime' has invalid type LocalDateTime. Rowtime attributes must be of type Timestamp.
        at org.apache.flink.table.sources.TableSourceUtil$$anonfun$3.apply(TableSourceUtil.scala:114)
        at org.apache.flink.table.sources.TableSourceUtil$$anonfun$3.apply(TableSourceUtil.scala:92)
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
        at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
        at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
        at scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
        at scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:186)
        at org.apache.flink.table.sources.TableSourceUtil$.computeIndexMapping(TableSourceUtil.scala:92)
{code}

https://api.travis-ci.org/v3/job/626790280/log.txt



--
This message was sent by Atlassian Jira
(v8.3.4#803005)