Github user gatorsmile commented on the issue:

    https://github.com/apache/spark/pull/13886
  
    CREATE TABLE AS SELECT can be converted to Create Data Source Table when 
the following condition is true: `the statement does not have the 
user-specified file format and row format`. (Actually, when the file format is 
`Parquet`, we still can convert it. Will try to submit a PR for this case)
    
    However, the default value of internal Conf `spark.sql.hive.convertCTAS` is 
`false`. Thus, we do not convert them even if it is possible. Maybe we can add 
a rule to do it when users do not enable Hive support?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to