-
Notifications
You must be signed in to change notification settings - Fork 29.1k
[SPARK-48356][SQL] Support for FOR statement #48794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
42663a6
for loop initial version
dusantism-db e7492cf
first time working
dusantism-db 63289c7
drop local variable at end of execution
dusantism-db 7de3e76
refactor to drop var after every iteration
dusantism-db 91fb9ee
cleanup code
dusantism-db 5154a48
support for FOR without variable
dusantism-db 4ca1ed2
adding tests
dusantism-db 130d0d1
add more tests
dusantism-db 3335e22
add support for map
dusantism-db 85f99e9
add support for struct, seems to work
dusantism-db f1e1268
clean up
dusantism-db e41fa94
fix comments and clean up code
dusantism-db 57ec14b
formatting
dusantism-db f3e8a9c
change iterator to seq
dusantism-db 18788c9
improve iteration logic for map args
dusantism-db b3c7145
add parser test
dusantism-db 0eb6184
identation
dusantism-db 338bb81
execution node tests
dusantism-db 4910fc2
execution node tests - iterate and elave
dusantism-db 9c01b57
start interpreter tests
dusantism-db 616c94c
refactor to support column access without qualifying
dusantism-db 78eb903
update execution node test
dusantism-db f498a50
add drop variables
dusantism-db 755ebe4
fix for nested arrays, and change drop variable logic to work with le…
dusantism-db 49017e4
add nested tests
dusantism-db 9a2f5fa
add tests for no variables variant of for
dusantism-db cc632c3
clean up
dusantism-db d444751
update labels and tests
dusantism-db f78e1fc
nit
dusantism-db 055a1b2
add unique label tests
dusantism-db 955e79c
fix formatting and improve tests
dusantism-db c46750a
implement daneils suggestions
dusantism-db e485c99
move isExecuted out of buildDataframe
dusantism-db 112b860
fix scalastyle
dusantism-db 54271d0
formatting
dusantism-db 223612e
refactor collect() to toLocalIterator()
dusantism-db 9bf0b7a
fix scalastyle
dusantism-db 9d1cf29
add sum test
dusantism-db d4de13a
Merge remote-tracking branch 'upstream/master' into scripting-for-loop
dusantism-db 3b3aebe
fix exec node test
dusantism-db File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.