Github user marmbrus commented on a diff in the pull request:

    https://github.com/apache/spark/pull/8202#discussion_r37110174
  
    --- Diff: python/pyspark/sql/dataframe.py ---
    @@ -722,8 +722,6 @@ def __getitem__(self, item):
             [Row(age=5, name=u'Bob')]
             """
             if isinstance(item, basestring):
    -            if item not in self.columns:
    --- End diff --
    
    (i assume that was the whole point of doing a check here?)


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