Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-6229

When dataframe write Phoniex,saveMode will report an error only if it is not set to overwrite mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Bug
    • 5.0.0
    • None
    • spark-connector
    • None

    Description

       org.apache.phoenix.spark.DefaultSource

      Savemode will not report errors unless it is set to overwrite,But the message to throw an exception is that overwrite is not supported

       think it might be written like this,The logic is the opposite

      if (mode.equals(SaveMode.Overwrite))

      { throw new Exception("SaveMode other than SaveMode.OverWrite is not supported") }

      Attachments

        Activity

          People

            Unassigned Unassigned
            imp 何军红
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: