Skip to content

[FEATURE] IS NOT NULL condition support #5262

@Swiddis

Description

@Swiddis

Is your feature request related to a problem?

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.

Do you have any additional context?

N/A

Metadata

Metadata

Assignees

Labels

PPLPiped processing languageenhancementNew feature or requestgood first issueGood for newcomers

Type

No type

Projects

Status

Not Started

Status

Active

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions