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

数据为:

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


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

边栏推荐
- What can one line of code do?
- Linux-MySQL数据库之高级SQL 语句一
- Tensorflow loading cifar10 dataset
- Process control and method
- Bypass technology to talk about 'cross end'
- Blue Bridge Cup - practice system login
- White screen, how fouc is formed, and how to avoid it
- 报错:homebrew-core is a shallow clone
- 赫尔辛基交通安全改善项目部署Velodyne Lidar智能基础设施解决方案
- GO语言-锁操作
猜你喜欢
Take you to the open source project of smart home: the preliminary configuration of zhiting home cloud and home assistant+ homebridge

Day_ eleven

iVX低代码平台系列详解 -- 概述篇(一)

Nsurlsession learning notes (III) download task

Alvaria announces Jeff cotten, a veteran of the customer experience industry, as its new CEO

Principle analysis of ThreadLocal source code

Preliminary understanding of JVM

Day_ ten

error Parsing error: Unexpected reserved word ‘await‘.

Swift responsive programming
随机推荐
Once the code was encrypted by the company's computer, the compilation failed
Educational administration system development (php+mysql)
The style of the mall can also change a lot. DIY can learn about it!
Unity技术手册 - 生命周期内大小(Size over Lifetime)和速度决定大小(Size by Speed)
f_ Read function [easy to understand]
绕过技术聊'跨端'......
Take you to the open source project of smart home: the preliminary configuration of zhiting home cloud and home assistant+ homebridge
Coredata data persistence
20省市公布元宇宙路线图
AutoK3s v0.5.0 发布 延续简约和友好
Stop "outsourcing" Ai models! The latest research finds that some "back doors" that undermine the security of machine learning models cannot be detected
Read mysql45 lecture - index
Day_ 04
Vscode有什么好用的插件?
Webgl and webgpu comparison [4] - uniform
What processes are needed to build a wechat applet from scratch?
Most commonly used SQL statements
flutter
Activation and value transfer of activity
[Third Party framework] retrofit2 (2) - add point configuration of network access framework