Skip to content

Commit

Permalink
[fix](nestedtypes) fix and move nested case to p2 and fix cases (#40681)
Browse files Browse the repository at this point in the history
  • Loading branch information
amorynan authored Sep 12, 2024
1 parent c63359a commit 172bf4e
Show file tree
Hide file tree
Showing 6 changed files with 26,285 additions and 4,997 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ suite("one_level_nestedtypes_with_s3data") {
String s3_endpoint = getS3Endpoint()
String bucket = context.config.otherConfigs.get("s3BucketName");

sql """ set enable_nereids_timeout=false; """
sql """ set max_scan_key_num = 48 """
sql """ set max_pushdown_conditions_per_column=1024 """

def dataFilePath = "https://"+"${bucket}"+"."+"${s3_endpoint}"+"/regression/datalake"
// def dataFilePath = "/mnt/disk1/wangqiannan/export/ol"
Expand Down Expand Up @@ -56,7 +59,10 @@ suite("one_level_nestedtypes_with_s3data") {
}
}

def be_id = 10139
List<List<Object>> backends = sql """ show backends """
assertTrue(backends.size() > 0)
def be_id = backends[0][0]

def load_from_tvf = {table_name, uri_file, format ->
if (format == "csv") {
order_qt_sql_tvf """select * from local(
Expand Down Expand Up @@ -85,8 +91,6 @@ suite("one_level_nestedtypes_with_s3data") {
"column_separator"="|",
"format" = "${format}"); """
}
// where to filter different format data
qt_select_doris """ select c_char from ${table_name} where k1 IS NOT NULL order by k1 limit 10; """
}
def load_from_s3 = {table_name, uri_file, format ->
if (format == "csv") {
Expand Down Expand Up @@ -122,8 +126,6 @@ suite("one_level_nestedtypes_with_s3data") {
"format" = "${format}",
"read_json_by_line"="true"); """
}
// where to filter different format data
order_qt_select_doris """ select * from ${table_name} where k1 IS NOT NULL order by k1 limit 10; """
}

// step1. create table
Expand Down
Loading

0 comments on commit 172bf4e

Please sign in to comment.