Repository navigation
Conversation
…items after the star Documents ArcadeData/arcadedb#11570, #11556 and #11571. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Contributor
|
Tick the box to add this pull request to the merge queue (same as
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sql-projections.adoc):*is accepted at any position and more than once; the record's fields come first and an explicit item still wins over a same-named field. Also applies toINSERT/UPDATE/DELETERETURN. Replaces the note saying*must be first (SQL: a projection with * after another item (SELECT name, * FROM X) is a syntax error arcadedb#11570, PR fix(#11570): a SQL projection accepts * after another item (SELECT name, * FROM X) arcadedb#11629).RETURN(cypher-clauses.adoc):RETURN *, expr AS aliaskeeps the items after the star, works withDISTINCTand aggregations, refuses an item named like a star variable, and the run-time-scope case (CALL ... YIELD *of a user function) refuses an aggregation (Cypher: RETURN *, expr AS alias silently drops the items after the star arcadedb#11556, PR fix(#11556): RETURN *, expr AS alias keeps the items written after the star arcadedb#11647). The star also covers the columns of aCALL { ... RETURN * }subquery (Bolt: a zero-row CALL { ... RETURN * } or YIELD * of a procedure with unknown outputs still announces no columns arcadedb#11571, PR fix(#11571): a zero-row RETURN * through a CALL subquery returning * announces the subquery's columns over Bolt arcadedb#11637).All three engine PRs are merged on main for 26.12.1.
🤖 Generated with Claude Code