【大数据】-- dataworks 创建odps 的 hudi 外表
文档:创建OSS外部表_云原生大数据计算服务 MaxCompute(MaxCompute)-阿里云帮助中心
举例:创建 odps 的 hudi 外表
CREATE EXTERNAL TABLE IF NOT EXISTS my_project.ods_hudi_mysql_words_h_all
(
id BIGINT COMMENT '主键id'
,`words` STRING COMMENT '词条'
,`type` BIGINT COMMENT '类型,0:所有 1、未知'
,`create_time` BIGINT COMMENT '创建时间'
,`update_time` BIGINT COMMENT '修改时间'
,`delete_status` BIGINT COMMENT '删除状态,0正常,1已删除'
,`delete_time` BIGINT COMMENT '删除时间'
,update_time_new BIGINT COMMENT '修改时间 + transaction_id'
,schema_name STRING COMMENT '库名'
,table_name