Exception in thread "main" org.apache.flink.table.api.ValidationException: join relations with ambiguous names: id, name, value at org.apache.flink.table.plan.logical.LogicalNode.failValidation(LogicalNode.scala:156) at org.apache.flink.table.plan.logical.Join.validate(operators.scala:463) at org.apache.flink.table.api.Table.join(table.scala:589) at org.apache.flink.table.api.Table.join(table.scala:397) at com.opensourceteams.module.bigdata.flink.example.tableapi.operation.innerJoin.Run$.main(Run.scala:26) at com.opensourceteams.module.bigdata.flink.example.tableapi.operation.innerJoin.Run.main(Run.scala) ———————————————————————————————————————————————————— package com.opensourceteams.module.bigdata.flink.example.tableapi.operation.innerJoin Best, thinktothings |
Hi,
As the message said, some columns share the same names. You could first rename the columns of one table with the `as` operation [1]. Best, Xingcan [1] https://ci.apache.org/projects/flink/flink-docs-master/dev/table/tableApi.html#scan-projection-and-filter
|
Free forum by Nabble | Edit this page |