You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Huaxin Gao (Jira)" <ji...@apache.org> on 2020/08/11 18:37:00 UTC

[jira] [Created] (SPARK-32592) Make `DataFrameReader.table` take the specified options

Huaxin Gao created SPARK-32592:
----------------------------------

             Summary: Make `DataFrameReader.table` take the specified options
                 Key: SPARK-32592
                 URL: https://issues.apache.org/jira/browse/SPARK-32592
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 3.1.0
            Reporter: Huaxin Gao


Currently, `DataFrameReader.table` ignores the specified options. The options specified like the following are lost.

{code:java}
    val df = spark.read
      .option("partitionColumn", "id")
      .option("lowerBound", "0")
      .option("upperBound", "3")
      .option("numPartitions", "2")
      .table("h2.test.people")
{code}

We need to make `DataFrameReader.table` take the specified options.



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