We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The generate_source macro misinterprets the ARRAY type in Bigquery. And set column type to STRING
create table test_schema.test_table (x array<string>)
dbt run-operation generate_source --args '{"schema_name": "test_schema", "generate_columns": true}'
I expect to have correct type in source definition
- name: test_table columns: - name: x data_type: array<string>
- name: test_table columns: - name: x data_type: string
The contents of your packages.yml file:
packages.yml
packages: - package: dbt-labs/codegen version: 0.13.1 - package: dbt-labs/dbt_utils version: 1.3.0 - package: elementary-data/elementary version: 0.16.3 - package: calogica/dbt_expectations version: 0.10.4 - package: calogica/dbt_date version: 0.10.1
Which database are you using dbt with?
The output of dbt --version:
dbt --version
Core: - installed: 1.8.3 - latest: 1.9.2 Plugins: - bigquery: 1.8.2
The operating system you're using: Apple M1
The output of python --version: Python 3.11.8
python --version
It is possible
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
The generate_source macro misinterprets the ARRAY type in Bigquery. And set column type to STRING
Steps to reproduce
create table test_schema.test_table (x array<string>)
dbt run-operation generate_source --args '{"schema_name": "test_schema", "generate_columns": true}'
Expected results
I expect to have correct type in source definition
Actual results
Screenshots and log output
System information
The contents of your
packages.yml
file:Which database are you using dbt with?
The output of
dbt --version
:The operating system you're using:
Apple M1
The output of
python --version
:Python 3.11.8
Additional context
Are you interested in contributing the fix?
It is possible
The text was updated successfully, but these errors were encountered: