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

[jira] [Created] (SPARK-23204) DataSourceV2 should support named tables in DataFrameReader, DataFrameWriter

Ryan Blue created SPARK-23204:
---------------------------------

             Summary: DataSourceV2 should support named tables in DataFrameReader, DataFrameWriter
                 Key: SPARK-23204
                 URL: https://issues.apache.org/jira/browse/SPARK-23204
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 2.3.0
            Reporter: Ryan Blue


DataSourceV2 is currently only configured with a path, passed in options as `path`. For many data sources, like JDBC, a table name is more appropriate. I propose testing the "location" passed to load(String) and save(String) to see if it is a path and if not, parsing it as a table name and passing "database" and "table" options to readers and writers.



--
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