Skip to content

Commit

Permalink
[fix](repository) fix NullPointerException when execute create reposi…
Browse files Browse the repository at this point in the history
…tory statement without properties (#30972) (#31056)

bp #30972
Co-authored-by: caiconghui1 <[email protected]>
  • Loading branch information
caiconghui authored Feb 18, 2024
1 parent df6a7a9 commit d809310
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fe/fe-core/src/main/cup/sql_parser.cup
Original file line number Diff line number Diff line change
Expand Up @@ -3145,7 +3145,7 @@ key_value_map ::=

opt_properties ::=
{:
RESULT = null;
RESULT = Maps.newHashMap();
:}
| properties:properties
{:
Expand All @@ -3155,7 +3155,7 @@ opt_properties ::=

opt_ext_properties ::=
{:
RESULT = null;
RESULT = Maps.newHashMap();
:}
| KW_BROKER properties:properties
{:
Expand Down

0 comments on commit d809310

Please sign in to comment.