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

Support create table from a file schema

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.1.1, 2.2.0
    • None
    • SQL
    • Important

    Description

      Current spark doest not support creating a table from a file schema
      for example:

      CREATE EXTERNAL TABLE IF NOT EXISTS test LIKE PARQUET '/user/test/abc/a.snappy.parquet' STORED AS PARQUET LOCATION
      '/user/test/def/';
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            liupengcheng liupengcheng
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: