You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/04/19 12:23:10 UTC
[GitHub] [shardingsphere] TeslaCN opened a new issue #10131: Exception occurred when inserting values into a table with varchar primary key
TeslaCN opened a new issue #10131:
URL: https://github.com/apache/shardingsphere/issues/10131
## Bug Report
### Which version of ShardingSphere did you use?
master branch.
But I think this issue exists in previous versions.
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
Proxy
### Expected behavior
```yaml
rules:
- !SHARDING
tables:
t_config:
actualDataNodes: hello_ss_0.t_config_0
defaultTableStrategy:
none:
```
```sql
create table t_config (
config_name varchar(100) primary key,
config_value varchar(100)
);
insert into t_config (config_name, config_value) values ('key1', 'value1');
```
### Actual behavior
```
Bad value for type long : key1
```
### Reason analyze (If you can)
### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
### Example codes for reproduce this issue (such as a github link).
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] tristaZero closed issue #10131: Exception occurred when inserting values into a table with varchar primary key
Posted by GitBox <gi...@apache.org>.
tristaZero closed issue #10131:
URL: https://github.com/apache/shardingsphere/issues/10131
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org