source.initialize with
{ format: "csv", heapBucket: null } or format: "json". The format applies
to every File within the mount’s scope. Pass format: null for File-only
publication. Choose a separate mount to use a
different format.
CSV uses the first row as the header. Header names must be nonempty and
unique, and each record must have the same number of fields. Values stay
as strings. JSON must be an array of objects with unique keys. Safe integer
tokens become numbers. The parser retains other number tokens as exact text.
The app parses at most 48 KiB of UTF-8 per file and publishes up to 128 records,
limited to 16 KiB of JSON per record and 128 KiB total. A successful parse
commits the records, File, version row and next listing cursor together.
Each record has the retained version reference, its zero-based ordinal and
its payload as JSON text. Read this page-wise through records.list with the
version row’s ID.
A version row exposes recordStatus and recordCount. A malformed file or a
file exceeding the record-output limits keeps its raw File and receives no
record rows. An object larger than 48 KiB records input_limit and metadata.
A parser artifact failure leaves the listing cursor in place for retry.
The app bundle includes the bundled parser artifact. The release builds
the bounded WASM parser on the shared build core and lowers it to deterministic
JavaScript for the guest. Connector parser release inputs.
Plain Avro, Parquet and ORC
Selectformat: "avro", format: "parquet", or format: "orc" at initialization. A record
keeps the original object key and provider version plus its row ordinal.
Avro accepts object containers with null, deflate or Snappy blocks.
Parquet accepts uncompressed, Snappy and gzip pages without INT96.
ORC accepts flat ORC v0.11 and v0.12 files with primitive boolean, integer,
floating-point, date, string and binary columns, with no compression,
zlib or Snappy. It supports direct and dictionary strings and the direct,
short-repeat and delta forms of RLEv2. Patched-base RLE, nested fields and
encrypted files are outside this mode. The same
48 KiB input, 128 rows, 16 KiB per record and 128 KiB of record output
bounds apply. These modes read each object independently as a plain file.
Use Tables for snapshot and delete semantics.