View a markdown version of this page

Built-in extensions - Amazon Athena
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Built-in extensions

Amazon Athena, powered by DuckDB includes a fixed set of built-in DuckDB extensions that are already installed and loaded. These extensions provide the file formats, catalog integration, and functions that your queries use. You cannot install or load other extensions. For the statements that Amazon Athena, powered by DuckDB does not support, see How queries run.

The following extensions are built in:

core_functions

Provides the standard library of scalar and aggregate SQL functions, such as string, numeric, date, and list functions. For more information, see Functions and operators in DuckDB.

icu

Provides time zone conversions, collations, and the TIMESTAMP WITH TIME ZONE data type. The session time zone is fixed to UTC. For more information, see Date and time functions and operators in DuckDB and Data types in DuckDB.

json

Provides the JSON data type and functions, reads JSON files with read_json, and writes results with COPY ... TO. For more information, see JSON functions and operators in DuckDB and Table formats, file formats, and SerDes in DuckDB.

parquet

Reads Apache Parquet files with read_parquet, provides Parquet metadata functions, and writes results with COPY ... TO. For more information, see Table formats, file formats, and SerDes in DuckDB and Table functions in DuckDB.

httpfs

Provides access to data in Amazon S3 by s3:// path. It adds no functions of its own. For more information, see Table formats, file formats, and SerDes in DuckDB.

avro

Reads Apache Avro files with read_avro, provides avro_metadata, and writes results with COPY ... TO. For more information, see Table formats, file formats, and SerDes in DuckDB and Table functions in DuckDB.

nanoarrow

Reads Arrow IPC files with read_arrow and writes results with COPY ... TO. For more information, see Table formats, file formats, and SerDes in DuckDB.

iceberg

Provides access to Apache Iceberg tables with iceberg_scan and Iceberg metadata functions. For more information, see Iceberg functions in DuckDB and Table formats, file formats, and SerDes in DuckDB.

glue

Provides access to tables in the Amazon Glue Data Catalog with hive_scan and the glue_* partition and table functions. For more information, see Amazon Glue Data Catalog functions in DuckDB and Work with the Amazon Glue Data Catalog.