Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-38975

support jdbc about greenplum more

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 3.2.1
    • None
    • Java API
    • None

    Description

      the code as:

      Dataset<Row> invoke = spark.read().format("jdbc").option("url", url)
      .option("dbtable", query)
      .option("partitionColumn", "id")
      .option("numPartitions", "5")
      .option("lowerBound", Long.MIN_VALUE)
      .option("upperBound", Long.MAX_VALUE)
      .load();

      when the gp table is a large table,oom will occur

      how can handle the large table?

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            wesharn wesharn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: