spark查询UNIQUE模型频繁出现异常errCode = 2, detailMessage = Only support prepare SelectStmt point query now

Viewed 9

spark查询UNIQUE模型频繁出现异常errCode = 2, detailMessage = Only support prepare SelectStmt point query now
UNIQUE模型 已添加配置 "enable_unique_key_merge_on_write" = "true",
"light_schema_change" = "true",
"store_row_column" = "true"
且使用了 PreparedStatement 如 url = jdbc:mysql://127.0.0.1:9030/ycsb?useServerPrepStmts=true

2 Answers

确定都是执行的查询吗?有没有其他比如非查询的必入insert 之类的语句也是走的这个 url

从日志上看是查询日志走的这个URL