logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

DataX之MySQL数据写入Hive

1、编写脚本mysql-to-hive.json{"job": {"setting": {"speed": {"channel": 3},"errorLimit": {"record": 0,"percentage": 0.02}},"c

Dolphinscheduler调度DataX配置

1、hive建表create table nf_meat_ods.emp_wide (empno int,ename string,job string,mgr int,hiredate date,sal int,comm int,deptno int,dname string,loc string)ROW format delimited fields terminated BY “,” STO

Linux中MySQL导入csv文件

1、查看secure_file_privshow global variables like ‘%secure_file_priv%’;必须先将csv文件放在MySQL的files文件夹内才能导入:/var/lib/mysql-files/或vi my.cnfsecure_file_priv=2、MySQL插入参数insert ignore当出现主键或唯一索引重复之后,插入会失败,但不会报错,会忽

到底了