This is an automated email from the ASF dual-hosted git repository.

ggalvizo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/asterixdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 788f2e849e [ASTERIXDB-3084][DOC] Fixing typo in ObjectTypeDef grammar
788f2e849e is described below

commit 788f2e849e1de193f4132a9ee0cd32e01778149e
Author: glennga <[email protected]>
AuthorDate: Thu Nov 17 19:13:05 2022 -0800

    [ASTERIXDB-3084][DOC] Fixing typo in ObjectTypeDef grammar
    
    - user model changes: no
    - storage format changes: no
    - interface changes: no
    
    details:
    updating grammar in docs to allow for open-types (which we already
    support)
    
    Change-Id: I1c958781b79ac9c0ec88e0fb31f0a79370ad7ff7
    Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/17285
    Tested-by: Jenkins <[email protected]>
    Reviewed-by: Glenn Galvizo <[email protected]>
---
 asterixdb/asterix-doc/src/main/grammar/sqlpp.ebnf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/asterixdb/asterix-doc/src/main/grammar/sqlpp.ebnf 
b/asterixdb/asterix-doc/src/main/grammar/sqlpp.ebnf
index b237f306fc..80f2bc2100 100644
--- a/asterixdb/asterix-doc/src/main/grammar/sqlpp.ebnf
+++ b/asterixdb/asterix-doc/src/main/grammar/sqlpp.ebnf
@@ -162,7 +162,7 @@ CreateDataverse ::= "CREATE" "DATAVERSE" DataverseName 
("IF" "NOT" "EXISTS")?
 
 CreateType ::= "CREATE" "TYPE" QualifiedName ("IF" "NOT" "EXISTS")? "AS" 
ObjectTypeDef
 
-ObjectTypeDef ::= ("CLOSED" | "OPEN")? "{" ObjectField ("," ObjectField)* "}"
+ObjectTypeDef ::= ("CLOSED" | "OPEN")? "{" ( ObjectField ("," ObjectField)* )? 
"}"
 
 ObjectField ::= Identifier ":" Identifier "?"?
 

Reply via email to