当前位置:网站首页>Kettle表输入组件精度丢失的问题
Kettle表输入组件精度丢失的问题
2022-06-25 15:42:00 【GreyZeng】
作者:Grey
原文地址:Kettle表输入组件精度丢失的问题
kettle 的表输入组件,在默认状态下,查询的浮点数会默认帮你做一些操作(比如保留一位小数,或者四舍五入),这样会导致数据不一致的情况,比如:
数据库中的表结构字段设置为:

数据为:

但是在Kettle中,使用表输入组件,
查询到的结果却是:
解决方案:
点击:编辑 --> 编辑kettle.properties文件


配置如下选项,
KETTLE_DEFAULT_NUMBER_FORMAT 为 #.####
即可。
再次查询,结果正确:

边栏推荐
- Educational administration system development (php+mysql)
- Servlet details
- GO语言-锁操作
- File operation, serialization, recursive copy
- About the use of Aidl, complex data transmission
- Converting cifar10 datasets
- Day_ 04
- Catheon gaming appointed mark Aubrey, former Asia Pacific head of Activision Blizzard, as CEO
- First knowledge of database
- XML usage and parsing of data storage and transmission files
猜你喜欢

Alvaria宣布客户体验行业资深人士Jeff Cotten担任新首席执行官

Lecun predicts AgI: big model and reinforcement learning are both ramps! My "world model" is the new way

GridLayout evenly allocate space

What processes are needed to build a wechat applet from scratch?

一行代码可以做什么?

Reading mysql45 lecture - index continued

Helsinki traffic safety improvement project deploys velodyne lidar Intelligent Infrastructure Solution

Bombard the headquarters. Don't let a UI framework destroy you

炮打司令部,别让一个UI框架把你毁了

What exactly is a handler
随机推荐
Advanced SQL statement 1 of Linux MySQL database
一行代码可以做什么?
Nsurlsession learning notes (III) download task
Data type variable operator
This article will help you understand the common concepts, advantages and disadvantages of JWT
Servlet详解
What can NFT metauniverse development do?
Go language - lock operation
Geographic location data storage scheme - redis Geo
Reverse series to obtain any wechat applet code
Function and implementation of closures
cmd。。。。。。
Deadlock, thread communication, singleton mode
Reading mysql45 lecture - index continued
教务系统开发(PHP+MySQL)
DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detection翻译
Catheon gaming appointed mark Aubrey, former Asia Pacific head of Activision Blizzard, as CEO
JS add custom attributes to elements
Day_ 04
GridLayout evenly allocate space