update case when 报错

update table1 set col1=(case col2 when 1 then 11 else 22 end)
这条sql报错:
java.lang.ClassCastException: org.apache.shardingsphere.sql.parser.sql.segment.dml.column.ColumnSegment cannot be cast to org.apache.shardingsphere.sql.parser.sql.segment.dml.expr.ExpressionSegment
有办法解决吗?或者怎么绕开sharding,直接执行原生sql?

哈喽,@logbug 可以补充下版本及配置信息吗?方便复现问题。

    <dependency>
	    <groupId>org.apache.shardingsphere</groupId>
	    <artifactId>sharding-jdbc-spring-boot-starter</artifactId>
	    <version>4.1.0</version>
	</dependency>
京ICP备2021015875号