-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
bp #37320
- Loading branch information
1 parent
19eb9de
commit 81360cf
Showing
121 changed files
with
2,435 additions
and
2,439 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
docker/thirdparties/docker-compose/hive/scripts/create_preinstalled_scripts/run01.hql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
use default; | ||
|
32 changes: 32 additions & 0 deletions
32
docker/thirdparties/docker-compose/hive/scripts/create_preinstalled_scripts/run02.hql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
CREATE TABLE `partition_table`( | ||
`l_orderkey` int, | ||
`l_partkey` int, | ||
`l_suppkey` int, | ||
`l_linenumber` int, | ||
`l_quantity` decimal(12,2), | ||
`l_extendedprice` decimal(12,2), | ||
`l_discount` decimal(12,2), | ||
`l_tax` decimal(12,2), | ||
`l_returnflag` string, | ||
`l_linestatus` string, | ||
`l_shipdate` date, | ||
`l_commitdate` date, | ||
`l_receiptdate` date, | ||
`l_shipinstruct` string, | ||
`l_shipmode` string, | ||
`l_comment` string) | ||
partitioned by (nation string, city string) | ||
ROW FORMAT SERDE | ||
'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe' | ||
STORED AS INPUTFORMAT | ||
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat' | ||
OUTPUTFORMAT | ||
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat' | ||
LOCATION | ||
'/user/doris/preinstalled_data/parquet/partition_table' | ||
TBLPROPERTIES ( | ||
'transient_lastDdlTime'='1661955829'); | ||
|
||
msck repair table partition_table; | ||
|
||
|
23 changes: 23 additions & 0 deletions
23
docker/thirdparties/docker-compose/hive/scripts/create_preinstalled_scripts/run03.hql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
CREATE TABLE `delta_byte_array`( | ||
`c_salutation` string, | ||
`c_first_name` string, | ||
`c_last_name` string, | ||
`c_preferred_cust_flag` string, | ||
`c_birth_country` string, | ||
`c_login` string, | ||
`c_email_address` string, | ||
`c_last_review_date` string, | ||
`c_customer_id` string | ||
) | ||
ROW FORMAT SERDE | ||
'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe' | ||
STORED AS INPUTFORMAT | ||
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat' | ||
OUTPUTFORMAT | ||
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat' | ||
LOCATION | ||
'/user/doris/preinstalled_data/different_types_parquet/delta_byte_array' | ||
TBLPROPERTIES ( | ||
'transient_lastDdlTime'='1661955829'); | ||
|
||
|
16 changes: 16 additions & 0 deletions
16
docker/thirdparties/docker-compose/hive/scripts/create_preinstalled_scripts/run04.hql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
CREATE TABLE `delta_length_byte_array`( | ||
`FRUIT` string | ||
) | ||
ROW FORMAT SERDE | ||
'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe' | ||
STORED AS INPUTFORMAT | ||
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat' | ||
OUTPUTFORMAT | ||
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat' | ||
LOCATION | ||
'/user/doris/preinstalled_data/different_types_parquet/delta_length_byte_array' | ||
TBLPROPERTIES ( | ||
'transient_lastDdlTime'='1661955829'); | ||
|
||
msck repair table delta_length_byte_array; | ||
|
77 changes: 77 additions & 0 deletions
77
docker/thirdparties/docker-compose/hive/scripts/create_preinstalled_scripts/run05.hql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
CREATE EXTERNAL TABLE `delta_binary_packed`( | ||
bitwidth0 bigint, | ||
bitwidth1 bigint, | ||
bitwidth2 bigint, | ||
bitwidth3 bigint, | ||
bitwidth4 bigint, | ||
bitwidth5 bigint, | ||
bitwidth6 bigint, | ||
bitwidth7 bigint, | ||
bitwidth8 bigint, | ||
bitwidth9 bigint, | ||
bitwidth10 bigint, | ||
bitwidth11 bigint, | ||
bitwidth12 bigint, | ||
bitwidth13 bigint, | ||
bitwidth14 bigint, | ||
bitwidth15 bigint, | ||
bitwidth16 bigint, | ||
bitwidth17 bigint, | ||
bitwidth18 bigint, | ||
bitwidth19 bigint, | ||
bitwidth20 bigint, | ||
bitwidth21 bigint, | ||
bitwidth22 bigint, | ||
bitwidth23 bigint, | ||
bitwidth24 bigint, | ||
bitwidth25 bigint, | ||
bitwidth26 bigint, | ||
bitwidth27 bigint, | ||
bitwidth28 bigint, | ||
bitwidth29 bigint, | ||
bitwidth30 bigint, | ||
bitwidth31 bigint, | ||
bitwidth32 bigint, | ||
bitwidth33 bigint, | ||
bitwidth34 bigint, | ||
bitwidth35 bigint, | ||
bitwidth36 bigint, | ||
bitwidth37 bigint, | ||
bitwidth38 bigint, | ||
bitwidth39 bigint, | ||
bitwidth40 bigint, | ||
bitwidth41 bigint, | ||
bitwidth42 bigint, | ||
bitwidth43 bigint, | ||
bitwidth44 bigint, | ||
bitwidth45 bigint, | ||
bitwidth46 bigint, | ||
bitwidth47 bigint, | ||
bitwidth48 bigint, | ||
bitwidth49 bigint, | ||
bitwidth50 bigint, | ||
bitwidth51 bigint, | ||
bitwidth52 bigint, | ||
bitwidth53 bigint, | ||
bitwidth54 bigint, | ||
bitwidth55 bigint, | ||
bitwidth56 bigint, | ||
bitwidth57 bigint, | ||
bitwidth58 bigint, | ||
bitwidth59 bigint, | ||
bitwidth60 bigint, | ||
bitwidth61 bigint, | ||
bitwidth62 bigint, | ||
bitwidth63 bigint, | ||
bitwidth64 bigint, | ||
int_value int | ||
) | ||
STORED AS parquet | ||
LOCATION | ||
'/user/doris/preinstalled_data/different_types_parquet/delta_binary_packed' | ||
TBLPROPERTIES ( | ||
'transient_lastDdlTime'='1661955829'); | ||
|
||
msck repair table delta_binary_packed; | ||
|
||
|
33 changes: 33 additions & 0 deletions
33
docker/thirdparties/docker-compose/hive/scripts/create_preinstalled_scripts/run06.hql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
CREATE TABLE `delta_encoding_required_column`( | ||
c_customer_sk int, | ||
c_current_cdemo_sk int, | ||
c_current_hdemo_sk int, | ||
c_current_addr_sk int, | ||
c_first_shipto_date_sk int, | ||
c_first_sales_date_sk int, | ||
c_birth_day int, | ||
c_birth_month int, | ||
c_birth_year int, | ||
c_customer_id string, | ||
c_salutation string, | ||
c_first_name string, | ||
c_last_name string, | ||
c_preferred_cust_flag string, | ||
c_birth_country string, | ||
c_email_address string, | ||
c_last_review_date string | ||
) | ||
ROW FORMAT SERDE | ||
'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe' | ||
STORED AS INPUTFORMAT | ||
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat' | ||
OUTPUTFORMAT | ||
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat' | ||
LOCATION | ||
'/user/doris/preinstalled_data/different_types_parquet/delta_encoding_required_column/' | ||
TBLPROPERTIES ( | ||
'transient_lastDdlTime'='1661955829'); | ||
|
||
msck repair table delta_encoding_required_column; | ||
|
||
|
29 changes: 29 additions & 0 deletions
29
docker/thirdparties/docker-compose/hive/scripts/create_preinstalled_scripts/run07.hql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
CREATE EXTERNAL TABLE `delta_encoding_optional_column`( | ||
c_customer_sk int, | ||
c_current_cdemo_sk int, | ||
c_current_hdemo_sk int, | ||
c_current_addr_sk int, | ||
c_first_shipto_date_sk int, | ||
c_first_sales_date_sk int, | ||
c_birth_year int, | ||
c_customer_id string, | ||
c_salutation string, | ||
c_first_name string, | ||
c_last_name string, | ||
c_preferred_cust_flag string, | ||
c_birth_country string | ||
) | ||
ROW FORMAT SERDE | ||
'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe' | ||
STORED AS INPUTFORMAT | ||
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat' | ||
OUTPUTFORMAT | ||
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat' | ||
LOCATION | ||
'/user/doris/preinstalled_data/different_types_parquet/delta_encoding_optional_column' | ||
TBLPROPERTIES ( | ||
'transient_lastDdlTime'='1661955829'); | ||
|
||
msck repair table delta_encoding_optional_column; | ||
|
||
|
18 changes: 18 additions & 0 deletions
18
docker/thirdparties/docker-compose/hive/scripts/create_preinstalled_scripts/run08.hql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
CREATE TABLE `datapage_v1_snappy_compressed_checksum`( | ||
`a` int, | ||
`b` int | ||
) | ||
ROW FORMAT SERDE | ||
'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe' | ||
STORED AS INPUTFORMAT | ||
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat' | ||
OUTPUTFORMAT | ||
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat' | ||
LOCATION | ||
'/user/doris/preinstalled_data/different_types_parquet/datapage_v1-snappy-compressed-checksum' | ||
TBLPROPERTIES ( | ||
'transient_lastDdlTime'='1661955829'); | ||
|
||
msck repair table datapage_v1_snappy_compressed_checksum; | ||
|
||
|
17 changes: 17 additions & 0 deletions
17
docker/thirdparties/docker-compose/hive/scripts/create_preinstalled_scripts/run09.hql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
CREATE TABLE `overflow_i16_page_cnt`( | ||
`inc` boolean | ||
) | ||
ROW FORMAT SERDE | ||
'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe' | ||
STORED AS INPUTFORMAT | ||
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat' | ||
OUTPUTFORMAT | ||
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat' | ||
LOCATION | ||
'/user/doris/preinstalled_data/different_types_parquet/overflow_i16_page_cnt' | ||
TBLPROPERTIES ( | ||
'transient_lastDdlTime'='1661955829'); | ||
|
||
msck repair table overflow_i16_page_cnt; | ||
|
||
|
29 changes: 29 additions & 0 deletions
29
docker/thirdparties/docker-compose/hive/scripts/create_preinstalled_scripts/run10.hql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
CREATE TABLE `alltypes_tiny_pages`( | ||
bool_col boolean, | ||
tinyint_col int, | ||
smallint_col int, | ||
int_col int, | ||
bigint_col bigint, | ||
float_col float, | ||
double_col double, | ||
id int, | ||
date_string_col string, | ||
string_col string, | ||
timestamp_col timestamp, | ||
year int, | ||
month int | ||
) | ||
ROW FORMAT SERDE | ||
'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe' | ||
STORED AS INPUTFORMAT | ||
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat' | ||
OUTPUTFORMAT | ||
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat' | ||
LOCATION | ||
'/user/doris/preinstalled_data/different_types_parquet/alltypes_tiny_pages' | ||
TBLPROPERTIES ( | ||
'transient_lastDdlTime'='1661955829'); | ||
|
||
msck repair table alltypes_tiny_pages; | ||
|
||
|
28 changes: 28 additions & 0 deletions
28
docker/thirdparties/docker-compose/hive/scripts/create_preinstalled_scripts/run11.hql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
CREATE TABLE `alltypes_tiny_pages_plain`( | ||
bool_col boolean, | ||
tinyint_col int, | ||
smallint_col int, | ||
int_col int, | ||
bigint_col bigint, | ||
float_col float, | ||
double_col double, | ||
id int, | ||
date_string_col string, | ||
string_col string, | ||
timestamp_col timestamp, | ||
year int, | ||
month int | ||
) | ||
ROW FORMAT SERDE | ||
'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe' | ||
STORED AS INPUTFORMAT | ||
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat' | ||
OUTPUTFORMAT | ||
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat' | ||
LOCATION | ||
'/user/doris/preinstalled_data/different_types_parquet/alltypes_tiny_pages_plain' | ||
TBLPROPERTIES ( | ||
'transient_lastDdlTime'='1661955829'); | ||
|
||
msck repair table alltypes_tiny_pages_plain; | ||
|
Oops, something went wrong.