You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by AsterixDB Code Review <do...@asterix-gerrit.ics.uci.edu> on 2022/11/18 03:15:01 UTC

Change in asterixdb[master]: [ASTERIXDB-3084][DOC] Fixing typo in ObjectTypeDef grammar

From Glenn Galvizo <gg...@uci.edu>:

Glenn Galvizo has uploaded this change for review. ( https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/17285 )


Change subject: [ASTERIXDB-3084][DOC] Fixing typo in ObjectTypeDef grammar
......................................................................

[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
---
M asterixdb/asterix-doc/src/main/grammar/sqlpp.ebnf
1 file changed, 18 insertions(+), 1 deletion(-)



  git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb refs/changes/85/17285/1

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

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/17285
To unsubscribe, or for help writing mail filters, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Change-Id: I1c958781b79ac9c0ec88e0fb31f0a79370ad7ff7
Gerrit-Change-Number: 17285
Gerrit-PatchSet: 1
Gerrit-Owner: Glenn Galvizo <gg...@uci.edu>
Gerrit-MessageType: newchange