You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "rohanjain101 (via GitHub)" <gi...@apache.org> on 2024/02/06 14:51:08 UTC

[I] write_dataset with csv file format ignores delimiter [arrow]

rohanjain101 opened a new issue, #39961:
URL: https://github.com/apache/arrow/issues/39961

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   ```
   >>> ex = pa.Table.from_pydict({"A": ["A"], "B": ["B"], "C": ["C"]})
   >>> csv = pa.dataset.CsvFileFormat(pa.csv.ParseOptions(delimiter=">"))
   >>> pa.dataset.write_dataset(ex, path, format=csv, partitioning=pa.dataset.DirectoryPartitioning(pa.schema({"A": pa.string()})))
   >>>
   ```
   
   Output dataset contains:
   ```
   "B","C"
   "B","C"
   ```
   
   But I specified delimiter as ">", but csv file still written with "," delimiter.
   
   
   ### Component(s)
   
   C++, Python


-- 
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: issues-unsubscribe@arrow.apache.org.apache.org

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