Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ability to create Iceberg V1 and V2 tables #149

Merged
merged 3 commits into from
Mar 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions dbt/include/impala/macros/adapters.sql
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@

{%- set sql_header = config.get('sql_header', none) -%}
{%- set is_external = config.get('external') -%}
{%- set is_iceberg = config.get('is_iceberg') -%}

{{ sql_header if sql_header is not none }}

Expand All @@ -159,6 +160,7 @@
{{ ct_option_comment_relation(label="comment") }}
{{ ct_option_row_format(label="row format") }}
{{ ct_option_with_serdeproperties(label="with serdeproperties") }}
{% if is_iceberg == true -%} STORED BY ICEBERG {%- endif %}
{{ ct_option_stored_as(label="stored as") }}
{{ ct_option_location_clause(label="location") }}
{{ ct_option_cached_in(label="cached in") }}
Expand Down