MATIH Platform is in active MVP development. Documentation reflects current implementation status.
9. Query Engine & SQL
Export
Overview

Query Export

The Query Engine supports exporting query results to multiple formats for downstream consumption, reporting, and data exchange. The QueryExportController provides both synchronous and asynchronous export capabilities.


Supported Formats

FormatContent-TypeExtensionBest For
CSVtext/csv.csvSpreadsheet import, ETL pipelines
JSONapplication/json.jsonAPI consumers, web applications
JSON Linesapplication/json.jsonlStreaming processing, log pipelines
Parquetapplication/octet-stream.parquetAnalytics tools, data lakes

Export Modes

ModeEndpointBest For
SynchronousPOST /v1/queries/{id}/exportSmall to medium result sets
AsynchronousPOST /v1/queries/{id}/export/asyncLarge result sets (>100K rows)

Subsections

PageDescription
CSV ExportCSV options, encoding, delimiters, quoting
Parquet ExportParquet format, compression, schema mapping
JSON ExportJSON and JSON Lines export
Async ExportLarge result set export with progress tracking