Github user chenghao-intel commented on a diff in the pull request:
https://github.com/apache/spark/pull/5798#discussion_r29402793
--- Diff:
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveResolutionSuite.scala
---
@@ -81,7 +81,7 @@ class HiveResolutionSuite extends HiveComparisonTest {
.toDF().registerTempTable("caseSensitivityTest")
val query = sql("SELECT a, b, A, B, n.a, n.b, n.A, n.B FROM
caseSensitivityTest")
- assert(query.schema.fields.map(_.name) === Seq("a", "b", "A", "B",
"a", "b", "A", "B"),
+ assert(query.schema.fields.map(_.name) === Seq("a", "B", "a", "B",
"a", "B", "a", "B"),
--- End diff --
I have unit test for explain this. Actually this is a workaround for the
bug fixing, and, we should normalize the attribute names during the analysis.
But leave it for the further improvement.
---
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]