当前位置:网站首页>Sqoop imports tinyint type fields to boolean type
Sqoop imports tinyint type fields to boolean type
2022-04-23 20:12:00 【My brother is not strong enough to fight】
See the website :
The official website explains as follows :
Mysql in tinyint(1) when , After data import to HDFS when , This field will be converted to by default boolean data type , Loss of data content ( All become NULL).
Solution :
stay --connect After the parameter jdbc Add parameters to the connection :tinyInt1isBit=false
Be careful :
If you have more than one parameter , You need to use double quotes to enclose the entire parameter value
Such as :--connect "jdbc:mysql://ip:3306/db?serverTimezone=Asia/Shanghai&tinyInt1isBit=false"
result :
Yes flase convert to 0 了
![]()
版权声明
本文为[My brother is not strong enough to fight]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204210556213843.html
边栏推荐
- Mysql database - connection query
- nc基础用法3
- How to create bep-20 pass on BNB chain
- SRS 的部署
- SRS deployment
- IIS data conversion problem: 16bit to 24bit
- PCL点云处理之直线与平面的交点计算(五十三)
- Mysql database - single table query (II)
- R语言使用caret包的preProcess函数进行数据预处理:对所有的数据列进行BoxCox变换处理(将非正态分布数据列转换为正态分布数据、不可以处理负数)、设置method参数为BoxCox
- Is the wechat CICC wealth high-end zone safe? How to open an account for securities
猜你喜欢

Mfcc: Mel frequency cepstrum coefficient calculation of perceived frequency and actual frequency conversion

C6748 software simulation and hardware test - with detailed FFT hardware measurement time

CVPR 2022 | QueryDet:使用级联稀疏query加速高分辨率下的小目标检测

【数值预测案例】(3) LSTM 时间序列电量预测,附Tensorflow完整代码

Unity创建超写实三维场景的一般步骤

山东大学软件学院项目实训-创新实训-网络安全靶场实验平台(七)

如何在BNB鏈上創建BEP-20通證

【webrtc】Add x264 encoder for CEF/Chromium

Possible root causes include a too low setting for -Xss and illegal cyclic inheritance dependencies

如何在BNB链上创建BEP-20通证
随机推荐
R language uses timeroc package to calculate the multi time AUC value of survival data under competitive risk, uses Cox model and adds covariates, and R language uses the plotauccurve function of time
IIS data conversion problem: 16bit to 24bit
CVPR 2022 | querydet: use cascaded sparse query to accelerate small target detection under high resolution
Project training of Software College of Shandong University - Innovation Training - network security shooting range experimental platform (V)
R语言使用timeROC包计算存在竞争风险情况下的生存资料多时间AUC值、使用cox模型、并添加协变量、R语言使用timeROC包的plotAUCcurve函数可视化多时间生存资料的AUC曲线
Openharmony open source developer growth plan, looking for new open source forces that change the world!
[H264] hevc H264 parsing and frame rate setting of the old version of libvlc
仓库管理数据库系统设计
Record: call mapper to report null pointer Foreach > the usage of not removing repetition;
Openharmony open source developer growth plan, looking for new open source forces that change the world!
Video understanding
Possible root causes include a too low setting for -Xss and illegal cyclic inheritance dependencies
SIGIR'22「微软」CTR估计:利用上下文信息促进特征表征学习
Mysql database - single table query (III)
Intersection calculation of straight line and plane in PCL point cloud processing (53)
nc基础用法1
Kubernetes entry to mastery - bare metal loadbalance 80 443 port exposure precautions
Remote code execution in Win 11 using wpad / PAC and JScript
redis 分布式锁
R language uses the preprocess function of caret package for data preprocessing: BoxCox transform all data columns (convert non normal distribution data columns to normal distribution data and can not