DDC-2444: NULL IN CASE WHEN #3068

Open
opened 2026-01-22 14:11:16 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (May 12, 2013).

Originally assigned to: @guilhermeblanco on GitHub.

Jira issue originally created by user vahid4134:

Hi
In DQL when i use NULL IN "CASE WHEN" like this
"AVG(CASE WHEN g.speed > 0 THEN g.speed ELSE NULL END)"
Throw this expestion
Unexpected 'NULL'

Originally created by @doctrinebot on GitHub (May 12, 2013). Originally assigned to: @guilhermeblanco on GitHub. Jira issue originally created by user vahid4134: Hi In DQL when i use NULL IN "CASE WHEN" like this "AVG(CASE WHEN g.speed > 0 THEN g.speed ELSE NULL END)" Throw this expestion Unexpected 'NULL'
admin added the Bug label 2026-01-22 14:11:16 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#3068