Skip to content
Open
Show file tree
Hide file tree
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 number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ suite("test_orc_lazy_mat_profile", "p0,external,hive,external_docker,external_do
}

def extractProfileValue = { String profileText, String keyName ->
def matcher = profileText =~ /(?m)^\s*-\s*${keyName}:\s*(.+)$/
def matcher = profileText =~ /(?m)^\s*-\s*${keyName}:\s*sum\s+(\S+),/
return matcher.find() ? matcher.group(1).trim() : null
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,23 @@

suite("test_hive_translation_insert_only", "p2,external,hive,external_remote,external_remote_hive") {

String enabled = context.config.otherConfigs.get("enableExternalHudiTest")
String enabled = context.config.otherConfigs.get("enableExternalEmrTest")
//hudi hive use same catalog in p2.
if (enabled == null || !enabled.equalsIgnoreCase("true")) {
logger.info("disable test")
return;
}

String props = context.config.otherConfigs.get("hudiEmrCatalog")
String props = context.config.otherConfigs.get("emrCatalogCommonProp")
String hms_catalog_name = "test_hive_translation_insert_only"

sql """drop catalog if exists ${hms_catalog_name};"""
sql """
CREATE CATALOG IF NOT EXISTS ${hms_catalog_name}
PROPERTIES (
"type" = "hms",
'hive.version' = '3.1.3',
${props}
,'hive.version' = '3.1.3'
);
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,23 @@

suite("test_parquet_complex_cross_page", "p2,external,hive,external_remote,external_remote_hive") {

String enabled = context.config.otherConfigs.get("enableExternalHudiTest")
String enabled = context.config.otherConfigs.get("enableExternalEmrTest")
//hudi hive use same catalog in p2.
if (enabled == null || !enabled.equalsIgnoreCase("true")) {
logger.info("disable test")
return;
}

String props = context.config.otherConfigs.get("hudiEmrCatalog")
String props = context.config.otherConfigs.get("emrCatalogCommonProp")
String hms_catalog_name = "test_parquet_complex_cross_page"

sql """drop catalog if exists ${hms_catalog_name};"""
sql """
CREATE CATALOG IF NOT EXISTS ${hms_catalog_name}
PROPERTIES (
PROPERTIES (
"type" = "hms",
'hive.version' = '3.1.3',
${props}
,'hive.version' = '3.1.3'
);
"""

Expand Down