spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jungtaek Lim (JIRA)" <>
Subject [jira] [Created] (SPARK-26987) Add new method to RowFactory: Row with schema
Date Mon, 25 Feb 2019 21:23:01 GMT
Jungtaek Lim created SPARK-26987:

             Summary: Add new method to RowFactory: Row with schema
                 Key: SPARK-26987
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Jungtaek Lim

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message