当前位置:网站首页>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
边栏推荐
- WordPress plug-in: WP CHINA Yes solution to slow domestic access to the official website
- selenium.common.exceptions.WebDriverException: Message: ‘chromedriver‘ executable needs to be in PAT
- 山东大学软件学院项目实训-创新实训-网络安全靶场实验平台(七)
- antd dropdown + modal + textarea导致的textarea光标不可被键盘控制问题
- nc基础用法
- 还在用 ListView?使用 AnimatedList 让列表元素动起来
- Command - sudo
- [H264] hevc H264 parsing and frame rate setting of the old version of libvlc
- How about CICC fortune? Is it safe to open an account
- SRS 的部署
猜你喜欢
Computing the intersection of two planes in PCL point cloud processing (51)
Deep learning -- Summary of Feature Engineering
考研英语唐叔的语法课笔记
Leetcode XOR operation
STM32 Basics
【webrtc】Add x264 encoder for CEF/Chromium
php参考手册String(7.2千字)
SIGIR'22「微软」CTR估计:利用上下文信息促进特征表征学习
antd dropdown + modal + textarea导致的textarea光标不可被键盘控制问题
Possible root causes include a too low setting for -Xss and illegal cyclic inheritance dependencies
随机推荐
图书管理数据库系统设计
SRS deployment
NC basic usage
[H264] hevc H264 parsing and frame rate setting of the old version of libvlc
uIP1. 0 actively sent problem understanding
PCL点云处理之基于PCA的几何形状特征计算(五十二)
本地调用feign接口报404
[webrtc] add x264 encoder for CEF / Chromium
Redis distributed lock
Possible root causes include a too low setting for -Xss and illegal cyclic inheritance dependencies
Cadence Orcad Capture CIS更换元器件之Link Database 功能介绍图文教程及视频演示
Project training of Software College of Shandong University - Innovation Training - network security shooting range experimental platform (V)
Record: call mapper to report null pointer Foreach > the usage of not removing repetition;
SRS 的部署
Mfcc: Mel frequency cepstrum coefficient calculation of perceived frequency and actual frequency conversion
MySQL数据库 - 数据库和表的基本操作(二)
Mysql database backup scheme
php参考手册String(7.2千字)
WordPress插件:WP-China-Yes解决国内访问官网慢的方法
Devops integration - environment variables and building tools of Jenkins service