You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ca...@apache.org on 2024/02/18 08:41:49 UTC
(doris) branch null_fix_cherry created (now a938d65e5f6)
This is an automated email from the ASF dual-hosted git repository.
caiconghui pushed a change to branch null_fix_cherry
in repository https://gitbox.apache.org/repos/asf/doris.git
at a938d65e5f6 [fix](repository) fix NullPointerException when execute create repository statement without properties (#30972)
This branch includes the following new commits:
new a938d65e5f6 [fix](repository) fix NullPointerException when execute create repository statement without properties (#30972)
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
(doris) 01/01: [fix](repository) fix NullPointerException when execute create repository statement without properties (#30972)
Posted by ca...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
caiconghui pushed a commit to branch null_fix_cherry
in repository https://gitbox.apache.org/repos/asf/doris.git
commit a938d65e5f6a57239fda310feda3b8d21a6e4d94
Author: caiconghui <55...@users.noreply.github.com>
AuthorDate: Sun Feb 18 16:33:41 2024 +0800
[fix](repository) fix NullPointerException when execute create repository statement without properties (#30972)
Co-authored-by: caiconghui1 <ca...@jd.com>
---
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 bee869915a2..51aae6ad6af 100644
--- a/fe/fe-core/src/main/cup/sql_parser.cup
+++ b/fe/fe-core/src/main/cup/sql_parser.cup
@@ -3145,7 +3145,7 @@ key_value_map ::=
opt_properties ::=
{:
- RESULT = null;
+ RESULT = Maps.newHashMap();
:}
| properties:properties
{:
@@ -3155,7 +3155,7 @@ opt_properties ::=
opt_ext_properties ::=
{:
- RESULT = null;
+ RESULT = Maps.newHashMap();
:}
| KW_BROKER properties:properties
{:
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org