-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add limited support for captured vars and athrow (#5487)
* Add limited support for captured vars and athrow Only the primitive type variables captured from a method are supported. athrow is supported only with SparkException and is converted to raise_error. Following additional changes have also been made: * A check to reject lambdas with void return type has been added. * An operand stack bug fix for consturctor calls has been added. This commit also simplifies the code that handles method calls. Signed-off-by: Sean Lee <selee@nvidia.com> * Update copyright years * Catch RuntimeException instead of Throwable * Update udf-to-catalyst doc
- Loading branch information
1 parent
a427977
commit 5f449cd
Showing
6 changed files
with
233 additions
and
107 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
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.