-
Notifications
You must be signed in to change notification settings - Fork 28.1k
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
[SPARK-5274][SQL] Reconcile Java and Scala UDFRegistration. #4056
Conversation
1. Removed UDFRegistration as a mixin in SQLContext and made it a field ("udf"). 2. For Java UDFs, renamed dataType to returnType, and made that the 2nd argument since the UDF itself can be long. 3. Added all Java UDF registration methods to Scala's UDFRegistration. 4. Documentation
Test build #25594 has started for PR 4056 at commit
|
Test build #25594 has finished for PR 4056 at commit
|
Test FAILed. |
Test build #25615 has started for PR 4056 at commit
|
Test build #25615 has finished for PR 4056 at commit
|
Test FAILed. |
Test build #25616 has started for PR 4056 at commit
|
Test build #25618 has started for PR 4056 at commit
|
Test build #25616 has finished for PR 4056 at commit
|
Test PASSed. |
Merging in master. |
Test build #25618 has finished for PR 4056 at commit
|
Test PASSed. |
After the following patches, the main (Scala) API is now usable for Java users directly. #4056 #4054 #4049 #4030 #3965 #3958 Author: Reynold Xin <rxin@databricks.com> Closes #4065 from rxin/sql-java-api and squashes the following commits: b1fd860 [Reynold Xin] Fix Mima 6d86578 [Reynold Xin] Ok one more attempt in fixing Python... e8f1455 [Reynold Xin] Fix Python again... 3e53f91 [Reynold Xin] Fixed Python. 83735da [Reynold Xin] Fix BigDecimal test. e9f1de3 [Reynold Xin] Use scala BigDecimal. 500d2c4 [Reynold Xin] Fix Decimal. ba3bfa2 [Reynold Xin] Updated javadoc for RowFactory. c4ae1c5 [Reynold Xin] [SPARK-5193][SQL] Remove Spark SQL Java-specific API.
After the following patches, the main (Scala) API is now usable for Java users directly. apache/spark#4056 apache/spark#4054 apache/spark#4049 apache/spark#4030 apache/spark#3965 apache/spark#3958 Author: Reynold Xin <rxin@databricks.com> Closes #4065 from rxin/sql-java-api and squashes the following commits: b1fd860 [Reynold Xin] Fix Mima 6d86578 [Reynold Xin] Ok one more attempt in fixing Python... e8f1455 [Reynold Xin] Fix Python again... 3e53f91 [Reynold Xin] Fixed Python. 83735da [Reynold Xin] Fix BigDecimal test. e9f1de3 [Reynold Xin] Use scala BigDecimal. 500d2c4 [Reynold Xin] Fix Decimal. ba3bfa2 [Reynold Xin] Updated javadoc for RowFactory. c4ae1c5 [Reynold Xin] [SPARK-5193][SQL] Remove Spark SQL Java-specific API.
As part of SPARK-5193: