datasource_task 数据源任务表 ===================================== ## 字段 | 列名 | 类型 | 是否非空 | 默认值 | 备注 | | -------------- | ------------ | -------- | ------ | --------------------------------------------------- | | id | int | not null | null | 任务自增 ID | | table_name | varchar(200) | -- | null | 数据表名 | | creator_id | varchar(255) | -- | null | 任务创建用户 id | | integrate_type | smallint | -- | null | 导入方式:0->新建表,1->导入到已有表 | | createtime | long | -- | null | 创建时间 | | status | smallint | -- | null | 状态。 0-进行中,1-完成,2-失败, 3-下载中, 4-导入中 | | remark | varchar(200) | -- | null | 备注 | | costtime | long | -- | null | 任务用时 | | data_type | smallint | -- | null | 数据类型,1-矢量,2-栅格,3-关系型 | | msg | varchar(255) | -- | null | 消息 | | task_type | smallint | -- | null | 0-普通任务,1-spark 任务 | | task_id | varchar(255) | -- | null | thread id or spark id | ## 索引 | 字段 | 唯一索引 | 备注 | | ---- | -------- | ---- | | 无 | | | ## 说明 ## 建表语句 CREATE TABLE `integrate_task` ( `id` int(11) NOT NULL AUTO_INCREMENT, `table_name` varchar(200) DEFAULT NULL, `creator_id` varchar(255) DEFAULT '', `integrate_type` smallint(6) DEFAULT NULL, `createtime` bigint(20) DEFAULT NULL, `status` smallint(6) DEFAULT NULL, `remark` varchar(200) DEFAULT NULL, `costtime` bigint(20) DEFAULT NULL, `data_type` smallint(6) DEFAULT NULL, `msg` text DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=102 DEFAULT CHARSET=utf8;