Github user zhzhan commented on the pull request:

    https://github.com/apache/spark/pull/7520#issuecomment-135323382
  
    @viirya Take a quick second look at the issue. As @chenghao-intel 
mentioned, since  normalizing the name(to lower case) is  the default behavior. 
Should we fix it in the following place(in StructType.scala) instead? Probably 
I am missing something. 
      def apply(name: String): StructField = {
        nameToField.getOrElse(name.toLowerCase,
          throw new IllegalArgumentException(s"""Field "$name" does not 
exist."""))
      }


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