org.apache.spark.sql.execution.datasources
Analyze the query in CREATE TABLE AS SELECT (CTAS). After analysis, PreWriteCheck also can detect the cases that are not allowed.
Analyze the query in CREATE TABLE AS SELECT (CTAS). After analysis, PreWriteCheck also can detect the cases that are not allowed.