Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line numberDiff line numberDiff line change
Expand Up@@ -348,6 +348,12 @@ suite("hive_on_hms_and_dlf", "p2,external,new_catalog_property") {
'oss.secret_key' = '${oss_sk}',
'oss.endpoint' = '${oss_endpoint}'
"""
String oss_bucket_endpoint_storage_properties = """
'oss.access_key' = '${oss_ak}',
'oss.secret_key' = '${oss_sk}',
'oss.endpoint' = '${oss_endpoint}',
'oss.force_parsing_by_standard_uri' = 'true'
"""
/****************COS*******************/
String cos_ak = context.config.otherConfigs.get("txYunAk")
String cos_sk = context.config.otherConfigs.get("txYunSk")
Expand DownExpand Up@@ -526,7 +532,8 @@ suite("hive_on_hms_and_dlf", "p2,external,new_catalog_property") {
testPartitionTableInsert(hms_properties + oss_region_param + oss_storage_properties, "hive_hms_oss_bucket_endpoint_partition_test_region", db_location)
//OSS - Insert overwrite tests
db_location = "oss://${oss_bucket_endpoint_parent_path}/hive/hms/bucket_endpoint/overwrite/" + System.currentTimeMillis()
testInsertOverwrite(hms_properties + oss_storage_properties, "hive_hms_oss_bucket_endpoint_overwrite_test", db_location)
testInsertOverwrite(hms_properties + oss_bucket_endpoint_storage_properties,
"hive_hms_oss_bucket_endpoint_overwrite_test", db_location)

//s3
db_location = "s3a://${s3_parent_path}/hive/hms/"+System.currentTimeMillis()
Expand DownExpand Up@@ -579,4 +586,4 @@ suite("hive_on_hms_and_dlf", "p2,external,new_catalog_property") {
// not has region param
db_location = "${dlf_warehouse}/hive/dlf-oss/" + System.currentTimeMillis()
testQueryAndInsert(dlf_endpoint_properties + hive_dlf_catalog_base_properties, "hive_dlf_oss_test", db_location)
}
}
Loading