Askwang opened a new issue, #3480:
URL: https://github.com/apache/paimon/issues/3480

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/paimon/issues) 
and found nothing similar.
   
   
   ### Motivation
   
   When we create/alter/rename table with upper case, it will throw 
`IllegalArgumentException`  like this `"Table name [TMP_TBL] cannot contain 
upper case in the catalog."`. 
   We know that the default value is case insensitive in HiveCatalog. So using 
upper case table name should be regarded as lower case, it's no need to fail. 
Which keep it consistent with the spark/flink engine's default behavior.
   ```java
      // HiveCatalog
       public boolean caseSensitive() {
           return false;
       }
   ```
   
   ### Solution
   
   Create/alter/rename table with upper case is regarded as lower case if case 
sentitive is false.
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] I'm willing to submit a PR!


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to