| 496 | } |
| 497 | |
| 498 | Node::Ptr ZVecSQLParser::handle_bool_value_node( |
| 499 | antlr4::SQLParser::Bool_valueContext *node) { |
| 500 | // normalize bool value |
| 501 | auto value = node->TRUE_V() ? "true" : "false"; |
| 502 | auto const_expr = std::make_shared<ConstantNode>(value); |
| 503 | const_expr->set_op(NodeOp::T_BOOL_VALUE); |
| 504 | return const_expr; |
| 505 | } |
| 506 | |
| 507 | Node::Ptr ZVecSQLParser::handle_in_value_expr_list_node(VoidPtr node, |
| 508 | bool exclude) { |