Uh oh!
There was an error while loading. Please reload this page.
[SPARK-5123][SQL] Reconcile Java/Scala API for data types. - #3958
Conversation
SparkQA
commented
Jan 8, 2015
Test build #25272 has started for PR 3958 at commit
|
SparkQA
commented
Jan 9, 2015
Test build #25272 has finished for PR 3958 at commit
|
AmplabJenkins
commented
Jan 9, 2015
Test FAILed. |
marmbrus
commented
Jan 13, 2015
Okay, the other PR is in, if you fix the merge conflicts this LGTM. We also need to figure out how to publish scala/java docs here. |
…ve the Java-specific API).
b4f9649 to
66505ccComparerxin
commented
Jan 13, 2015
I just rebased. Let's see ... |
SparkQA
commented
Jan 13, 2015
Test build #25487 has started for PR 3958 at commit
|
SparkQA
commented
Jan 13, 2015
Test build #25487 has finished for PR 3958 at commit
|
AmplabJenkins
commented
Jan 13, 2015
Test FAILed. |
rxin
commented
Jan 14, 2015
Jenkins, retest this please. |
SparkQA
commented
Jan 14, 2015
Test build #25492 has started for PR 3958 at commit
|
JoshRosen
commented
Jan 14, 2015
You might want to copy the commit message over from the other PR. |
rxin
commented
Jan 14, 2015
done - thanks for reminding, josh. |
rxin
commented
Jan 14, 2015
Ok merging in master. Thanks for looking at this. |
SparkQA
commented
Jan 14, 2015
Test build #25492 has finished for PR 3958 at commit
|
AmplabJenkins
commented
Jan 14, 2015
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#4056apache/spark#4054apache/spark#4049apache/spark#4030apache/spark#3965apache/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.
Having two versions of the data type APIs (one for Java, one for Scala) requires downstream libraries to also have two versions of the APIs if the library wants to support both Java and Scala. I took a look at the Scala version of the data type APIs - it can actually work out pretty well for Java out of the box.
As part of the PR, I created a sql.types package and moved all type definitions there. I then removed the Java specific data type API along with a lot of the conversion code.
This subsumes #3925