LantaoJin edited a comment on issue #26097: [SPARK-29421][SQL] Supporting 
Create Table Like Using Provider
URL: https://github.com/apache/spark/pull/26097#issuecomment-552254605
 
 
   > we can add an extra check `DDLUtils.isHiveProvider`, to make it work
   
   I think we can reuse `DDLUtils.isHiveTable(provider: Option[String])`
   ```scala
     def isHiveTable(provider: Option[String]): Boolean = {
       provider.isDefined && provider.get.toLowerCase(Locale.ROOT) == 
HIVE_PROVIDER
     }
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to