当前位置:网站首页>Kettle实验
Kettle实验
2022-04-23 09:07:00 【风梳烟】
针对生成数据进行分析,需要处理的点有:
(1)将挂号日期时间设置String,由于不能直接从预设格式中提取日,需要采取字符串截取; (2)对日期和身份证进行字符串截取,分别提取日和省份代码(身份证前两位);
(3)按照待分组的字段进行排序;
(4)对省份和时间段进行值映射;
(4) 进行分组统计。

1. 正式实验
在“Excel输入”组件,设置如下:

在“字段选择”组件,设置如下:

在“剪切字符串”组件,设置如下:
在“排序记录”组件,设置如下:

在“值映射”组件,设置如下: 省份对应表见text文件“身份证号码前两位对应省份”

在“值映射”组件,设置如下:
在“分组”组件,设置如下:
执行,结果如图所示:

版权声明
本文为[风梳烟]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_56814370/article/details/123446986
边栏推荐
- Output first order traversal according to second order and middle order traversal (25 points)
- Brush classic topics
- 计算神经网络推理时间的正确方法
- Matlab draw five-star red flag
- Learn SQL injection in sqli liabs (Level 11 ~ level 20)
- Illegal character in scheme name at index 0:
- What is augmented reality technology? Where can it be used?
- 小程序报错 :should have url attribute when using navigateTo, redirectTo or switchTab
- Error: cannot find or load main class
- Find the sum of simple types of matrices
猜你喜欢
随机推荐
Failed to download esp32 program, prompting timeout
Four pictures to understand some basic usage of Matplotlib
Whether the same binary search tree (25 points)
js 原型链的深入
MySQL小练习(仅适合初学者,非初学者勿进)
PLC的点表(寄存器地址和点表定义)破解探测方案--方便工业互联网数据采集
How does kubernetes use harbor to pull private images
LeetCode_ DFS_ Medium_ 1254. Count the number of closed islands
微信:获取单个标签所有人
653. 两数之和 IV - 输入 BST
资源打包关系依赖树
The crawler returns null when parsing with XPath. The reason why the crawler cannot get the corresponding element and the solution
Valgrind and kcache grind use run analysis
Flink同时读取mysql与pgsql程序会卡住且没有日志
L2-023 graph coloring problem (25 points) (graph traversal)
BK3633 规格书
valgrind和kcachegrind使用运行分析
web页面如何渲染
错误: 找不到或无法加载主类
Output first order traversal according to second order and middle order traversal (25 points)









