Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-24907 Migrate JDBC data source to DataSource API v2
  3. SPARK-32592

Make `DataFrameReader.table` take the specified options

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.1.0
    • 3.1.0
    • SQL
    • None

    Description

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

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

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

      Attachments

        Activity

          People

            huaxingao Huaxin Gao
            huaxingao Huaxin Gao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: