huanglf714 opened a new issue, #28551:
URL: https://github.com/apache/shardingsphere/issues/28551
## <shardingsphere.version>4.1.1</shardingsphere.version>
## sql is
<update id="setPointCommodityDefaultSort">
update
itg_point_commodity_ext_t
set sort = id
where sort is null
</update>
## expection
org.apache.ibatis.exceptions.PersistenceException:
### Error updating database. Cause: 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
### The error may exist in
com/hihonor/consumer/it/user/operation/point/dao/PointCommodityManagementDao.xml
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### SQL: update itg_point_commodity_ext_t set sort = id
where sort is null
### Cause: 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
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail:
[email protected]
For queries about this service, please contact Infrastructure at:
[email protected]