You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "codering (via GitHub)" <gi...@apache.org> on 2023/07/19 05:09:13 UTC

[GitHub] [seatunnel] codering opened a new issue, #5116: [Bug] [LocalFile] the localFile sink always write 'txt' when file_format is not 'txt'

codering opened a new issue, #5116:
URL: https://github.com/apache/seatunnel/issues/5116

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
   
   
   ### What happened
   
   I want to write data to local  parquet file. but always '.txt' , not '.prquet'  when I set file_format to 'parquet'
   .
   
   <img width="740" alt="image" src="https://github.com/apache/seatunnel/assets/2271825/a25fcdc2-38d8-4bda-9f95-10010d27809e">
   
   
   
   
   ### SeaTunnel Version
   
   2.3.2
   
   ### SeaTunnel Config
   
   ```conf
   sink {
     LocalFile {
       path = "/tmp/seatunnel"
       file_format = "parquet"
       field_delimiter = ","
       sink_columns = ["name","age"]
     }
   }
   
   ```
   ```
   
   
   ### Running Command
   
   ```shell
   `./bin/seatunnel.sh --config ./config/v2.batch.config.template -e local`
   ```
   
   
   ### Error Exception
   
   ```log
   filename suffix is wrong .
   ```
   
   
   ### Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   java 1.8
   
   ### Screenshots
   
   <img width="712" alt="image" src="https://github.com/apache/seatunnel/assets/2271825/72321fa5-3be4-4918-83cf-f8133b5ed5b9">
   
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: commits-unsubscribe@seatunnel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [seatunnel] github-actions[bot] commented on issue #5116: [Bug] [LocalFile] the localFile sink always write 'txt' when file_format is not 'txt'

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #5116:
URL: https://github.com/apache/seatunnel/issues/5116#issuecomment-1684571936

   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.


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [seatunnel] lightzhao commented on issue #5116: [Bug] [LocalFile] the localFile sink always write 'txt' when file_format is not 'txt'

Posted by "lightzhao (via GitHub)" <gi...@apache.org>.
lightzhao commented on issue #5116:
URL: https://github.com/apache/seatunnel/issues/5116#issuecomment-1641892236

   Use the key of file_format_type, the document is wrong.


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [seatunnel] codering closed issue #5116: [Bug] [LocalFile] the localFile sink always write 'txt' when file_format is not 'txt'

Posted by "codering (via GitHub)" <gi...@apache.org>.
codering closed issue #5116: [Bug] [LocalFile] the localFile sink always write 'txt' when file_format is not 'txt'
URL: https://github.com/apache/seatunnel/issues/5116


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org