|
| 1 | +CREATE DATABASE IF NOT EXISTS multi_catalog; |
| 2 | +USE multi_catalog; |
| 3 | + |
| 4 | +CREATE TABLE `multi_catalog.hive_text_complex_type_delimiter3`( |
| 5 | + `id` int, |
| 6 | + `column1` map<int,struct<a:int,b:int,c:array<map<string,array<array<array<array<struct<aa:int,bb:string,cc:boolean>>>>>>>>>, |
| 7 | + `column2` array<struct<a:int,b:array<map<string,map<int,map<string,array<struct<aaa:struct<aa:int,bb:string,cc:boolean>,bbb:boolean,ccc:string,ddd:date>>>>>>,c:int>>, |
| 8 | + `column3` struct<a:int,b:struct<a:array<map<string,array<map<int,map<boolean,array<struct<aa:int,bb:string,cc:boolean>>>>>>>>,c:map<int,string>,d:array<int>>, |
| 9 | + `column4` map<int,map<date,map<int,map<double,map<string,map<int,map<string,map<int,map<int,map<int,boolean>>>>>>>>>>, |
| 10 | + `column5` array<array<array<array<array<array<array<array<array<array<int>>>>>>>>>>, |
| 11 | + `column6` struct<a:map<int,map<int,map<string,string>>>,b:struct<aa:struct<aaa:struct<aaaa:struct<aaaaa:struct<aaaaaa:struct<aaaaaaa:struct<aaaaaaaa:struct<a1:int,a2:string>,bbbbbbbb:map<int,int>>,bbbbbbb:array<string>>>>,bbbb:map<int,double>>>,bb:date>,c:date>) |
| 12 | +ROW FORMAT SERDE |
| 13 | + 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' |
| 14 | +WITH SERDEPROPERTIES ( |
| 15 | + 'collection.delim'=',', |
| 16 | + 'hive.serialization.extend.nesting.levels'='true', |
| 17 | + 'mapkey.delim'=':') |
| 18 | +STORED AS INPUTFORMAT |
| 19 | + 'org.apache.hadoop.mapred.TextInputFormat' |
| 20 | +OUTPUTFORMAT |
| 21 | + 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' |
| 22 | +LOCATION '/user/doris/suites/multi_catalog/hive_text_complex_type_delimiter3' |
| 23 | +TBLPROPERTIES ( |
| 24 | + 'transient_lastDdlTime'='1693390056'); |
| 25 | + |
| 26 | +msck repair table hive_text_complex_type_delimiter3; |
0 commit comments