You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2020/03/16 22:52:07 UTC

[jira] [Updated] (SPARK-26987) Add a new method to RowFactory: Row with schema

     [ https://issues.apache.org/jira/browse/SPARK-26987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dongjoon Hyun updated SPARK-26987:
----------------------------------
    Affects Version/s:     (was: 3.0.0)
                       3.1.0

> Add a new method to RowFactory: Row with schema
> -----------------------------------------------
>
>                 Key: SPARK-26987
>                 URL: https://issues.apache.org/jira/browse/SPARK-26987
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: Jungtaek Lim
>            Priority: Major
>
> In Java API, RowFactory is supposed to be the official way to create a Row. There's only "create()" method which doesn't contain schema in Row, hence Java API only guarantee the usage of Row as "access by index", though "access by column name" works in some query according to the query plan.
>  
> We could add "createWithSchema()" method in RowFactory so that end users can access by column name for Row consistently.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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