dongyun-coder opened a new issue, #35532:
URL: https://github.com/apache/shardingsphere/issues/35532
### Which version of ShardingSphere did you use?
5.5.3-SNAPSHOT
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-Proxy
### Expected behavior
select * from table_xx where uid=123
uid is configured shard column, sql parser will parse shard value=123 to
route.
### Actual behavior
sharding could not find sharding value 123.
### Reason
ColumnSegmentBinder.java
private static final Collection<String> EXCLUDE_BIND_COLUMNS = new
CaseInsensitiveSet<>(Arrays.asList(
"ROWNUM", "ROW_NUMBER", "ROWNUM_", "ROWID", "SYSDATE",
"SYSTIMESTAMP", "CURRENT_TIMESTAMP", "LOCALTIMESTAMP", "UID", "USER",
"NEXTVAL", "LEVEL"));
UID is excluded.
--
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]