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

[Bug] [LocalFile] the localFile sink always write 'txt' when file_format is not 'txt' #5116

Closed
2 of 3 tasks
codering opened this issue Jul 19, 2023 · 2 comments
Closed
2 of 3 tasks

Comments

@codering
Copy link

codering commented Jul 19, 2023

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

I want to write data to local parquet file. but file suffix is always '.txt' , not '.parquet' when I set file_format to 'parquet'
.

image

SeaTunnel Version

2.3.2

SeaTunnel Config

sink {
  LocalFile {
    path = "/tmp/seatunnel"
    file_format = "parquet"
    field_delimiter = ","
    sink_columns = ["name","age"]
  }
}

Running Command

./bin/seatunnel.sh --config ./config/v2.batch.config.template -e local

Error Exception

filename suffix is wrong .

Flink or Spark Version

No response

Java or Scala Version

java 1.8

Screenshots

image

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@lightzhao
Copy link
Contributor

Use the key of file_format_type, the document is wrong.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.

@github-actions github-actions bot added the stale label Aug 19, 2023
@codering codering closed this as not planned Won't fix, can't repro, duplicate, stale Aug 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants