Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,155 of 9,155 pages
About the help in other languages
All help pages

ODBC platforms: Snowflake, BigQuery, Databricks, Teradata, OpenEdge, FileMaker, Exasol, Ingres

This page is for administrators who want to read data from an analytics warehouse or a business database into Exponential, or keep data tables there. From 6.0.15 the generic ODBC driver knows eight more platforms as…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/features/6.0/odbc-platforms.md

On this page

ODBC platforms: Snowflake, BigQuery, Databricks, Teradata, OpenEdge, FileMaker, Exasol, Ingres

This page is for administrators who want to read data from an analytics warehouse or a business database into Exponential, or keep data tables there. From 6.0.15 the generic ODBC driver knows eight more platforms as dialects. Each one is reached through the vendor's own ODBC driver.

What these platforms are for here: data table connections (test, list tables, describe, query, make and fill tables) and exp:odbc:import, which copies their tables into the site's database or into another connection. They are not site databases. Warehouses do not handle the many small transactions a site makes.

Status. The SQL each dialect writes is covered by DB-less tests (tests/tests/lib/ezdb/odbc/expODBCPlatformsTest.php). Measured against servers on 2026-11-28 in the GitHub workflow "ODBC platforms" (.github/workflows/odbc-platforms.yml, the live tests tests/tests/lib/ezdb/odbc/live/expODBCPlatformsLiveTest.php: connect, a data table connection, rows and paging, text, upsert, an import):

PlatformServerODBC driverResult
ExasolExasol 2026.1.2 (exasol/docker-db)Exasol ODBC 25.2.3data tables and import: 6 tests, 39 assertions, on PDO_ODBC and PHP's odbc extension
Databricks (the dialect)Apache Spark 3.5.3 Thrift serverSimba Spark ODBC 2.9.1 (Databricks' driver)data tables and import on PHP's odbc extension: 6 tests, 36 assertions; MERGE needs Delta tables, which a plain Spark server has not, so the upsert test is skipped there. Under PDO_ODBC the driver crashes PHP (segmentation fault): use the odbc extension
Snowflake, BigQuery, Databricks SQL Warehousenone: each needs an accountnot tested against a server
Teradata, OpenEdge, FileMaker, Ingresnone: licences or registered downloadsnot tested against a server

Two things were found on the way: Exasol's driver 25.2 refuses ENCODING=UTF-8 in the connection string as a syntax error (the dialect no longer adds it; the driver speaks UTF-8), and the Simba Spark driver needs the odbc extension.

Contents

  1. A connection
  2. Per platform
  3. What the dialects write
  4. Importing tables
  5. Limits

A connection

Install the vendor's ODBC driver on the web server (unixODBC on Linux). PHP needs pdo_odbc or the odbc extension. Then make a connection under Setup > Data tables > Connections, or declare one in datatable.ini:

[Connection_warehouse]
Engine=snowflake
Server=acme-xy12345.snowflakecomputing.com
Database=SALES
User=EXP_READER
Secret=env:SNOWFLAKE_PASSWORD
ConnectionString=Warehouse=COMPUTE_WH;Schema=PUBLIC;Role=REPORTING

The engines are snowflake, bigquery, databricks, teradata, openedge, filemaker, exasol and ingres. An engine is the odbc engine with its dialect already set, so Engine=odbc with Dialect=snowflake does the same. The options are the same as for the odbc engine:

  • ODBCDriver: the driver's name, if it is not the default listed below.
  • ODBCDataSourceName: a DSN from odbc.ini, used in place of the driver, server, port and database.
  • ConnectionString: more keywords. A keyword given here wins over the platform's default for it.
  • Layer: auto, pdo_odbc or odbc. Choose odbc when the catalogue cannot be read and the driver's SQLTables and SQLColumns must answer instead.

Per platform

PlatformDefault driver nameServer / Port / Database becomeDefaults addedWhat to add yourself
SnowflakeSnowflakeDSIIDriver (Snowflake's ODBC driver, rpm/deb/msi)Server (the account host) / Port / DatabasenoneWarehouse=, Schema=, Role=; key-pair sign-in: AUTHENTICATOR=SNOWFLAKE_JWT;PRIV_KEY_FILE=
Google BigQuerySimba ODBC Driver for Google BigQueryCatalog (the project) / none / DefaultDataset (the dataset)SQLDialect=1a service account: OAuthMechanism=0;Email=...;KeyFilePath=/path/key.json. Leave User and Secret empty
DatabricksSimba Spark ODBC Driver (Databricks ODBC driver)Host (the workspace) / Port (443) / SchemaSSL=1;ThriftTransport=2;AuthMech=3;SparkServerType=3HTTPPath=/sql/1.0/warehouses/<id>; with Unity Catalog Catalog=. User token, Secret: a personal access token
Teradata VantageTeradata Database ODBC Driver 20.00 (Teradata Tools and Utilities)DBCName / TDMSTPortNumber (1025) / DatabaseCharacterSet=UTF8;SessionMode=ANSIMechanismName=TD2 or LDAP if needed
Progress OpenEdgeProgress OpenEdge 12.8 Driver (DataDirect, with OpenEdge or the client networking)HostName / PortNumber (the SQL broker's port) / DatabaseNameDefaultSchema=PUBnothing; the SQL broker (-ServerType SQL or Both) must run
Claris FileMaker ServerFileMaker ODBC (Claris's xDBC client driver)Server / Port (2399) / Database (the file, without .fmp12)noneturn on ODBC/JDBC in the Admin Console; the account needs the extended privilege fmxdbc
ExasolEXAODBC (Linux) / EXASolution Driver (Windows)EXAHOST=host:port (8563) / none / EXASCHEMAnone (the driver speaks UTF-8; ENCODING=UTF-8 is refused by driver 25.2 as a syntax error)TLS: FINGERPRINT= or SSLCertificate=SSL_VERIFY_NONE for a test server
Actian IngresIngres (Actian client runtime; source $II_SYSTEM/ingres/.ingIIsh)Server (@host,tcp_ip,II or a vnode) / none (the installation code sets it) / Databasenonethe installation code if not II

Database means a different thing on each platform: a database (Snowflake, Teradata, OpenEdge, Ingres), a dataset (BigQuery: the project goes in Server), a schema (Databricks, Exasol) or a FileMaker file.

What the dialects write

SnowflakeBigQueryDatabricksTeradataOpenEdgeFileMakerExasolIngres
quotes", folded upper``"""", folded upper"
pagingLIMIT n OFFSET mLIMIT n OFFSET mLIMIT n OFFSET mTOP offset+n, the first rows dropped in PHPOFFSET m ROWS FETCH NEXT n ROWS ONLYsameLIMIT n OFFSET mOFFSET m FETCH FIRST n ROWS ONLY
text escapingbackslashbackslashbackslashdoubled quotedoubled quotedoubled quotedoubled quotedoubled quote
tablesinformation_schema<dataset>.INFORMATION_SCHEMAinformation_schema, else SHOW TABLESDBC.TablesVSYSPROGRESS.SYSTABLES (PUB)FileMaker_BaseTables, else FileMaker_TablesEXA_ALL_TABLESiitables
counted keyAUTOINCREMENTnoneGENERATED BY DEFAULT AS IDENTITYidentity columnnonenoneIDENTITYidentity column, LAST_IDENTITY()
primary keyyes (not enforced)NOT ENFORCEDnoneyesyesyesyesyes
secondary indexesnonenonenoneyesyesCREATE INDEX ON t.cnoneyes
transactionsyesnone (each statement alone)noneyes (ANSI mode)yesnoneyesyes
upsert (sqlUpsert())MERGEMERGEMERGEMERGEnot supportednot supportedMERGEMERGE
sqlGroupConcat()LISTAGGSTRING_AGGcollect_list (sorted by value if an order is asked for)not supportednot supportednot supportedGROUP_CONCATnot supported
unix timeDATE_PART(EPOCH_SECOND, ...)UNIX_SECONDS()unix_timestamp()not supportednot supportednot supportedPOSIX_TIME()not supported

"Not supported" means the helper throws expDBUnsupportedException, so the caller does the work in PHP. Snowflake and Exasol store unquoted names in upper case. The driver quotes lower-case names in their upper-case form and gives column names back in lower case, so code written for the other engines works on them unchanged.

Importing tables

./console exp:odbc:import --source=warehouse --list
./console exp:odbc:import --source=warehouse --tables=orders,customers --prefix=wh_
./console exp:odbc:import --source=warehouse --tables=orders --keys=orders:order_id --prefix=wh_ --apply
./console exp:odbc:import --source=warehouse --connection=archive --mode=replace --apply --format=json

The import reads the source's catalogue (or the driver's SQLColumns), makes the tables on the target with the target's types, and copies the rows in batches of 500. It runs the same way as exp:access:import: without --apply it only shows the plan, and the modes are create, append and replace. The warehouses enforce no keys, so the new tables have no primary key unless --keys names one. Date and time values arrive as text (Y-m-d H:i:s), and binary values arrive as base64 text.

Limits

  • No site database on these platforms, and no DFS cluster backend.
  • BigQuery, Databricks and FileMaker have no transactions over ODBC: begin() and commit() do nothing, and every statement counts on its own.
  • BigQuery charges per byte scanned, and its DML has quotas. Import from it rather than writing to it row by row.
  • Teradata has no OFFSET. Deep pages read TOP offset+limit rows and drop the first ones.
  • OpenEdge SQL only sees the tables that the SQL broker exposes, in the schema PUB.
  • FileMaker's SQL has no defaults in CREATE TABLE, and its table occurrences are not base tables.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x