Github user maropu commented on the pull request:
https://github.com/apache/spark/pull/10635#issuecomment-171535976
Sorry that yor're confused.
The codes in the link can be compiled because `lib/` has
`/spark-catalyst_2.10-2.0.0-SNAPSHOT.jar` modified by this patch.
So, you need to say commands below;
```
$git clone https://github.com/maropu/spark-compat-test.git
$cd spark-compat-test/
$rm lib/spark-catalyst_2.10-2.0.0-SNAPSHOT.jar
$./bin/sbt test
...
[info] Compiling 1 Scala source to
/Users/maropu/IdeaProjects/temps/spark-compat-test/target/scala-2.10/classes...
[info] Compiling 1 Scala source to
/Users/maropu/IdeaProjects/temps/spark-compat-test/target/scala-2.10/test-classes...
[error]
/Users/maropu/IdeaProjects/temps/spark-compat-test/src/test/scala/test/SparkCompatTestSuite.scala:9:
not found: type GenericArrayData
[error] val keyArray = new GenericArrayData(Array(1, 2, 3))
[error] ^
[error]
/Users/maropu/IdeaProjects/temps/spark-compat-test/src/test/scala/test/SparkCompatTestSuite.scala:10:
not found: type GenericArrayData
[error] val valArray = new GenericArrayData(Array(0, 0, 0))
[error] ^
[error]
/Users/maropu/IdeaProjects/temps/spark-compat-test/src/test/scala/test/SparkCompatTestSuite.scala:11:
not found: type ArrayBasedMapData
[error] val mapData = new ArrayBasedMapData(keyArray, valArray)
[error] ^
[error] three errors found
[error] (test:compileIncremental) Compilation failed
[error] Total time: 9 s, completed Jan 14, 2016 2:26:05 PM
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]