Skip to content
Files and object storage

Files and object storage

FACE reads spreadsheets, delimited and JSON files, Parquet, and objects in your own cloud buckets. Every read is streamed and bounded, and a clipped read is always marked as truncated.

Read bounds (all file formats)

BoundDefaultMeaning
Bytes read64 MiBA ceiling on what is read from the source, including a single pathological line
Rows kept10,000A ceiling on what is returned

When either bound is reached, the response message ends with — TRUNCATED: <reason>.

Supported formats: csv, tsv, json (a top-level array), jsonl / ndjson, txt, html, parquet, and xlsx / xlsm for Excel. For objects, FACE takes the format from the key’s extension.

Excel

Type spellingsexcel, xlsx, spreadsheet
Config messageExcelConnectionConfig: file_path, has_header
CredentialsNone (CREDENTIAL_STATE_NONE_NEEDED)
TestChecks that file_path exists on the reading node, is not a directory, and ends in .xlsx or .xlsm. It is a local file check, not a network dial.
ExecuteReads one sheet. The query names the sheet, and an empty query reads the first sheet. Rows are decoded one at a time and stop at the row cap.
Exploresupported=false. A workbook’s sheets and header row are its schema.

For CSV and other delimited text, use an object-store connection or a document source.

Object storage (S3, GCS, Azure Blob)

Type spellingsobjectstore, s3, awss3, gcs, googlecloudstorage, azureblob, azure, blobstorage
Config messageObjectStoreConnectionConfig
SettingMeaning
providers3, gcs or azure. Aliases such as minio, ceph, aws, gcp and azblob are normalised. It is required, and an unknown provider is refused.
bucketThe bucket, or the container for Azure. Required.
prefixAn optional key prefix that scopes the connection
regionS3 region
endpointAn S3-compatible endpoint (MinIO, Ceph, your own objectd). Empty means AWS S3 over TLS. For GCS or Azure, a custom service endpoint.
accountAzure storage account name (required for Azure)
use_tlsWhether an S3-compatible endpoint given without a scheme uses TLS. A scheme on endpoint overrides it.

Credential keys:

ProviderKeys
S3access_key and secret_key (also aws_access_key_id / aws_secret_access_key), optional session_token
GCSservice_account_json (also credentials_json, google_credentials). It may be omitted only with a custom endpoint.
Azureaccount_key, or sas_token, or connection_string
  • Test has a 10-second budget and runs one live call per provider: S3 BucketExists, GCS bucket attributes, or Azure container properties. Messages distinguish “does not exist, or these credentials cannot see it” from “cannot reach”.
  • Execute reads one object. The query is the object key, and prefix is prepended when the key does not already start with it. Parquet objects are read from their footer, and all other formats are streamed. Object reads are implemented for S3-compatible stores. GCS and Azure pass Test, but reading them returns reading objects is wired for S3-compatible stores only; "…" is not yet supported.
  • Explore returns supported=false. Listing a bucket gives keys, not a schema.

Parquet

A Parquet file is read from its footer, so FACE needs its size and random access. That makes an object in an S3-compatible store the supported source. FACE reads in batches of 256 rows under the same row cap. A file larger than the byte ceiling is refused with parquet file is … bytes, beyond the …-byte ceiling.

Document sources

A fetch hands the following connection types to FACE’s document extraction (OCR) path rather than to a tabular connector:

  • gdrive
  • gcp_bucket
  • sftp
  • local
  • pdf
  • word
  • network

They read connection properties: path (it falls back to the connection name), host, port, and bucket for buckets. Their output is extracted text.

  • SFTP requires a verified host key and refuses to connect without one.
  • Downloads stop if nothing arrives for 60 seconds.
  • Downloads are capped at 2 GiB by default. The operator setting FACE_MAX_DOWNLOAD_BYTES changes the cap.

These types have no registry connector, so Test and Explore do not apply to them.