wangjunjie-lnnf opened a new issue, #9287: URL: https://github.com/apache/gravitino/issues/9287
### Version main branch ### Describe what's wrong https://github.com/apache/gravitino/blob/main/flink-connector/flink/src/main/java/org/apache/gravitino/flink/connector/paimon/GravitinoPaimonCatalog.java public class GravitinoPaimonCatalog extends BaseCatalog { @Override protected AbstractCatalog realCatalog() { return paimonCatalog; } @Override public Optional<Factory> getFactory() { // **why not this line pass paimonCatalog as arg to FlinkTableFactory** // paimon table param `metastore.partitioned-table=true` need catalog return Optional.of(new FlinkTableFactory()); } } ### Error message and/or stacktrace no error messageļ¼but when set table param `metastore.partitioned-table=true`, the partitions not sync to hms. only when using flink, spark is ok. ### How to reproduce create CATALOG if not exists lj_paimon WITH ( 'type' = 'gravitino-paimon', 'catalog-backend' = 'hive', 'warehouse' = '%s', 'uri' = 'thrift://localhost:9083' ); create database if not exists lj_paimon.my_db; create table if not exists lj_paimon.my_db.my_tb ( id BIGINT, name STRING, city STRING, age INT, PRIMARY KEY (id, city) NOT ENFORCED ) PARTITIONED BY (city) with ( 'metastore.partitioned-table' = 'true' ) ; insert into lj_paimon.my_db.my_tb values(1, 'a', 'bj', 5), (2, 'b', 'tj', 18); ### Additional context _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
