From 1ed221c311d48b4af52a77d7519b3dbab6229bff Mon Sep 17 00:00:00 2001 From: Sam Ansmink Date: Thu, 19 Dec 2024 18:41:24 +0100 Subject: [PATCH] fix booleans --- src/delta_utils.cpp | 2 +- test/sql/main/test_expression.test | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/delta_utils.cpp b/src/delta_utils.cpp index 920237d..d47d99f 100644 --- a/src/delta_utils.cpp +++ b/src/delta_utils.cpp @@ -39,7 +39,7 @@ ExpressionVisitor::VisitKernelExpression(const ffi::Handle(); + visitor.visit_literal_bool = VisitPrimitiveLiteralBool; visitor.visit_literal_byte = VisitPrimitiveLiteralByte; visitor.visit_literal_short = VisitPrimitiveLiteralShort; visitor.visit_literal_int = VisitPrimitiveLiteralInt; diff --git a/test/sql/main/test_expression.test b/test/sql/main/test_expression.test index 4de05a7..8eca5d4 100644 --- a/test/sql/main/test_expression.test +++ b/test/sql/main/test_expression.test @@ -23,6 +23,8 @@ SELECT unnest(get_delta_test_expression()) 9223372036854775807 -9223372036854775808 'hello expressions' +true +false '1970-01-01 00:00:00.00005+00'::TIMESTAMP WITH TIME ZONE '1970-01-01 00:00:00.0001'::TIMESTAMP '1970-02-02'::DATE