milvus/internal/parser/planparserv2
zhagnlu c86307aef0
enhance: forbid two column comparison with json type in parser stage (#43382)
#43381

Signed-off-by: luzhang <luzhang@zilliz.com>
Co-authored-by: luzhang <luzhang@zilliz.com>
2025-07-24 19:42:54 +08:00
..
generated fix: Revert add a sign (positive or negative) to constants (#41191) 2025-04-10 14:54:28 +08:00
Plan.g4 fix: Revert add a sign (positive or negative) to constants (#41191) 2025-04-10 14:54:28 +08:00
README.md enhance: Update antlr version and refine parsing not in (#36745) 2024-10-11 14:03:21 +08:00
check_identical.go enhance: Use v2 package name for pkg module (#39990) 2025-02-22 23:15:58 +08:00
check_identical_test.go enhance: Use v2 package name for pkg module (#39990) 2025-02-22 23:15:58 +08:00
convert_field_data_to_generic_value.go fix: Update logging context and upgrade dependencies (#41318) 2025-04-23 10:52:38 +08:00
convert_field_data_to_generic_value_test.go enhance: Use v2 package name for pkg module (#39990) 2025-02-22 23:15:58 +08:00
error_listener.go fix: Update logging context and upgrade dependencies (#41318) 2025-04-23 10:52:38 +08:00
fill_expression_value.go fix: Update logging context and upgrade dependencies (#41318) 2025-04-23 10:52:38 +08:00
fill_expression_value_test.go fix: Add precheck for unsupport datatype cast (#42677) 2025-06-12 21:14:36 +08:00
floating_comparision.go Support antlr as plan parser (#16696) 2022-05-06 17:43:51 +08:00
floating_comparision_test.go Support antlr as plan parser (#16696) 2022-05-06 17:43:51 +08:00
generate.go Auto generate parser code (#26716) 2023-08-31 11:13:01 +08:00
generate.sh fix: expression with capital AND and OR are not recognized (#38927) 2025-01-05 18:55:00 +08:00
logical_expr_visitor.go enhance: Use v2 package name for pkg module (#39990) 2025-02-22 23:15:58 +08:00
node_ret.go enhance: Use v2 package name for pkg module (#39990) 2025-02-22 23:15:58 +08:00
operators.go fix:fix wrong use return error for parse unsupported arith (#42729) 2025-06-17 10:20:37 +08:00
parser_visitor.go fix: Handle error for invalid function params and prevent panic (#43189) 2025-07-09 12:46:46 +08:00
pattern_match.go enhance: add optimize for like expr (#41066) 2025-05-08 14:28:52 +08:00
pattern_match_test.go enhance: add optimize for like expr (#41066) 2025-05-08 14:28:52 +08:00
plan_parser_v2.go fix: Handle error for invalid function params and prevent panic (#43189) 2025-07-09 12:46:46 +08:00
plan_parser_v2_test.go enhance: forbid two column comparison with json type in parser stage (#43382) 2025-07-24 19:42:54 +08:00
pool.go enhance: Use v2 package name for pkg module (#39990) 2025-02-22 23:15:58 +08:00
pool_test.go enhance: Update antlr version and refine parsing not in (#36745) 2024-10-11 14:03:21 +08:00
show_visitor.go enhance: Use v2 package name for pkg module (#39990) 2025-02-22 23:15:58 +08:00
utils.go enhance: forbid two column comparison with json type in parser stage (#43382) 2025-07-24 19:42:54 +08:00
utils_test.go enhance: forbid two column comparison with json type in parser stage (#43382) 2025-07-24 19:42:54 +08:00

README.md

Generate Parser with Antlr4

Install Antlr4

Please follow install antlr4 to install the antlr tool.

The version of antlr tool: 4.13.2.

Code Generate

After you install the antlr4, you can generate the parser code in golang with:

go generate

All generated code will be under directory generated.