数据湖探索 DLI-创建Redis表:示例

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

示例

Redis表用于与输入流连接。
CREATE TABLE table_a (attr1 string, attr2 string, attr3 string)
  WITH (
    type = "dcs_redis",
    value_type = "hash",
    key_column = "attr1",
    hash_key_column = "attr2",
    cluster_address = "192.168.1.238:6379",
    password = "xxxxxxxx"
 );
support.huaweicloud.com/sqlreference-dli/dli_08_0260.html