ReferenceSQL Reference

Formats

Input and output formats supported by the RawTree SQL engine.

Formats

This page describes the RawTree engine binary used to generate this reference. It does not define Query API support. Descriptions retain upstream ClickHouse terminology. See SQL interface scope.

The Query API returns JSON by default. It also accepts JSONEachRow, JSONEachRowWithProgress, JSONCompact, CSV, CSVWithNames, TSV, TSVWithNames, and TabSeparated as output formats.

These names match the backend allowlist and ignore case.

The table below lists engine-level input and output support. Endpoint input rules can differ.

Generic table inserts accept JSON objects or arrays. OTLP accepts JSON or protobuf. Splunk HEC accepts JSON events or raw text.

Firehose transform records can contain JSON objects, JSON arrays, or TSV text.

FormatInputOutput
ArrowYesYes
ArrowStreamYesYes
AvroYesYes
AvroConfluentYesYes
BSONEachRowYesYes
BuffersYesYes
CapnProtoYesYes
CSVYesYes
CSVWithNamesYesYes
CSVWithNamesAndTypesYesYes
CustomSeparatedYesYes
CustomSeparatedIgnoreSpacesYesNo
CustomSeparatedIgnoreSpacesWithNamesYesNo
CustomSeparatedIgnoreSpacesWithNamesAndTypesYesNo
CustomSeparatedWithNamesYesYes
CustomSeparatedWithNamesAndTypesYesYes
DWARFYesNo
FormYesNo
GeoJSONYesYes
HashNoYes
HiveTextYesYes
JSONYesYes
JSONAsObjectYesNo
JSONAsStringYesNo
JSONColumnsYesYes
JSONColumnsWithMetadataYesYes
JSONCompactYesYes
JSONCompactColumnsYesYes
JSONCompactEachRowYesYes
JSONCompactEachRowWithNamesYesYes
JSONCompactEachRowWithNamesAndTypesYesYes
JSONCompactEachRowWithProgressNoYes
JSONCompactStringsNoYes
JSONCompactStringsEachRowYesYes
JSONCompactStringsEachRowWithNamesYesYes
JSONCompactStringsEachRowWithNamesAndTypesYesYes
JSONCompactStringsEachRowWithProgressNoYes
JSONEachRowYesYes
JSONEachRowWithProgressNoYes
JSONLYesYes
JSONLinesYesYes
JSONObjectEachRowYesYes
JSONStringsNoYes
JSONStringsEachRowYesYes
JSONStringsEachRowWithProgressNoYes
LineAsStringYesYes
LineAsStringWithNamesNoYes
LineAsStringWithNamesAndTypesNoYes
MarkdownNoYes
MDNoYes
MsgPackYesYes
MySQLDumpYesNo
MySQLWireNoYes
NativeYesYes
NDJSONYesYes
NpyYesYes
NullNoYes
ODBCDriver2NoYes
OneYesNo
ORCYesYes
ParquetYesYes
ParquetMetadataYesNo
PNGNoYes
PostgreSQLWireNoYes
PrettyNoYes
PrettyCompactNoYes
PrettyCompactMonoBlockNoYes
PrettyCompactNoEscapesNoYes
PrettyCompactNoEscapesMonoBlockNoYes
PrettyJSONEachRowNoYes
PrettyJSONLinesNoYes
PrettyMonoBlockNoYes
PrettyNDJSONNoYes
PrettyNoEscapesNoYes
PrettyNoEscapesMonoBlockNoYes
PrettySpaceNoYes
PrettySpaceMonoBlockNoYes
PrettySpaceNoEscapesNoYes
PrettySpaceNoEscapesMonoBlockNoYes
PrometheusNoYes
ProtobufYesYes
ProtobufListYesYes
ProtobufSingleYesYes
PuffinYesNo
PuffinMetadataYesNo
RawYesYes
RawBLOBYesYes
RawWithNamesYesYes
RawWithNamesAndTypesYesYes
RegexpYesNo
RowBinaryYesYes
RowBinaryWithDefaultsYesNo
RowBinaryWithNamesYesYes
RowBinaryWithNamesAndTypesYesYes
RowBinaryWithNamesAndTypesAndDefaultsYesNo
SQLInsertNoYes
TabSeparatedYesYes
TabSeparatedRawYesYes
TabSeparatedRawWithNamesYesYes
TabSeparatedRawWithNamesAndTypesYesYes
TabSeparatedWithNamesYesYes
TabSeparatedWithNamesAndTypesYesYes
TemplateYesYes
TemplateIgnoreSpacesYesNo
TSKVYesYes
TSVYesYes
TSVRawYesYes
TSVRawWithNamesYesYes
TSVRawWithNamesAndTypesYesYes
TSVWithNamesYesYes
TSVWithNamesAndTypesYesYes
ValuesYesYes
VerticalNoYes
XMLNoYes

On this page