Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
From U-Washington a few months back (but still reproducible on our latest release):
This sequence of statements produces a weird error message - "Cannot find dataset prop3 in dataverse test nor an alias with name prop3 [AlgebricksException]". I tried to simplify it to eliminate the nested array of records, but doing that made everything work - so the problem lies therein...
DROP DATAVERSE test IF EXISTS;
CREATE DATAVERSE test;
USE test;
CREATE TYPE typeA AS
;
CREATE TYPE testType AS
;
CREATE DATASET test(testType) PRIMARY KEY prop1;
INSERT INTO test([
,
{ "prop1": "hello2", "prop2": ["world1", "world2"], prop3:
},
{ "prop1": "hello3", "prop2": ["world1", "world2"], prop3: [
,
{"propA": "A"}] }
]);