Skip to content

Question: How to export table data to csv with quotes? #725

Closed
@hokreb

Description

I tried to export table data to csv, so that every data is quotes (I need this due to special characters) by the follow code snipped

CsvWriteOptions.Builder builder = CsvWriteOptions.builder(filename)
      .separator(';')
      .header(true)
      .quoteChar('"');
CsvWriteOptions options = builder.build();
data.write().usingOptions(options);

But the exported data is not quoted, what do I miss?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions