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
Original issue reported on code.google.com by
dtab...@gmail.com
on 13 Apr 2013 at 10:49