redis數據庫建表的方法:
在DMS for Data Lake Analytics中創建表dla_person_csv,代碼如下:
CREATE EXTERNAL TABLE dla_person_csv (id int,name varchar,age int) TBLPROPERTIES (COLUMN_MAPPING = 'id,0;name,1;age,2',TABLE_MAPPING = 'world_',format = 'csv');
CREATE EXTERNAL TABLE dla_person_csv (
id int,
name varchar,
age int
) TBLPROPERTIES (
COLUMN_MAPPING = 'id,0;name,1;age,2',
TABLE_MAPPING = 'world_',
format = 'csv'
);
億速云公眾號
手機網站二維碼
Copyright ? Yisu Cloud Ltd. All Rights Reserved. 2018 版權所有
廣州億速云計算有限公司粵ICP備17096448號-1 粵公網安備 44010402001142號增值電信業務經營許可證編號:B1-20181529