This is an automated email from the ASF dual-hosted git repository. caiconghui pushed a commit to branch repository_stmt in repository https://gitbox.apache.org/repos/asf/doris.git
commit 341d3afc64d8ed6172281fb2527a6738134778a4 Author: caiconghui1 <caicongh...@jd.com> AuthorDate: Wed Feb 7 20:54:44 2024 +0800 [fix](repository) fix NullPointerException when execute create repository statement without properties --- fe/fe-core/src/main/cup/sql_parser.cup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fe/fe-core/src/main/cup/sql_parser.cup b/fe/fe-core/src/main/cup/sql_parser.cup index bcef197ca99..28e716e8c7a 100644 --- a/fe/fe-core/src/main/cup/sql_parser.cup +++ b/fe/fe-core/src/main/cup/sql_parser.cup @@ -3505,7 +3505,7 @@ key_value_map ::= opt_properties ::= {: - RESULT = null; + RESULT = Maps.newHashMap(); :} | properties:properties {: @@ -3644,7 +3644,7 @@ opt_actions ::= opt_ext_properties ::= {: - RESULT = null; + RESULT = Maps.newHashMap(); :} | KW_BROKER properties:properties {: --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org