数据湖探索 DLI-创建DLI表关联DDS:示例

时间:2023-11-10 09:19:36

示例

1
2
3
4
5
6
create table 1_datasource_mongo.test_mongo(id string, name string, age int) using mongo options(
  'url' = '192.168.4.62:8635,192.168.5.134:8635/test?authSource=admin',
  'database' = 'test',
  'collection' = 'test',
  'passwdauth' = 'xxx',
  'encryption' = 'true');
support.huaweicloud.com/sqlref-spark-dli/dli_08_0230.html