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 2020/12/10 15:09:50 UTC

[GitHub] [shardingsphere] Terrdi edited a comment on issue #8551: Data Fragment Doesn't Work for Negative

Terrdi edited a comment on issue #8551:
URL: https://github.com/apache/shardingsphere/issues/8551#issuecomment-742579743


   Hi @tristaZero 
   It didn't generate sql while the value of the field which is used to **distinguish the database** is negative.
   
   This is the sql while the value of the field which is used to **distinguish the table** is negative.
   > 2020-12-10 23:02:27.470  INFO 39287 --- [           main] ShardingSphere-SQL                       : Logic SQL: INSERT INTO t_order  ( id,order_no,user_id )  VALUES  ( ?,?,? )
   > 2020-12-10 23:02:27.470  INFO 39287 --- [           main] ShardingSphere-SQL                       : SQLStatement: MySQLInsertStatement(setAssignment=Optional.empty, onDuplicateKeyColumns=Optional.empty)
   > 2020-12-10 23:02:27.470  INFO 39287 --- [           main] ShardingSphere-SQL                       : Actual SQL: ds0 ::: INSERT INTO org.apache.shardingsphere.sharding.rewrite.token.pojo.TableToken@2349f14d  ( id,order_no,user_id )  VALUES  org.apache.shardingsphere.sharding.rewrite.token.pojo.ShardingInsertValuesToken@17e0933c ::: [2, -112312312, 1234231]
   


----------------------------------------------------------------
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