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
Similar/same to #877, the default get_tables_by_pattern_sql macro doesn't work with Fabric.
get_tables_by_pattern_sql
Instead, it should be:
{% macro fabric__get_tables_by_pattern_sql(schema_pattern, table_pattern, exclude='', database=target.database) %} select distinct TABLE_SCHEMA as {{ adapter.quote('table_schema') }}, TABLE_NAME as {{ adapter.quote('table_name') }}, {{ dbt_utils.get_table_types_sql() }} from {{ database }}.[INFORMATION_SCHEMA].[TABLES] where TABLE_CATALOG like '{{ database }}' and TABLE_TYPE = 'BASE TABLE' and table_name not like '{{ exclude }}' {% endmacro %}
The contents of your packages.yml file:
packages.yml
Which database are you using dbt with?
The output of dbt --version:
dbt --version
<output goes here>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Similar/same to #877, the default
get_tables_by_pattern_sql
macro doesn't work with Fabric.Instead, it should be:
Steps to reproduce
Expected results
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
:Additional context
Are you interested in contributing the fix?
The text was updated successfully, but these errors were encountered: