-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Feature] help The prompts are less readable #5031
Copy link
Copy link
Labels
enhancementNew feature or requestNew feature or request
Description
Search before asking
- I searched in the issues and found nothing similar.
Motivation
1.Improve readability
When I execute flink run $FLINK_HOME/lib/paimon-flink-action-0.9.0.jar mysql_sync_table --help, Poorly readable prompts are output.We need to improve this problem.
Several other actions have the same problem:
mysql_sync_table
mysql_sync_database
postgres_sync_table
kafka_sync_table
kafka_sync_database
mongodb_sync_table
mongodb_sync_database
pulsar_sync_table
pulsar_sync_database
Action command:
clone
compact
compact_database
drop_partition
delete
merge_into
rollback_to
create_tag
create_tag_from_timestamp
delete_tag
reset_consumer
migrate_table
migrate_file
migrate_database
remove_orphan_files
query_service
expire_partitions
mark_partition_done
create_branch
delete_branch
fast_forward
repair
rewrite_file_index
expire_snapshots
2. Remove duplicate prompts from postgres_sync_table
Solution
We can add prompt for cdc action to improving the output information.The desired look is as follows:
mysql_sync_table
mysql_sync_database
merge_into
Anything else?
No response
Are you willing to submit a PR?
- I'm willing to submit a PR!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request