数据湖探索 DLI-创建RDS跨源表提示空指针错误怎么办?:原因分析

时间:2025-02-12 15:00:38

原因分析

客户建表语句:

CREATE TABLE IF NOT EXISTS dli_to_rds USING JDBC OPTIONS ( 'url'='jdbc:mysql://to-rds-1174405119-oLRHAGE7.datasource.com:5432/postgreDB', 'driver'='org.postgresql.Driver', 'dbtable'='pg_schema.test1', 'passwdauth' = 'xxx', 'encryption' = 'true');

客户的RDS数据库为PostGre集群,url的协议头填写错误导致。

support.huaweicloud.com/dli_faq/dli_03_0250.html