﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
30986	Using conditional RawSQL's in QuerySet.filter() crashes on Oracle.	Mariusz Felisiak	Mariusz Felisiak	"Using conditional `RawSQL`'s in `QuerySet.filter()` crashes on Oracle, e.g.
{{{
Company.objects.filter(
    RawSQL('num_employees > %s', (3,), output_field=models.BooleanField()),
)
}}}
raises `django.db.utils.DatabaseError: ORA-00933: SQL command not properly ended`.

This as a release blocker because using conditional expressions in `QuerySet.filter()` is a new feature added in #25367.

Reported in [https://github.com/django/django/pull/12067 PR12067]."	Bug	closed	Database layer (models, ORM)	3.0	Release blocker	fixed	oracle rawsql	Simon Charette Carlton Gibson	Accepted	1	0	0	0	0	0
