当前位置:网站首页>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
边栏推荐
- 山东大学软件学院项目实训-创新实训-网络安全靶场实验平台(五)
- CVPR 2022 | QueryDet:使用级联稀疏query加速高分辨率下的小目标检测
- Mysql database - connection query
- R语言ggplot2可视化分面图(facet_wrap)、使用lineheight参数自定义设置分面图标签栏(灰色标签栏)的高度
- 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
- SIGIR'22「微软」CTR估计:利用上下文信息促进特征表征学习
- How about CICC fortune? Is it safe to open an account
- Local call feign interface message 404
- R语言使用caret包的preProcess函数进行数据预处理:对所有的数据列进行BoxCox变换处理(将非正态分布数据列转换为正态分布数据、不可以处理负数)、设置method参数为BoxCox
- 使用 WPAD/PAC 和 JScript在win11中进行远程代码执行3
猜你喜欢
Software College of Shandong University Project Training - Innovation Training - network security shooting range experimental platform (8)
SIGIR'22 "Microsoft" CTR estimation: using context information to promote feature representation learning
The textarea cursor cannot be controlled by the keyboard due to antd dropdown + modal + textarea
基于pytorch搭建GoogleNet神经网络用于花类识别
网络通信基础(局域网、广域网、IP地址、端口号、协议、封装、分用)
Physical meaning of FFT: 1024 point FFT is 1024 real numbers. The actual input to FFT is 1024 complex numbers (imaginary part is 0), and the output is also 1024 complex numbers. The effective data is
Unity创建超写实三维场景的一般步骤
How to create bep-20 pass on BNB chain
Class loading process of JVM
[report] Microsoft: application of deep learning methods in speech enhancement
随机推荐
记录:调用mapper报空指针;<foreach>不去重的用法;
PCL点云处理之直线与平面的交点计算(五十三)
C6748 software simulation and hardware test - with detailed FFT hardware measurement time
SIGIR'22 "Microsoft" CTR estimation: using context information to promote feature representation learning
Kubernetes entry to mastery - bare metal loadbalance 80 443 port exposure precautions
如何做产品创新?——产品创新方法论探索一
selenium. common. exceptions. WebDriverException: Message: ‘chromedriver‘ executable needs to be in PAT
antd dropdown + modal + textarea导致的textarea光标不可被键盘控制问题
Fundamentals of programming language (2)
【数值预测案例】(3) LSTM 时间序列电量预测,附Tensorflow完整代码
Mysql database backup scheme
How about Bohai futures. Is it safe to open futures accounts?
Wave field Dao new species end up, how does usdd break the situation and stabilize the currency market?
VeraCrypt文件硬盘加密使用教程
aqs的学习
Design of warehouse management database system
nc基础用法2
Remote code execution in Win 11 using wpad / PAC and JScript
Kubernetes getting started to proficient - install openelb on kubernetes
nc基础用法