Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/5798#discussion_r29411449
  
    --- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveResolutionSuite.scala
 ---
    @@ -81,9 +81,11 @@ 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'm not sure what we really want here. When user `SELECT b FROM t` and `t` 
has a column `B`, which one should we used in the result schema? `b` or `B`? cc 
@marmbrus 


---
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]

Reply via email to