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

    https://github.com/apache/spark/pull/17267#discussion_r105827541
  
    --- Diff: python/pyspark/sql/utils.py ---
    @@ -24,7 +24,7 @@ def __init__(self, desc, stackTrace):
             self.stackTrace = stackTrace
     
         def __str__(self):
    -        return repr(self.desc)
    +        return str(self.desc)
    --- End diff --
    
    based on latest commit:
    
    ```
    >>> df.select("아")
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File ".../spark/python/pyspark/sql/dataframe.py", line 992, in select
        jdf = self._jdf.select(self._jcols(*cols))
      File ".../spark/python/lib/py4j-0.10.4-src.zip/py4j/java_gateway.py", 
line 1133, in __call__
      File ".../spark/python/pyspark/sql/utils.py", line 75, in deco
        raise AnalysisException(s.split(': ', 1)[1], stackTrace)
    pyspark.sql.utils.AnalysisException
    : cannot resolve '`아`' given input columns: [age, name];;
    'Project ['아]
    +- Relation[age#0L,name#1] json


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to