You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xin Ren (JIRA)" <ji...@apache.org> on 2019/07/29 17:35:00 UTC

[jira] [Updated] (SPARK-28555) Recover options and properties and pass them back into the v1 API

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

Xin Ren updated SPARK-28555:
----------------------------
    Issue Type: Sub-task  (was: Improvement)
        Parent: SPARK-22386

> Recover options and properties and pass them back into the v1 API
> -----------------------------------------------------------------
>
>                 Key: SPARK-28555
>                 URL: https://issues.apache.org/jira/browse/SPARK-28555
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Xin Ren
>            Priority: Minor
>
> When tables are created, the {{CREATE TABLE}} syntax supports both {{TBLPROPERTIES}} and {{OPTIONS}}. Options were used in v1 to configure the table itself, like options passed to {{DataFrameReader}}. Right now, both properties and options are stored in v2 table properties, because v2 only has properties, not both. But, we aren't able to recover which properties were set through {{OPTIONS}} and which were set through {{TBLPROPERTIES}}.
> Instead of the current behavior, I think options should be prefixed with {{option.}}. That way, we can recover options and properties and pass them back into the v1 API.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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