-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Regression: dbt does not allow integer dataset names on BigQuery #2384
Comments
Yes, almost certainly. I can think of two ways to approach this:
|
Ok, I've thought about this, and I think there is a third ok-ish option: Add a custom filter to jinja that says "treat this field as text no matter what". Then you'd use it like |
…-datasets Add a special as_text filter to the native env (#2384)
Describe the bug
BigQuery allows stringy dataset names that contain only digits, but dbt fails at startup if such a dataset name is provided. Is this a function of dbt's new NativeEnvironment rendering for jinja?
Steps To Reproduce
Use a profile like:
A
dbt run
will fail indicating that the provided profile is invalid:Expected behavior
dbt should create models in a dataset named
1991
dbt version
The text was updated successfully, but these errors were encountered: