上一页 1 2 3 4 5 6 7 8 ··· 22 下一页

2022年9月20日

MYSQL查询指定分区数据

摘要: select * from table_a partition(p1) 阅读全文

posted @ 2022-09-20 15:36 滚动的蛋 阅读(258) 评论(0) 推荐(0) 编辑

2022年9月7日

windows 合并同文件夹 csv文件

摘要: 1、将所有的csv文件放到一个文件夹,位置任意。2、打开cmd,切换到存放csv的文件夹,也可以在csv文件夹中,按住shift加鼠标右键,选择在此处打开命令窗口。3、输入copy *.csv all.csv,all-group的名字,可以任意。然后按enter,等待完成就可以了。4、打开csv文件 阅读全文

posted @ 2022-09-07 16:55 滚动的蛋 阅读(239) 评论(0) 推荐(0) 编辑

2022年6月20日

Clickhouse 分组查询排序取第一条数据

摘要: Clickhouse 分组查询排序取第一条数据 -- Note: Unless you save your query, these tabs will NOT persist if you clear your cookies or change browsers. SELECT vin, veh 阅读全文

posted @ 2022-06-20 14:44 滚动的蛋 阅读(4230) 评论(0) 推荐(0) 编辑

2022年3月25日

网关统一配置跨域支持

摘要: spring: cloud: gateway: globalcors: corsConfigurations: '[/**]': allowedHeaders: "*" allowedOriginPatterns: "*" allowCredentials: true allowedMethods: 阅读全文

posted @ 2022-03-25 11:39 滚动的蛋 阅读(27) 评论(0) 推荐(0) 编辑

2022年3月18日

找不对自定义typeHandler:java.lang.IllegalStateException: No typehandler found for mapping ...

摘要: 1、自定义typeHandler package com.apollo.cloud.common.core.mybatis.typehandler; import java.sql.CallableStatement; import java.sql.PreparedStatement; impor 阅读全文

posted @ 2022-03-18 11:57 滚动的蛋 阅读(267) 评论(0) 推荐(0) 编辑

2022年2月18日

Mybaits-plus 开启SQL日志的两种方式

摘要: 方式1: mybatis-plus: configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #开启sql日志 方式2: logging: level: com.fawvw.ftb3.tdp.main.adapter. 阅读全文

posted @ 2022-02-18 16:27 滚动的蛋 阅读(759) 评论(0) 推荐(0) 编辑

2022年1月7日

mysql查看被锁住的表

摘要: 锁表导致CPU飙升 >查询是否锁表 show OPEN TABLES where In_use > 0; >查看所有进程,找到 waiting for lockMySQL: show processlist; Mariabd: show full processlist; >查询到相对应的进程,然后 阅读全文

posted @ 2022-01-07 14:20 滚动的蛋 阅读(500) 评论(0) 推荐(0) 编辑

2022年1月6日

Spark基础+性能优化

摘要: 基础篇:https://tech.meituan.com/2016/04/29/spark-tuning-basic.html高级篇:https://tech.meituan.com/2016/05/12/spark-tuning-pro.html 阅读全文

posted @ 2022-01-06 12:55 滚动的蛋 阅读(21) 评论(0) 推荐(0) 编辑

2021年11月16日

Spark 写Hive指定动态分区

摘要: 1、设置 SparkSession.Builder builder = SparkSession .builder() .config(conf) .master("yarn") .config("hive.exec.dynamici.partition", true) .config("hive. 阅读全文

posted @ 2021-11-16 14:37 滚动的蛋 阅读(1030) 评论(0) 推荐(0) 编辑

2021年10月26日

Maven打包包含jar包

摘要: <build> <resources> <resource> <directory>src/main/resources/assembly/</directory> <includes> <include>conf/**</include> </includes> <filtering>true</ 阅读全文

posted @ 2021-10-26 17:20 滚动的蛋 阅读(170) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 ··· 22 下一页

导航