pklcoder opened a new issue, #49253:
URL: https://github.com/apache/doris/issues/49253

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   i use the doris-3.0.2-rc03 version . 
   i create mysql-5  catalog dom  in the doris ,then i execute the sql "CREATE 
TABLE hive.dwmp.testCacheTablett2 AS select IFNULL(t3.id , NULL) AS 
id,IFNULL(t3.hive_db_name, NULL) AS hive_db_name,IFNULL(t3.hive_table_name, 
NULL) AS hive_table_name,IFNULL(t3.hive_table_comment, NULL) AS 
hive_table_comment FROM dom.dom.hive_table_info AS t3;" ;
   error occured as bellow:ERROR 1105 (HY000): errCode = 2, detailMessage = 
failed to create table from hms client. reason: 
org.apache.doris.datasource.hive.HMSClientException: Unsupported primitive type 
conversion of largeint
   
   ps: hive.dwmp.testCacheTablett2  which hive is the hive catalog  created in 
doris
       dom.dom.hive_table_info which dom is the mysql-5  catalog created in the 
doris 
       and t3.id which in the mysql table dom.dom.hive_table_info type is  
"bigint(20) unsigned"
   so the type conversion likes this "bigint(20) unsigned 
[mysql-5]"=>largeint[doris-3.0.2-rc03 ]=>hive -3.1[no suit type]
   
   how can we fix this bug?
   
   
   ### What's Wrong?
   
   i use the doris-3.0.2-rc03 version . 
   i create mysql-5  catalog dom  in the doris ,then i execute the sql "CREATE 
TABLE hive.dwmp.testCacheTablett2 AS select IFNULL(t3.id , NULL) AS 
id,IFNULL(t3.hive_db_name, NULL) AS hive_db_name,IFNULL(t3.hive_table_name, 
NULL) AS hive_table_name,IFNULL(t3.hive_table_comment, NULL) AS 
hive_table_comment FROM dom.dom.hive_table_info AS t3;" ;
   error occured as bellow:ERROR 1105 (HY000): errCode = 2, detailMessage = 
failed to create table from hms client. reason: 
org.apache.doris.datasource.hive.HMSClientException: Unsupported primitive type 
conversion of largeint
   
   ps: hive.dwmp.testCacheTablett2  which hive is the hive catalog  created in 
doris
       dom.dom.hive_table_info which dom is the mysql-5  catalog created in the 
doris 
       and t3.id which in the mysql table dom.dom.hive_table_info type is  
"bigint(20) unsigned"
   so the type conversion likes this "bigint(20) unsigned 
[mysql-5]"=>largeint[doris-3.0.2-rc03 ]=>hive -3.1[no suit type]
   
   how can we fix this bug?
   
   
   ### What You Expected?
   
   how can we fix this bug?
   
   ### 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](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: commits-unsubscr...@doris.apache.org.apache.org

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


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

Reply via email to