[Bug] When using the hive catalog the hive table name is uppercase, the Doris query is reported wrong
Search before asking
- [X] I had searched in the issues and found no similar issues.
Version
2.0.3
What's Wrong?
When using the hive catalog the hive table name is uppercase, the Doris query is reported wrong
for example:
hive create table:
create table HIVE_test3(id int, name string) stored as orc;
doris query table error:
What You Expected?
The hive is insensitive and the actual storage HDFS path is lowercase, so we need to support the hive building table with a capital table name
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
When I test this case, it throws Unknown table 'HIVE_test3'. Can you paste the result of show tables. If there's no hive_test3 in show tables, you can refresh hive catalog; If there's hive_test3 in show tables, you can change select * from HIVE_test3 as select * from hive_test3. Then, Doris will discuss whether case-insensitive hive table name is supported.
Hive create table: create table HIVE_test3(id int, name string) stored as orc; insert into HIVE_test3 values(111, 'aaa');
Doris show tables: