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

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

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

Wenchen Fan resolved SPARK-32592.
---------------------------------
    Fix Version/s: 3.1.0
       Resolution: Fixed

Issue resolved by pull request 29535
[https://github.com/apache/spark/pull/29535]

> 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
>            Assignee: Huaxin Gao
>            Priority: Minor
>             Fix For: 3.1.0
>
>
> 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