[improvement](test) add tpch1 orc for hive catalog and refactor some test dir (#14669)
Add tpch 1g orc test case in hive docker Refactor some suites dir of catalog test cases. And "-internal" for dlf endpoint, to support access oss with aliyun vpc.
This commit is contained in:
@ -897,8 +897,11 @@ public class HiveMetaStoreClientHelper {
|
||||
// 1. region and endpoint. eg: cn-beijing
|
||||
String region = hiveConf.get("dlf.catalog.region");
|
||||
if (!Strings.isNullOrEmpty(region)) {
|
||||
// See: https://help.aliyun.com/document_detail/31837.html
|
||||
// And add "-internal" to access oss within vpc
|
||||
// TODO: find to way to access oss on public?
|
||||
res.put(HiveTable.AWS_REGION, "oss-" + region);
|
||||
res.put(HiveTable.S3_ENDPOINT, "http://oss-" + region + ".aliyuncs.com");
|
||||
res.put(HiveTable.S3_ENDPOINT, "http://oss-" + region + "-internal.aliyuncs.com");
|
||||
}
|
||||
|
||||
// 2. ak and sk
|
||||
|
||||
Reference in New Issue
Block a user