bit confused with the error `Equality field column...
# troubleshooting
k
bit confused with the error
Equality field columns shouldn't be empty when configuring to use UPSERT data stream.
my config has
Copy code
final ResolvedSchema leaderboardSchema =
                ResolvedSchema.of(
                        Column.physical("player", DataTypes.STRING().notNull()),
                        Column.physical("balloon_color", DataTypes.STRING().notNull()),
                        Column.physical("score", DataTypes.INT().notNull()),
                        Column.physical("favorite_color_bonus", DataTypes.BOOLEAN()),
                        Column.physical("event_ts", DataTypes.TIMESTAMP_LTZ(3))
                );
and
Copy code
Schema schema =
                                Schema.newBuilder()
                                      .fromResolvedSchema(leaderboardSchema)
                                      .build();
                        CatalogTable leaderboardTable =
                                CatalogTable.newBuilder()
                                            .schema(schema)
                                            .options(EnvUtil.icebergTableProps())
                                            .partitionKeys(partitionKeys)
                                            .build();
                        ResolvedCatalogTable resolvedCatalogTable =
                                new ResolvedCatalogTable(leaderboardTable, leaderboardSchema);
                        balloonGameCatalog.createTable(tablePath, resolvedCatalogTable, true);
my understanding is that it should do the job, am I missing something ?
I drain from Kafka Source to Iceberg Table