spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-15445) Build fails for java 1.7 after adding java.math.BigInteger support [SPARK-11827][SQL]
Date Sat, 21 May 2016 11:40:12 GMT

     [ https://issues.apache.org/jira/browse/SPARK-15445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sean Owen resolved SPARK-15445.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Issue resolved by pull request 13223
[https://github.com/apache/spark/pull/13223]

> Build fails for java 1.7 after adding java.math.BigInteger support [SPARK-11827][SQL]
> -------------------------------------------------------------------------------------
>
>                 Key: SPARK-15445
>                 URL: https://issues.apache.org/jira/browse/SPARK-15445
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>         Environment: java 1.7
>            Reporter: Piotr Milanowski
>            Priority: Blocker
>             Fix For: 2.0.0
>
>
> Hi,
> I am building branch-2.0. The build fails with this message:
> {code}
> [error] spark/sql/catalyst/src/main/scala/org/apache/spark/sql/types/Decimal.scala:137:
value longValueExact is not a member of java.math.BigInteger
> [error]       this.longVal = bigintval.longValueExact()
> [error]                                ^
> [error] one error found
> {code}
> This seems to be a problem with java versions. In java 1.7 there is no method java.math.BigInteger.longValueExact().
> A quick fix is changing longValueExact() to longValue()



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message