Github user yhuai commented on a diff in the pull request:
https://github.com/apache/spark/pull/7478#discussion_r34962896
--- Diff:
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveTableScanSuite.scala
---
@@ -90,4 +90,11 @@ class HiveTableScanSuite extends HiveComparisonTest {
assert(sql("select CaseSensitiveColName from spark_4959_2").head() ===
Row("hi"))
assert(sql("select casesensitivecolname from spark_4959_2").head() ===
Row("hi"))
}
+
+ test("SPARK-8003 Resolve spark__partition__id in Hive queries") {
+ TestHive.sql("CREATE TABLE tb (KEY INT, VALUE STRING)")
--- End diff --
This suite is used to compare the result of Spark SQL and Hive. Since
`spark__partition__id` is a Spark specific virtual column, the right place for
this test is `org.apache.spark.sql.SQLQuerySuite`. Actually, why do you need
this test?
---
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]