Skip to content

Extend the list of supported formats  #28

@mshustov

Description

@mshustov

Add JSON*, CSV*, TabSeparated* formats that can be supported by the client in the current implementation

'JSON',
'JSONEachRow',
'JSONStringsEachRow',
'JSONCompactEachRow',
'JSONCompactEachRowWithNames',
'JSONCompactEachRowWithNamesAndTypes',
'JSONCompactStringsEachRowWithNames',
'JSONCompactStringsEachRowWithNamesAndTypes',
'CSV',
'TabSeparated',
] as const;
export type DataFormat = typeof supportedFormats[number];
const streamableJSONFormats = [
'JSONEachRow',
'JSONStringsEachRow',
'JSONCompactEachRow',
'JSONCompactEachRowWithNames',
'JSONCompactEachRowWithNamesAndTypes',
'JSONCompactStringsEachRowWithNames',
'JSONCompactStringsEachRowWithNamesAndTypes',

https://clickhouse.com/docs/en/interfaces/formats/

  • JSON
  • CSV
  • TSV
  • Custom separated

Metadata

Metadata

Assignees

Labels

must-haverequired for the initial release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions