Description
For various reasons, N1QL needs to deprecate support for paths in the FROM clause. (1) They produce results and cardinalities that are inconsistent with non-path FROM clauses, e.g. if the path produces some MISSING values. (2) The dot notation for paths should be used for namespaces and / or collections instead.
Deprecating paths in the FROM clause will require a few steps over the next few months. First, we should deprecate them in documentation. Second, we should remove them in collateral and training. Next, we should add a warning or error out in a pre-Spock minor release. Finally, we should make the final switch to collections in Spock.
Attachments
For Gerrit Dashboard: MB-18682 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
64417,2 | MB-18682. Specs: remove support for paths in FROM clause. | master | query | Status: MERGED | +2 | +1 |
64418,2 | MB-18682. Specs: remove support for paths in FROM clause. Re-generate diagrams with recursion. | master | query | Status: MERGED | +2 | +1 |
64508,2 | Fix MB-18682. Remove support for paths in FROM clause. | master | query | Status: MERGED | +2 | +1 |