数据湖探索 DLI-EdgeHub输出流(EOS):示例

时间:2024-07-01 21:07:18

示例

将数据以csv格式写入到edgeHub主题abcd中。

1
2
3
4
5
6
7
8
9
CREATE SINK STREAM excellent_students(
  name string,
  score int)
WITH (
  type = "edgehub",
  topic = "abcd",
  encode = "csv",
  field_delimiter = ","
);
support.huaweicloud.com/sqlreference-dli/dli_08_0278.html