wankunde commented on PR #38765:
URL: https://github.com/apache/spark/pull/38765#issuecomment-1332326017

   For example:
   * We want to create a table called `tAb_I`
   * Hive metastore will check if the table name is valid by 
`MetaStoreUtils.validateName(tbl.getTableName())`
   * Hive will call `HiveStringUtils.normalizeIdentifier(tbl.getTableName())` 
and then save the save the table name to lower case, **but after setting the 
local to "tr", it will be `tab_ı` which is not a valid table name**
   * When we run alter table command, we will first get the hive table from 
hive metastore which is not a valid table name.
   * Update some properties or other, and then try to save it to hive metastore.
   * Hive metastore will check if the table name is valid and then throw 
exception `org.apache.hadoop.hive.ql.metadata.HiveException: [tab_ı]: is not a 
valid table name`


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

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to