Skip to content

Commit

Permalink
create_preinstalled_table for hive3
Browse files Browse the repository at this point in the history
  • Loading branch information
suxiaogang223 committed Apr 7, 2024
1 parent 40d4307 commit b698f8f
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,8 @@ CREATE TABLE `unsupported_type_table`(
k6 int
);

set hive.stats.column.autogather=false;

CREATE TABLE `schema_evo_test_text`(
id int,
name string
Expand Down Expand Up @@ -2440,3 +2442,10 @@ PARTITIONED BY (
`varchar_col` varchar(50))
stored as orc
TBLPROPERTIES("orc.compress"="ZLIB");

create table struct_test(id int,sf struct<f1: int, f2: string>) stored as parquet;
insert into struct_test values
(1, named_struct('f1', 1, 'f2', 's1')),
(2, named_struct('f1', 2, 'f2', 's2')),
(3, named_struct('f1', 3, 'f2', 's3'));
alter table struct_test change sf sf struct<f1:int, f3:string>;

0 comments on commit b698f8f

Please sign in to comment.