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

Dumpling: dumpling will panic if --output-file-template is specified wrong #42391

Closed
lichunzhu opened this issue Mar 20, 2023 · 0 comments · Fixed by #41588
Closed

Dumpling: dumpling will panic if --output-file-template is specified wrong #42391

lichunzhu opened this issue Mar 20, 2023 · 0 comments · Fixed by #41588
Labels
component/dumpling This is related to Dumpling of TiDB. severity/minor type/bug The issue is confirmed as a bug.

Comments

@lichunzhu
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

Run dumpling and specify a wrong output-file-template. For example,

run_dumpling --sql "select * from test.t" --filetype csv --output-filename-template "${TABLE_NAME}.${DB_NAME}.{{.index}}

2. What did you expect to see? (Required)

dumpling can report output-filename-template's error correctly.

3. What did you see instead (Required)

dumpling panics and quits.

4. What is your TiDB version? (Required)

v6.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/dumpling This is related to Dumpling of TiDB. severity/minor type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant