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

Document glue options #348

Open
dchimeno opened this issue Feb 26, 2024 · 0 comments
Open

Document glue options #348

dchimeno opened this issue Feb 26, 2024 · 0 comments

Comments

@dchimeno
Copy link

dchimeno commented Feb 26, 2024

Release 1.7.2 brings some new features to glue plugin I would like to use, but they are not specified in readme:

#324

#327

In particular, I'm getting some errors because it needs a "Value" setting.

  File "/opt/venv/lib/python3.11/site-packages/dbt/adapters/duckdb/plugins/glue.py", line 145, in _create_table
    partition_input, partition_values = _parse_partition_columns(partition_columns, table_def)
                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/venv/lib/python3.11/site-packages/dbt/adapters/duckdb/plugins/glue.py", line 230, in _parse_partition_columns
    partition_values = [column["Value"] for column in partition_columns]
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/venv/lib/python3.11/site-packages/dbt/adapters/duckdb/plugins/glue.py", line 230, in <listcomp>
    partition_values = [column["Value"] for column in partition_columns]
                        ~~~~~~^^^^^^^^^
KeyError: 'Value'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant