simlaudato / asterixdb

Automatically exported from code.google.com/p/asterixdb
0 stars 0 forks source link

Need earlier metadata validation and error feedback for AQL queries #348

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
If you do:

    use dataverse TinySocial;
    for $user in dataset MugbookUsers
    where $user.id = 8
    return $user;

on a dataverse with no such dataset, it compiles and shows a query plan but 
then fails (properly!) with an informative failure saying that there's no such 
dataverse.

Yingyi says:
I checked the code and found that the dataverse validation operation only 
happens for DDLs and DMLs but not queries.  So the exceptions happen  during 
query rewriting.  I think we should log it as a bug and do the validation at 
the very beginning.

Original issue reported on code.google.com by dtab...@gmail.com on 13 Apr 2013 at 10:49

GoogleCodeExporter commented 8 years ago
(I meant no such dataset, not no such dataverse)

Original comment by dtab...@gmail.com on 13 Apr 2013 at 10:49

GoogleCodeExporter commented 8 years ago

Original comment by vinay...@gmail.com on 24 May 2013 at 8:14