External File Format | CREATE FOREIGN TABLE | Teradata Vantage - External File Object Rules - Teradata Vantage - Analytics Database

SQL Data Definition Language Syntax and Examples

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2025-11-06
dita:mapPath
jco1628111346878.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
mdr1472255012272
lifecycle
latest
Product Category
Teradata Vantageā„¢
External files must be in one of the following formats:
  • JSON
  • CSV
  • Parquet

Field names in CSV and JSON are case sensitive.

Unsupported files and compression types are skipped.

Records that contain errors are skipped. Errors can include mismatched quotation marks (" "), embedded line feeds, and so forth.

External files with UTF-8 BOMs (Byte Order Markers) are supported, but UTF-16LE, UTF-16BE, UTF-32LE, UTF-32BE BOMs are not supported.

Queries return results only for file formats where the format matches the format of the first file specified by the LOCATION option, including:
  • File type (JSON, CSV, or Parquet)
  • File compression (GZIP for JSON or CSV, SNAPPY for Parquet, or uncompressed)
  • Character encoding (LATIN or UTF-8)
  • Field delimiter (comma, tab, and so on)
  • Record delimiter (line feed)