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

   ### 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
   
   doris version 2.0.0
   hive version  2.1.2
   
   ### What's Wrong?
   
   Doris does not support specifying the hive version when creating hive 
tables. Because a large amount of data needs to be imported by spark load, the 
hive version cannot be specified when creating a hive table, and the hive 2.3 
version is used by default, which leads to an incompatibility error of the hive 
metastore version. 
   exception:
   `Invalid method name:'get_table_req'`
   
   ### What You Expected?
   
   Doris already supports configuring hive version when registering catalog, so 
I think it should also support configuring hive version when creating hive 
appearance.
   
   ### How to Reproduce?
   
   use hive 2.1 version, create hive EXTERNAL TABLE as this:
   create EXTERNAL TABLE `feature_metric_extend_aggregation_external`(
     `team_id` bigint ,
     `user_id` string ,
     `metric_code` string,
     `metric_value` string ,
     `version` string 
   )
   ENGINE=hive
   properties
   (
   "database" = "dm_cdp",
   "table" = "feature_metric_extend_aggregation",
   "hive.metastore.uris" = "****",
   );
   
   ### 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: [email protected]

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to