摘要: #获取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 阅读(8) 评论(0) 推荐(0)
摘要: ![image](https://img2024.cnblogs.com/blog/986761/202508/986761-20250801133820953-625510952.png) 阅读全文
posted @ 2025-08-01 13:38 chenzechao 阅读(24) 评论(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 阅读(103) 评论(0) 推荐(0)
摘要: ![image](https://img2024.cnblogs.com/blog/986761/202507/986761-20250722091247168-1382730217.png) 阅读全文
posted @ 2025-07-22 09:13 chenzechao 阅读(43) 评论(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 阅读(6) 评论(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 阅读(84) 评论(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 阅读(21) 评论(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)
摘要: 前言IDEA 中提供了很多快捷键,点击File --> Settings --> keymap便可进入看到 IDEA 提供的快捷键。我们也可以搜索和自定义所有快捷键,下面给出的是 IDEA 中默认的快捷键; 一. Ctrl相关 Ctrl + F 在当前文件进行文本查找 (必备)Ctrl + R 在当 阅读全文
posted @ 2025-06-27 18:28 chenzechao 阅读(22) 评论(0) 推荐(0)
摘要: 原因 无记录history,导致向上时为空,从而无法查看 修复 export HISTSIZE=500 export HISTTIMEFORMAT='%F %T' set -o history 检查列表 set -o | grep history echo $HISTSIZE history 阅读全文
posted @ 2025-05-23 09:36 chenzechao 阅读(140) 评论(0) 推荐(0)