会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
funny_coding
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
9
10
···
20
下一页
2019年7月1日
row_number over( partition by xx)
摘要: 在原始表中 新加一个临时列 去重, 排序 比多次join性能提高很多 http://www.mysqltutorial.org/mysql window functions/mysql row_number function/
阅读全文
posted @ 2019-07-01 20:31 funny_coding
阅读(1654)
评论(0)
推荐(0)
2019年6月30日
linux openjdk安装
摘要: Ubuntu sudo apt-get install openjdk-8-jdk 默认提示是 sudo apt-get install openjdk-8-jre, 这个只有jre Centos yum search openjdk yum -y install java-1.8.0-openjd
阅读全文
posted @ 2019-06-30 15:00 funny_coding
阅读(3655)
评论(0)
推荐(0)
2019年6月29日
ffmpeg直播系统
摘要: ##1.HLS协议 http live streaming 将本地文件或者摄像头视频转成hls流文件 https://www.ffmpeg.org/ffmpeg-all.html#hls-2 ##2.rtmp流协议 需要nginx-rtmp-module 编译过程有很多依赖 参考 https://w
阅读全文
posted @ 2019-06-29 23:39 funny_coding
阅读(1118)
评论(0)
推荐(0)
2019年6月28日
flink 基本原理
摘要: state状态操作 https://ci.apache.org/projects/flink/flink docs release 1.8/concepts/programming model.html stateful operations kv的状态,来源不同的source 会自动分片到 固定的
阅读全文
posted @ 2019-06-28 10:55 funny_coding
阅读(221)
评论(0)
推荐(0)
2019年6月26日
flink分层 api
摘要: 最底层的processFunction 功能强大,使用复杂 中间层的DataSet api map reduce 。。。一些基本运算api 中上层的tableAPI 最上层 SQL 两个相似,只是写法上的不同
阅读全文
posted @ 2019-06-26 23:41 funny_coding
阅读(742)
评论(0)
推荐(0)
flink测试用例编写
摘要: 使用tableFunction的collect总是npe, 实际可以自定义collector, 在collector中做自己想做的事 不使用现成的collector
阅读全文
posted @ 2019-06-26 22:07 funny_coding
阅读(1103)
评论(0)
推荐(0)
2019年6月11日
使用mybatis的动态sql解析能力生成sql
摘要: 需求: 计算平台,有很多表,打算提供一个基于sql的服务接口, sql不能完全在配置页面写死, 要能根据参数不同执行不同的语义,防止sql个数爆炸 把mybatis原码down下来, 改造一下测试用例, 观察一下动态sql的原理 可以看出IfSqlNode WhereSqlNode....这些sql
阅读全文
posted @ 2019-06-11 20:18 funny_coding
阅读(5994)
评论(2)
推荐(1)
2019年5月27日
大数据量显示问题
摘要: 几w条数据显示出来, 不适合用条形图, 改用拆线图 实际不是全部显示,而是跳着显示
阅读全文
posted @ 2019-05-27 10:09 funny_coding
阅读(253)
评论(0)
推荐(0)
2019年5月25日
vue使用日记
摘要: https://cn.vuejs.org/api/options-state.html#methods 使用vue-cli生成单页应用框架, npm run serve之后即可开始修改src目录下面的js css文件(index.html可以保持不动), 自动热部署 , 前端框架就已经搭起来了。 w
阅读全文
posted @ 2019-05-25 16:48 funny_coding
阅读(460)
评论(0)
推荐(0)
2019年5月1日
grafana使用小节
摘要: 安装准备 安装grafana localhost:3000 user/password admin/admin 1.集成mysql数据源 安装mysql 新建数据源,支持mysql 数据库连接失败处理: https://www.jianshu.com/p/684bc3a77ac9 新建面板 配置sq
阅读全文
posted @ 2019-05-01 12:21 funny_coding
阅读(342)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
20
下一页
公告
build beautiful things, share happiness