You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Going through a list of old error case reports for #5261, I found this one:
When running a PPL query coming from SQL, you may be tempted to try where field is not null. This is an error. Instead you should run where isnotnull(field). The error reporting task is to suggest the latter when the former is written.
What solution would you like?
Except... If we have full logic to accurately detect what was written & meant, and suggest an alternative, why not just... Implement it? This issue is about adding support for field IS [NOT] NULL as a synonym for is[not]null(field).
What alternatives have you considered?
Just continue with adding error case detection for it.
I think this is a nice feature to have for error handling. I can try to work on this issue. I'm thinking we can have fieldISNULL/fieldISNOTNULL is identical to isnull(field)/isnotnull(field).
Activity
ThyTran1402 commentedon Mar 27, 2026
Hi @Swiddis
I think this is a nice feature to have for error handling. I can try to work on this issue. I'm thinking we can have
fieldISNULL/fieldISNOTNULLis identical toisnull(field)/isnotnull(field).Please let me know if that works.
Thank you!