数据湖探索 DLI-FileSystem结果表:语法格式

时间:2023-11-10 09:20:51

语法格式

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
CREATE TABLE sink_table (
   name string,
   num INT,
   p_day string,
   p_hour string
) partitioned by (p_day, p_hour) WITH (
   'connector' = 'filesystem',
   'path' = 'obs://*** ',
   'format' = 'parquet',
   'auto-compaction' = 'true'
);
support.huaweicloud.com/sqlref-flink-dli/dli_08_0439.html