Github user marmbrus commented on the pull request:
https://github.com/apache/spark/pull/11891#issuecomment-200081805
I've never gotten testing running to work in intelij unfortunately. You
can use SBT as follows:
```
spark/$ sbt/sbt -Phive
> hive/test-only *HiveCompatibilitySuite -- -z date_serde
....
```
For the first failure, this looks like the cause:
```
[info] Caused by: java.lang.UnsupportedOperationException: unsupported
plan Relation[c1#282,c2#283] HadoopFiles
[info]
[info] at
org.apache.spark.sql.hive.SQLBuilder.org$apache$spark$sql$hive$SQLBuilder$$toSQL(SQLBuilder.scala:191)
[info] at
org.apache.spark.sql.hive.SQLBuilder.org$apache$spark$sql$hive$SQLBuilder$$toSQL(SQLBuilder.scala:149)
[info] at
org.apache.spark.sql.hive.SQLBuilder.projectToSQL(SQLBuilder.scala:208)
[info] at
org.apache.spark.sql.hive.SQLBuilder.org$apache$spark$sql$hive$SQLBuilder$$toSQL(SQLBuilder.scala:111)
[info] at
org.apache.spark.sql.hive.SQLBuilder.org$apache$spark$sql$hive$SQLBuilder$$toSQL(SQLBuilder.scala:149)
[info] at
org.apache.spark.sql.hive.SQLBuilder.projectToSQL(SQLBuilder.scala:208)
[info] at
org.apache.spark.sql.hive.SQLBuilder.org$apache$spark$sql$hive$SQLBuilder$$toSQL(SQLBuilder.scala:111)
[info] at
org.apache.spark.sql.hive.SQLBuilder.toSQL(SQLBuilder.scala:81)
[info] at
org.apache.spark.sql.hive.execution.HiveComparisonTest$$anonfun$createQueryTest$1$$anonfun$36.liftedTree1$1(HiveComparisonTest.scala:398)
[info] ... 57 more
[info]
```
Seems we can't build SQL for ORC queries (used in view canonicalization)
anymore. @liancheng might have some suggestions.
---
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]