-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
int() argument must be a string, a bytes-like object or a real number, not 'NoneType' #126
Comments
I was able to run both
and
against BigQuery without issues. We don't really support databricks, so I can't tell you if it has to do with that adapter.
and various flavors of
in our test date models. |
Best thing would probably be to get the exact compiled run-time SQL line that's failing. |
Thanks for your response! I tried the tests, both of them didn't work, I got the same error. This is the complete error by the way:
So I get the error before he compiles. |
You'll need to find the actual SQL statement that fails, not the dbt macros.
|
I tried a multiple things, see below. But I keep getting this error:
int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
packages:
version: 1.1.1
version: 0.10.1
I also tried previous versions.
The model I runned:
{{ dbt_date.get_base_dates(start_date="1960-01-01", end_date="2049-12-31")}}
I also tried changing the model to this:
{{ dbt_date.get_base_dates(n_dateparts=7) }}
And this:
{{ dbt_date.get_date_dimension("1990-01-01", "2050-12-31") }}
I use databricks version 1.7.0 and dbt version 1.7.7
Please let me know your thoughts and any possible solutions :)
The text was updated successfully, but these errors were encountered: