OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

cmis-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [cmis-comment] CMIS11 - Query


Vedran, thank you for your question. While the CMIS Technical Committee has been closed for a couple of years now, many of the former members remain subscribed to this mailing list. I hope that someone will be able to help you out.Â

Best regards,Â

/chet

On Mon, Oct 18, 2021 at 3:01 PM Vedran Smid <vedransmid@gmail.com> wrote:
Hi,

I am implementing Query part of CMIS 1.1 specification at the moment and I am trying to figure out how to define FROM clause correctly (I am using Javacc for generating AST).

Here is how it is defined by the CMIS 1.1 specification:
2.1.14.2 Query Language Deïnition
FROM [virtual table names] - Âaccording to this, we should be able to specify multiple virtual table names

2.1.14.2.1ÂBNF Grammar

<fromÂclause>Â::=ÂFROMÂ<tableÂreference>Â
<tableÂreference>Â::=Â<tableÂname>Â[Â[ÂASÂ]Â<correlationÂname>Â]Â|Â<joinedÂtable>Â
<joinedÂtable>Â::=Â"("Â<joinedÂtable>Â")"Â
ÂÂ|Â<tableÂreference>Â[Â<joinÂtype>Â]ÂJOINÂ<tableÂreference>Â<joinÂspecification>Â
<joinÂtype>Â::=ÂINNERÂ|ÂLEFTÂ[ÂOUTERÂ]Â
<joinÂspecification>Â::=ÂONÂ<columnÂreference>Â"="Â<columnÂreference>Â


â


Problem

Looking at the <from clause> specified in CMIS 1.1 chapter 2.1.14.2.1ÂBNF Grammar I do not see how specifying multiple virtual table names is possible.

e.g. FROM table1, table2 ...


I may be missing on something hereÂso any help would be greatly appreciated.

Thanks in advance.










--

ChetÂEnsign

Chief Technical Community Steward

OASIS Open

ÂÂÂ
+1 201-341-1393
chet.ensign@oasis-open.org
www.oasis-open.org


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]