Jaehyeon Kim
07/20/2023, 9:12 PMpyflink.util.exceptions.TableException: org.apache.flink.table.api.TableException: Table 'default_catalog.default_database.sink_table' is a partitioned table, but the underlying DynamicTableSink doesn't implement the SupportsPartitioning interface.
at org.apache.flink.table.planner.connectors.DynamicSinkUtils.validatePartitioning(DynamicSinkUtils.java:481)
at org.apache.flink.table.planner.connectors.DynamicSinkUtils.prepareDynamicSink(DynamicSinkUtils.java:398)
at org.apache.flink.table.planner.connectors.DynamicSinkUtils.convertSinkToRel(DynamicSinkUtils.java:197)
at org.apache.flink.table.planner.connectors.DynamicSinkUtils.convertSinkToRel(DynamicSinkUtils.java:170)
at org.apache.flink.table.planner.delegation.PlannerBase.$anonfun$translateToRel$1(PlannerBase.scala:257)sap1ens
07/20/2023, 9:18 PMPARTITIONED BY (ticker)).
See this instead. Data can also be pre-partitioned in the DataStream API.Jaehyeon Kim
07/20/2023, 9:33 PMsink.partitioner value to fixed, it seems to work as expected while the default option doesn't seem to guarantee it. Could you please double check if my understanding is correct?Martijn Visser
07/20/2023, 9:56 PMMartijn Visser
07/20/2023, 9:58 PMsink.partitioner for Kafka https://nightlies.apache.org/flink/flink-docs-master/docs/connectors/table/kafka/#sink-partitioningJaehyeon Kim
07/20/2023, 10:00 PMsink.partitioner value to fixed, records seems to be kept in the same partition although the number gets different, which is okay. Just wanted to double check.Jaehyeon Kim
07/23/2023, 10:06 PMMartijn Visser
07/24/2023, 6:41 AM