You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by zigen <db...@gmail.com> on 2014/12/28 04:20:57 UTC

Compile error since Spark 1.2.0

Compile error from Spark 1.2.0

Hello , I am zigen.
I am using the Spark SQL 1.1.0.
I want to use the Spark SQL 1.2.0.

but my Spark application is a compile error.
Spark 1.1.0 had a DataType.DecimalType.
but Spark1.2.0 had not DataType.DecimalType.
Why ?

JavaDoc (Spark 1.1.0)
http://people.apache.org/~pwendell/spark-1.1.0-rc1-docs/api/java/org/apache/spark/sql/api/java/DataType.html

JavaDoc (Spark 1.2.0)
http://people.apache.org/~pwendell/spark-1.2.0-rc1-docs/api/java/org/apache/spark/sql/api/java/DataType.html

programing guild (Spark 1.2.0)
https://spark.apache.org/docs/latest/sql-programming-guide.html#spark-sql-datatype-reference



Re: Compile error since Spark 1.2.0

Posted by Ted Yu <yu...@gmail.com>.
Please see:
[SPARK-3930] [SPARK-3933] Support fixed-precision decimal in SQL, and some
optimizations

Cheers

On Sat, Dec 27, 2014 at 7:20 PM, zigen <db...@gmail.com> wrote:

> Compile error from Spark 1.2.0
>
>
> Hello , I am zigen.
>
> I am using the Spark SQL 1.1.0.
>
> I want to use the Spark SQL 1.2.0.
>
>
> but my Spark application is a compile error.
>
> Spark 1.1.0 had a DataType.DecimalType.
>
> but Spark1.2.0 had not DataType.DecimalType.
>
> Why ?
>
>
> JavaDoc (Spark 1.1.0)
>
> http://people.apache.org/~pwendell/spark-1.1.0-rc1-docs/api/java/org/apache/spark/sql/api/java/DataType.html
>
>
> JavaDoc (Spark 1.2.0)
>
> http://people.apache.org/~pwendell/spark-1.2.0-rc1-docs/api/java/org/apache/spark/sql/api/java/DataType.html
>
>
> programing guild (Spark 1.2.0)
>
> https://spark.apache.org/docs/latest/sql-programming-guide.html#spark-sql-datatype-reference
>
>
>