当前位置:网站首页>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
边栏推荐
- npm ERR! network
- 2022-04-22 openebs cloud native storage
- MySQL小練習(僅適合初學者,非初學者勿進)
- Flink reads MySQL and PgSQL at the same time, and the program will get stuck without logs
- 调包求得每个样本的k个邻居
- npm报错 :operation not permitted, mkdir ‘C: \Program Files \node js \node_ cache _ cacache’
- 小程序报错:Cannot read property 'currentTarget' of undefined
- Concave hull acquisition method based on convex hull of point cloud
- Multi view depth estimation by fusing single view depth probability with multi view geometry
- Idea package jar file
猜你喜欢
MySQL small exercise (only suitable for beginners, non beginners are not allowed to enter)
653. 两数之和 IV - 输入 BST
Common errors of VMware building es8
Latex paper typesetting operation
Solidity 问题汇总
小程序报错:Cannot read property 'currentTarget' of undefined
[in-depth good article] detailed explanation of Flink SQL streaming batch integration technology (I)
Detailed explanation of delete, truncate and drop principles in MySQL database
valgrind和kcachegrind使用运行分析
Flink SQL realizes the integration of stream and batch
随机推荐
微信:获取单个标签所有人
Data visualization: use Excel to make radar chart
1099 establish binary search tree (30 points)
MySQL小練習(僅適合初學者,非初學者勿進)
Project upload part
小程序报错 :should have url attribute when using navigateTo, redirectTo or switchTab
Summary of solid problems
Valgrind and kcache grind use run analysis
SAP 101K 411K 库存变化
Is Zhongyan futures safe and reliable?
2021 Li Hongyi's adaptive learning rate of machine learning
npm报错 :operation not permitted, mkdir ‘C: \Program Files \node js \node_ cache _ cacache’
Illegal character in scheme name at index 0:
Share the office and improve the settled experience
How to read excel table to database
First principle mind map
Taxable income
资源打包关系依赖树
Consensus Token:web3. 0 super entrance of ecological flow
Brief steps to build a website / application using flash and H5