N1QL seems to have all the features to support a JSONiq front-end. Seems like a 
simple translation, except for the group-by clause.
I guess if people like 4-valued logic, breaking up constructors into group by 
and select clauses - let them have it :)

> On 10 Oct 2015, at 13:03, daniela florescu <dflore...@me.com> wrote:
> 
> Andy,
> 
> The story is more complicated here.
> 
> The professor at Irvine Univ. in charge of the students team who designed 
> AsterixDB, Mike Carey, is 
> today the Chief Architect of CouchDB, who ships the N1QL that I just sent 
> yesterday.
> 
> Mike Carey knows exactly XQuery, given that he was in charge of my XQuery 
> processor at BEA Systems after I left.
> 
> So it’s definitely not by lack of knowledge that he went BACKWARDS and N1QL 
> is even more primitive then SQL 92
> (just added some primitive forms of path expressions to it..)
> 
> It’s probably market pressure…. 
> 
> IT HAS TO LOOK LIKE SQL, AND IT HAS TO USE THE THREE MAGIC KEYWORDS “select” 
> “from” AND “where”.
> 
> 
> Other then that, who cares that from a data processing perspective, we go 
> backwards where we were in 1994 !???
> (and nested select-from-where in the from clause are considered “disruptive” 
> ..huh..)
> 
> Depressing. 
> 
> Are users so ignorant and they prefer a vanilla syntax that they know over 
> significant expressive power  ?
> 
>  I wonder.
> 
> Dana
> 
> 
> 
> 
>> On Oct 9, 2015, at 3:31 PM, Andy Bunce <bunce.a...@gmail.com 
>> <mailto:bunce.a...@gmail.com>> wrote:
>> 
>> Hi,
>> 
>> Not tried it myself but, AsterixDB [1] may be of interest to XQuery users.
>> 
>> >The heart of AQL[2] is the FLWOR (for-let-where-orderby-return) expression. 
>> >The roots of this expression were borrowed from the expression of the same 
>> >name in XQuery.
>> 
>> and
>> 
>> >but XQuery was co-designed by a diverse band of experienced language 
>> >designers (SQL, functional programming,and XML experts) 
>> >and we wanted to avoid revisiting many of the same issues [3]
>> 
>> Regards
>> /Andy
>> 
>> [1] https://asterixdb.ics.uci.edu/ <https://asterixdb.ics.uci.edu/>
>> [2] https://asterixdb.ics.uci.edu/documentation/aql/manual.html 
>> <https://asterixdb.ics.uci.edu/documentation/aql/manual.html>
>> [3] http://www.vldb.org/pvldb/vol7/p1905-alsubaiee.pdf 
>> <http://www.vldb.org/pvldb/vol7/p1905-alsubaiee.pdf>
>> 
>> _______________________________________________
>> talk@x-query.com <mailto:talk@x-query.com>
>> http://x-query.com/mailman/listinfo/talk
> 
> _______________________________________________
> talk@x-query.com
> http://x-query.com/mailman/listinfo/talk

С уважением,
Павел Велихов
pavel.velik...@gmail.com

_______________________________________________
talk@x-query.com
http://x-query.com/mailman/listinfo/talk

Reply via email to