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

STORED AS serde in CREATE TABLE LIKE view does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0, 3.2.2, 3.4.0
    • 3.2.3, 3.3.2, 3.4.0
    • SQL
    • None

    Description

      SPARK-29839 added the feat for supporting STORED AS in CREATE TABLE LIKE, and we could use this syntax to create a table with specified serde based on a existing table or view.

      I found that if we create a table based on a view, the serde of created table is always parquet.  However, if we use USING syntax  (SPARK-29421) to create a table with specified serde based a view, we can get the correct serde.

      I think we shoud fix this to add specified serde for the created table when using create table like view stored as syntax.

       

      Attachments

        Issue Links

          Activity

            People

              zhangbutao Butao Zhang
              zhangbutao Butao Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: