From 4e0cdec7f7c77cef907350d5f029c506cba6e8ea Mon Sep 17 00:00:00 2001 From: Christian De la Hoz Date: Tue, 31 Aug 2021 20:29:46 +0200 Subject: [PATCH] null --- corpus/select_statement/value_expression.txt | 30 ++++++++++++++++++++ 1 file changed, 30 insertions(+) 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))))) +