diff --git a/corpus/select_statement/value_expression.txt b/corpus/select_statement/value_expression.txt index 234114f..4d51346 100644 --- a/corpus/select_statement/value_expression.txt +++ b/corpus/select_statement/value_expression.txt @@ -214,3 +214,33 @@ SELECT 'hello' || 'quote''s everywh''ere'; (string) (other_op) (string))))) + +================================================================================ +is null, isnull, is not null, notnull +================================================================================ +SELECT + foo is null, + foo is not null, + foo isnull, + foo notnull; +-------------------------------------------------------------------------------- + +(source_file + (select_statement + (select_item + (op_expression + (identifier) + (comparison_null))) + (select_item + (op_expression + (identifier) + (comparison_null))) + (select_item + (op_expression + (identifier) + (comparison_null))) + (select_item + (op_expression + (identifier) + (comparison_null))))) +