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

Add a configuration to use default datasource as provider for CREATE TABLE command

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.1.0
    • SQL
    • None

    Description

      Changing the default provider from `hive` to the value of `spark.sql.sources.default` for "CREATE TABLE" command to make it be consistent with DataFrameWriter.saveAsTable API, w.r.t. to the new cofig. (by default we don't change the table provider)

      Also, it brings more friendly to end users since Spark is well know of using parquet(default value of `spark.sql.sources.default`) as its default I/O format.

      Attachments

        Issue Links

          Activity

            People

              cloud_fan Wenchen Fan
              Ngone51 wuyi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: