当前位置:网站首页>kettle实验
kettle实验
2022-04-23 09:07:00 【风梳烟】
1. 恢复MySQL数据库
(1)打开Navicat通过enron-mysqldum_v5.sql文件创建enron数据库
或者使用命令行恢复数据库,注意此处我将sql文件放置在桌面
(2)打开Navicat查看数据库,并新建查询:
SELECT DATE(date) AS dataset, COUNT(mid) AS numMSG
FROM message
GROUP BY date
ORDER BY date
2.打开kettle创建新的转换任务
(1)新建DB连接,设置好后点击测试。
(2)核心对象中找到表输入并配置
SELECT date(date) as datesent, count(mid) as numMsg
from message
where year(date) between 1998 and 2002
group by datesent
order by datesent
(3)配置excel输出
(4)运行转换
版权声明
本文为[风梳烟]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_56814370/article/details/123447789
边栏推荐
- Four pictures to understand some basic usage of Matplotlib
- Trc20 fund collection solution based on thinkphp5 version
- Flink同时读取mysql与pgsql程序会卡住且没有日志
- Resource packaging dependency tree
- Production practice elk
- Latex mathematical formula
- Data visualization: use Excel to make radar chart
- Taxable income
- Withholding agent
- Common errors of VMware building es8
猜你喜欢
Project upload part
计算神经网络推理时间的正确方法
Failed to download esp32 program, prompting timeout
BK3633 规格书
valgrind和kcachegrind使用运行分析
To remember the composition ~ the pre order traversal of binary tree
Harbor enterprise image management system
108. 将有序数组转换为二叉搜索树
EmuElec 编译总结
Leetcode-199 - right view of binary tree
随机推荐
Notes on xctf questions
Latex paper typesetting operation
Machine learning (VI) -- Bayesian classifier
Correct method of calculating inference time of neural network
Go language self-study series | initialization of golang structure
Multi view depth estimation by fusing single view depth probability with multi view geometry
Thread scheduling (priority)
SAP 101K 411k inventory change
How does kubernetes use harbor to pull private images
LeetCode396. Rotate array
Bk3633 specification
Summary of solid problems
Complete binary search tree (30 points)
npm报错 :operation not permitted, mkdir ‘C: \Program Files \node js \node_ cache _ cacache’
L2-3 romantic silhouette (25 points)
Four pictures to understand some basic usage of Matplotlib
2021李宏毅机器学习之Adaptive Learning Rate
Illegal character in scheme name at index 0:
Restore binary tree (25 points)
基于ThinkPHP5版本TRC20-资金归集解决方案