viirya commented on issue #26685: [SPARK-30050][SQL] analyze table and rename 
table should not erase hive table bucketing info
URL: https://github.com/apache/spark/pull/26685#issuecomment-559238905
 
 
   > Shall we update HiveClientImpl.toHiveTable? We shouldn't use 
DDLUtils.isHiveTable(table) to check if it's a hive table. We should use 
!DDLUtils.isDatasourceTable
   
   In this case, because we get raw table metadata by getRawTable, the provider 
info is not propagated yet.
   
   We should use HiveExternalCatalog.isDatasourceTable, which will also check 
provider in table properties.
   

----------------------------------------------------------------
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