Usage
derived_table: {
table_format: PARQUET
…
}
}
Hierarchytable_format |
Default ValuePARQUET AcceptsPARQUET , ORC , AVRO , JSON , or TEXTFILE Special Rulestable_format is supported only on specific dialects
|
Definition
The table_format
parameter specifies the format that a persistent derived table (PDT) will have in an Athena database, which can be one of the following:
- Parquet
- Optimized Row Columnar (ORC)
- Avro
- JavaScript Object Notation (JSON)
- Text file
See the Amazon Athena documentation for details.
See the Dialect support for
table_format
section below for the list of dialects that supporttable_format
.
The
table_format
parameter works only with tables that are persistent, such as PDTs and aggregate tables.table_format
is not supported for derived tables without a persistence strategy.
Examples
Create a customer_order_facts
PDT on an Amazon Athena database using ORC format:
Dialect support for table_format
The ability to use table_format
depends on the database dialect your Looker connection is using. In Looker 22.6, the following dialects support table_format
: