1 2 3 4 5 ··· 39 下一页
摘要: 问题: 遇到一个奇怪的问题,SQL执行正常,但如果查询的时间段超过一个月则执行报错。 环境信息 select current_version() as version; -- 3.3.20-1.3.0-202512081638-7f00bc3 查询SQL如下 whit data_top as ( s 阅读全文
posted @ 2025-12-26 17:40 chenzechao 阅读(15) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/m0_61066945/article/details/135181827 阅读全文
posted @ 2025-11-12 14:39 chenzechao 阅读(6) 评论(0) 推荐(0)
摘要: #获取ETL任务跑批开始日期[默认取上月1号] ETL_START_DATE="${ETL_START_DATE:-`date -d "${bizdate:0:6}01 - 1 months" +"%Y%m%d"`}" #获取ETL任务跑批结束日期[默认取T-1] ETL_END_DATE="${E 阅读全文
posted @ 2025-08-08 10:38 chenzechao 阅读(11) 评论(0) 推荐(0)
摘要: ![image](https://img2024.cnblogs.com/blog/986761/202508/986761-20250801133820953-625510952.png) 阅读全文
posted @ 2025-08-01 13:38 chenzechao 阅读(32) 评论(0) 推荐(0)
摘要: JDK11之后不再提供JRE下载包,可以由JDK生成,命令如下 bin/jlink --module-path "/usr/local/jdk17/jmods" --add-modules ALL-MODULE-PATH --output jre 阅读全文
posted @ 2025-07-25 15:29 chenzechao 阅读(127) 评论(0) 推荐(0)
摘要: ![image](https://img2024.cnblogs.com/blog/986761/202507/986761-20250722091247168-1382730217.png) 阅读全文
posted @ 2025-07-22 09:13 chenzechao 阅读(46) 评论(0) 推荐(0)
摘要: select @cnt_before := count(1) as cnt from api_log ; select @cnt_before as 'cnt_刷新前',count(1) as 'cnt_刷新后' from api_log limit 10; 阅读全文
posted @ 2025-07-16 09:25 chenzechao 阅读(9) 评论(0) 推荐(0)
摘要: mvn -X versions:set -DnewVersion="1.2.0-SNAPSHOT" mvn versions:commit mvn versions:revert 在IDEA中执行CTRL+SHIFT+R,选择xml进行替换即可。 阅读全文
posted @ 2025-07-15 09:35 chenzechao 阅读(102) 评论(0) 推荐(0)
摘要: select api_path ,avg(time ) as time_avg ,max(case when rn = cast(cn * 0.5 as UNSIGNED) then time end) as time_p50 ,max(case when rn = cast(cn * 0.8 as 阅读全文
posted @ 2025-07-14 18:43 chenzechao 阅读(43) 评论(0) 推荐(0)
摘要: -- 自定义排序 select FIND_IN_SET(str, 'a,b,c,d,e') as str_fis ,str from ( select 'b' as str union all select 'a' as str union all select 'd' as str union a 阅读全文
posted @ 2025-07-08 14:17 chenzechao 阅读(8) 评论(0) 推荐(0)
1 2 3 4 5 ··· 39 下一页