Skip to content

Commit

Permalink
fix booleans
Browse files Browse the repository at this point in the history
  • Loading branch information
samansmink committed Dec 19, 2024
1 parent 252bad8 commit 1ed221c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/delta_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ ExpressionVisitor::VisitKernelExpression(const ffi::Handle<ffi::SharedExpression
visitor.make_field_list = (uintptr_t(*)(void *, uintptr_t)) & MakeFieldList;

// Templated primitive functions
visitor.visit_literal_bool = VisitPrimitiveLiteral<bool, Value::BOOLEAN>();
visitor.visit_literal_bool = VisitPrimitiveLiteralBool;
visitor.visit_literal_byte = VisitPrimitiveLiteralByte;
visitor.visit_literal_short = VisitPrimitiveLiteralShort;
visitor.visit_literal_int = VisitPrimitiveLiteralInt;
Expand Down
2 changes: 2 additions & 0 deletions test/sql/main/test_expression.test
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1ed221c

Please sign in to comment.