-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop the requirement that a non-terminal `yield` step is a record. Such a step does not produce any named fields, but can still be used anonymously; for example, the following query is valid: from e in scott.emp yield e.deptno compute sum If the step after the `yield` attempts to reference fields by name, no name will be valid. When from e in scott.emp yield e.deptno * 2 yield x - 1 gives the error "unbound variable or constructor: x", the query can be made valid by using a record to name the field: from e in scott.emp yield {x = e.deptno * 2} yield x - 1
- Loading branch information
1 parent
295d60f
commit 333ae51
Showing
6 changed files
with
164 additions
and
62 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.