You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2018/02/02 19:45:00 UTC

[jira] [Commented] (SPARK-20090) Add StructType.fieldNames to Python API

    [ https://issues.apache.org/jira/browse/SPARK-20090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16350861#comment-16350861 ] 

Reynold Xin commented on SPARK-20090:
-------------------------------------

Why would we deprecate this? I'd probably add names to Scala as well.

 

> 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
(v7.6.3#76005)

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