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

时间:2024-11-16 13:21:43

语法格式

 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