Github user dilipbiswal commented on the issue: https://github.com/apache/spark/pull/15190 @gatorsmile We have test in SQLQuerySuite "CTAS without serde without location" where we check for default data source. I had actually added the following test before i saw the test in SQLQuerySuite. So i didn't push the added test. ```SQL val defaultDataSource = TestHive.sessionState.conf.defaultDataSourceName // Make sure only default datasource is used when converting CTAS to use data source. withSQLConf("hive.default.fileformat" -> "orc") { withSQLConf(SQLConf.CONVERT_CTAS.key -> "true") { val (desc, exists) = extractTableDesc("CREATE TABLE IF NOT EXISTS test select 1 from foo") assert(exists) assert(desc.provider == Some(defaultDataSource)) } } ```
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org