[
https://issues.apache.org/jira/browse/SPARK-6410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Santiago M. Mola resolved SPARK-6410.
-------------------------------------
Resolution: Not a Problem
This has something to do with the incremental compiler. I got it working after
running "sbt clean".
> Build error on Windows: polymorphic expression cannot be instantiated to
> expected type
> --------------------------------------------------------------------------------------
>
> Key: SPARK-6410
> URL: https://issues.apache.org/jira/browse/SPARK-6410
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 1.4.0
> Environment:
> Reporter: Santiago M. Mola
> Labels: build-failure
> Attachments: output.log
>
>
> $ bash build/sbt -Phadoop-2.3 assembly
> [...]
> [error]
> C:\Users\XXXXXXXX\dev\repos\spark\sql\catalyst\src\main\scala\org\apache\spark\sql\catalyst\dsl\package.scala:314:
> polymorphic expression cannot be instantiated to expected type;
> [error] found : [T(in method
> apply)]org.apache.spark.sql.catalyst.dsl.ScalaUdfBuilder[T(in method apply)]
> [error] required:
> org.apache.spark.sql.catalyst.dsl.package.ScalaUdfBuilder[T(in method
> functionToUdfBuilder)]
> [error] implicit def functionToUdfBuilder[T: TypeTag](func: Function1[_,
> T]): ScalaUdfBuilder[T] = ScalaUdfBuilder(func)
> [error]
> ^
> [...]
> $ uname -a
> CYGWIN_NT-6.3 XXXXXXXX 1.7.35(0.287/5/3) 2015-03-04 12:09 x86_64 Cygwin
> $ java -version
> java version "1.7.0_75"
> Java(TM) SE Runtime Environment (build 1.7.0_75-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode)
> $ scala -version
> Scala code runner version 2.10.4 -- Copyright 2002-2013, LAMP/EPFL
> $ build/zinc-0.3.5.3/bin/zinc -version
> zinc (scala incremental compiler) 0.3.5.3
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]