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

时间:2024-07-27 14:12:11

示例

1
2
3
4
5
6
7
8
9
CREATE TABLE test_hbase(
ATTR1 int,
ATTR2 int,
ATTR3 string)
using hbase OPTIONS (
'ZKHost'='to-hbase-1174405101-CE1bDm5B.datasource.com:2181',
'TableName'='HBASE_TABLE',
'RowKey'='ATTR1',
'Cols'='ATTR2:CF1.C1, ATTR3:CF1.C2');
support.huaweicloud.com/sqlreference-dli/dli_08_0119.html