当前位置:网站首页>How does kettle handle text data transfer as' 'instead of null
How does kettle handle text data transfer as' 'instead of null
2022-07-27 08:02:00 【Shenzhi Kalan Temple】
kettle Sometimes, field data is empty during transmission , yes null, However, the target field of transmission should be non empty
such as kettle Three fields were transferred ,id,name,age, Text character this field is empty , What's coming in is null, Field limit error will be reported
This time we can in ${KETTLE_HOME}/.kettle/kettle.properties Add a sentence to the document
# Auto fill blank is ''
KETTLE_EMPTY_STRING_DIFFERS_FROM_NULL=Y
Then for the empty characters in the file , Will automatically switch to ''
tips: This field is only applicable to STRING Type validation , Because the interface tables are all STRING The type field , In this case, time , Numeric fields are also passed in '', An error will be reported when the interface table is imported into the main table :'' Can not act as DATE or NUMBER
resolvent :1. When text data is transferred into the interface table , Even if the field type of the interface table is character , Still select its main table field type , Instead of blindly setting STRING
2. Set all to STRING, When the interface table is converted to the main table, the non character fields are case when col1 = '' then null else col1 end col1 transformation
边栏推荐
- API version control [eolink translation]
- [applet] how to get wechat applet code upload key?
- How to update PIP3? And running PIP as the 'root' user can result in broken permissions and conflicting behavior
- Bash: sudo: command not found in container
- 实用的新药研发项目管理平台
- opengauss从库停掉,发现主库无法写入数据
- 帮个忙呗~不关注不登录,不到一分钟的一个问卷
- 存储过程与函数
- 【飞控开发基础教程4】疯壳·开源编队无人机-串口(光流数据获取)
- What is the real HTAP? (1) Background article
猜你喜欢

如何获取广告服务流量变现数据,助力广告效果分析?

企业架构驱动的数字化转型!

Demo submit a program and obtain ALV data of the program
![[applet] how to get wechat applet code upload key?](/img/b4/76e2f12269601c0a969a709ff8a397.png)
[applet] how to get wechat applet code upload key?

2020 International Machine Translation Competition: Volcano translation won five championships

Framework of electronic mass production project -- basic idea

The seta 2020 international academic conference will be held soon. Welcome to attend!
![[day42 literature intensive reading] a Bayesian model of perfect head centered velocity during smooth pursuit eye movement](/img/28/979dceac1454a3e53409a4feb20320.png)
[day42 literature intensive reading] a Bayesian model of perfect head centered velocity during smooth pursuit eye movement

10000 word parsing MySQL index principle -- InnoDB index structure and reading

HU相关配置
随机推荐
增强:BTE流程简介
End of year summary
物来顺应,未来不迎,当时不杂,既过不恋
2020国际机器翻译大赛:火山翻译力夺五项冠军
OpenGL shader learning notes: varying variables
How to analyze and locate problems in 60 seconds?
C#winform 窗体事件和委托结合用法
C language: random generated number + insertion sort
Methods of server network testing
The token verification of applet message push configuration failed. Please check and confirm
Harbor can't log in with the correct password
JS access cookie example
Shell script learning day01
反弹shell是什么?反弹shell有什么用?
glGetUniformLocation,glUniform4f
How to update PIP3? And running PIP as the 'root' user can result in broken permissions and conflicting behavior
opengauss从库停掉,发现主库无法写入数据
杂谈:把肉都烂在锅里就是保障学生权益了?
Shell enterprise interview exercise
Enhancement: BTE process introduction