摘要: 创建表 create table blog(id UInt64,title String,content String,created_at DateTime)Engine=MergeTree order by id; 日期数据一般指定默认值 create table blog(id UInt64, 阅读全文
posted @ 2023-04-01 15:15 沙漠皇帝 阅读(70) 评论(0) 推荐(0) 编辑
摘要: df = fkline.find('ETHUSDT','1h') p1 = df[:-1] p2 = df[1:].copy() # 下面的index reset要有,否则不是你需要的数据 p1 = p1.reset_index(drop=True) p2 = p2.reset_index(drop 阅读全文
posted @ 2023-03-29 09:53 沙漠皇帝 阅读(577) 评论(0) 推荐(0) 编辑
摘要: db.tempdata.insertMany([ { name: "AAA", age: 14, country: "us" }, { name: "BBB", age: 13, country: "us" }, { name: "CCC", age: 12, country: null }, { 阅读全文
posted @ 2023-03-28 18:14 沙漠皇帝 阅读(62) 评论(0) 推荐(0) 编辑
摘要: nohup ./bin/seata-server.sh -p 8091 -h 172.18.187.194 -m file >log.out 2>1 & 这样一改Ok了 阅读全文
posted @ 2023-03-27 17:07 沙漠皇帝 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 问题 Internal error (java.lang.OutOfMemoryError): Java heap space java.lang.OutOfMemoryError: Java heap space at org.jetbrains.jps.incremental.storage.F 阅读全文
posted @ 2023-03-24 11:51 沙漠皇帝 阅读(82) 评论(0) 推荐(0) 编辑
摘要: @Field(value = "operation_type") @ApiModelProperty(value = "记录", hidden = true) var operationType: String? = null @ApiModelProperty(value = "记录") @Tra 阅读全文
posted @ 2023-03-24 11:38 沙漠皇帝 阅读(554) 评论(0) 推荐(0) 编辑
摘要: List<AggregationOperation> operations = new ArrayList<>(); operations.add(Aggregation.group("user_id")); operations.add(Aggregation.count().as("total" 阅读全文
posted @ 2023-03-23 17:59 沙漠皇帝 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 通过打包命令检查 reload一下就很容易看出来了,有很大概率是java源码目录识别出了问题 阅读全文
posted @ 2023-03-21 19:28 沙漠皇帝 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 类型系统分类 form type The form expresses when a value is known. The type denotes the nature of a value. form 要表达的是当值是知道的(比如常量,或者用户输入决定,而且后续就不变了) type 强调的是值 阅读全文
posted @ 2023-03-21 12:13 沙漠皇帝 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 需求 截取了一部分的dataframe后,需要重新设置index,后续取一个位置,然后取一个row使用 举例 df40 = df[-50:-10].copy() df40 = df40.reset_index(drop=True) 阅读全文
posted @ 2023-03-16 09:40 沙漠皇帝 阅读(25) 评论(0) 推荐(0) 编辑