Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] help The prompts are less readable #5031

Open
2 tasks done
yangjf2019 opened this issue Feb 7, 2025 · 0 comments · May be fixed by #5032
Open
2 tasks done

[Feature] help The prompts are less readable #5031

yangjf2019 opened this issue Feb 7, 2025 · 0 comments · May be fixed by #5032
Labels
enhancement New feature or request

Comments

@yangjf2019
Copy link
Contributor

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
Image

2. Remove duplicate prompts from postgres_sync_table

https://github.com/apache/paimon/blob/master/paimon-flink/paimon-flink-cdc/src/main/java/org/apache/paimon/flink/action/cdc/postgres/PostgresSyncTableActionFactory.java#L56-L57

Image

Solution

We can add prompt for cdc action to improving the output information.The desired look is as follows:

mysql_sync_table

Image

mysql_sync_database

Image

postgres_sync_table

Image

kafka_sync_table

Image

kafka_sync_database

Image

mongodb_sync_table

Image

mongodb_sync_database

Image

pulsar_sync_table

Image

pulsar_sync_database

Image

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@yangjf2019 yangjf2019 added the enhancement New feature or request label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant