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
A queryset like:
Experiment.objects.annotate(shifted=ExpressionWrapper( F('completed') - Value(None, output_field=DurationField()), output_field=DateField(), ))
generates
SELECT ("experiment"."completed" - INTERVAL 'NULL MICROSECONDS') AS "shifted" FROM "experiment"
which fails with syntax error line 1 at position 0 unexpected 'NULL'.
syntax error line 1 at position 0 unexpected 'NULL'.
On other databases, interval math with a null interval results in NULL. Perhaps this could be fixed in Snowflake.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A queryset like:
generates
which fails with
syntax error line 1 at position 0 unexpected 'NULL'.
On other databases, interval math with a null interval results in NULL. Perhaps this could be fixed in Snowflake.
The text was updated successfully, but these errors were encountered: