Hyukjin Kwon commented on SPARK-20090:

I think we deprecated this roughly to rename {{names}} to {{fieldNames}} 
because {{names}} attribute was undocumented whereas Scala side has the same 
functionaility named {{fieldNames}}.

> Add StructType.fieldNames to Python API
> ---------------------------------------
>                 Key: SPARK-20090
>                 URL: https://issues.apache.org/jira/browse/SPARK-20090
>             Project: Spark
>          Issue Type: New Feature
>          Components: PySpark, SQL
>    Affects Versions: 2.1.0
>            Reporter: Joseph K. Bradley
>            Assignee: Hyukjin Kwon
>            Priority: Trivial
>             Fix For: 2.3.0
> The Scala/Java API for {{StructType}} has a method {{fieldNames}}.  It would 
> be nice if the Python {{StructType}} did as well.

This message was sent by Atlassian JIRA

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

Reply via email to