数据湖探索 DLI-文件系统输出流(推荐):语法格式

时间:2024-11-08 09:33:26

语法格式

1
2
3
4
5
6
7
8
9
CREATE SINK STREAM stream_id (attr_name attr_type (',' attr_name attr_type)* )
  [PARTITIONED BY (attr_name (',' attr_name)*]
  WITH (
    type = "filesystem",
    file.path = "obs://bucket/xx",
    encode = "parquet",
    ak = "",
    sk = ""
  );
support.huaweicloud.com/sqlreference-dli/dli_08_0267.html