02 2023 档案
摘要:# 背景在有物化视图的情况下删除多余的行uuid# 原因This is in the 3.11.1 release notes: "Cassandra will no longer allow dropping columns on tables with Materialized Views."#
阅读全文
摘要:背景 执行如下sql会失败并报如题目中的错误 insert into event (subject, time, type) values (now(), 'type'); 原因 now() returns a timeuuid, not a timestamp 解决办法 尝试用 dateOf(no
阅读全文
摘要:1、depedency <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-cassandra</artifactId> </dependency> 2、properties spring.
阅读全文
摘要:场景 有一个根据create_time排序的分页接口,在第二页会出现第一页出现过的重复记录 排查思路 排查1、入参处理时对分页相关数据的处理有问题 排查2、sql的入参数有问题 经过上面两个思路查询都没有问题 排查3、后面就想到这批数据是通过脚本跑出来的,且create_time的精确度只是到秒,那
阅读全文