gitfortian opened a new issue, #1038: URL: https://github.com/apache/incubator-paimon/issues/1038
### Search before asking - [X] I searched in the [issues](https://github.com/apache/incubator-paimon/issues) and found nothing similar. ### Motivation <FLINK_HOME>/bin/flink run \ -c org.apache.paimon.flink.action.FlinkActions \ /path/to/paimon-flink-**-0.4-SNAPSHOT.jar \ mysql-sync-table \ --warehouse hdfs:///path/to/warehouse \ --database test_db \ --table test_table \ --partition-keys pt \ --primary-keys pt,uid \ --mysql-conf hostname=127.0.0.1 \ --mysql-conf username=root \ --mysql-conf password=123456 \ --mysql-conf database-name=source_db \ --mysql-conf table-name='source_table_.*' \ --catalog-conf metastore=hive \ --catalog-conf uri=thrift://hive-metastore:9083 \ --table-conf bucket=4 \ --table-conf changelog-producer=input \ --table-conf sink.parallelism=4 As shown above, only existing columns of mysql table can be selected as partitioning fields of paimon table. However, in production, time partitioning is generally adopted, and the time field is usually of datetime type, which needs to be processed into dt/hr partitioning field ### Solution _No response_ ### Anything else? _No response_ ### Are you willing to submit a PR? - [ ] I'm willing to submit a PR! -- 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]
