Quickstart
Last updated
Was this helpful?
Last updated
Was this helpful?
The is a data source connector for , which allows you to run SQL queries on TileDB arrays. The connector supports column subselection on attributes and predicate pushdown on dimension fields, leading to superb performance for projection and range queries.
The TileDB-Presto connector supports most SQL operations from PrestoDB. Arrays can be referenced dynamically and are not required to be "pre-registered" with Presto. No external service (such as ) is required.
A docker image is provided to allow for quick testing of the TileDB-Presto connector. The docker image starts a single-node Presto cluster and opens the CLI Presto interface where SQL can be run. The image includes two example tiledb arrays:
/opt/tiledb_example_arrays/dense_global
(dense array)
/opt/tiledb_example_arrays/sparse_global
(sparse array)
Simply run:
You can run a quick example to see if it works:
It is possible to specify a file that contains SQL to be run from the docker image:
You can also run a SQL statement directly: