xfyang1989 opened a new issue #2253: shardingsphere4.0.0-RC1,Incorrect datetime 
value: 'now()' for column 'create_time' at row 
URL: https://github.com/apache/incubator-shardingsphere/issues/2253
 
 
   shardingsphere4.0.0-RC1,report the following error:
   
   Incorrect datetime value: 'now()' for column 'create_time' at row 
   
   ShardingSphere-SQL - Actual SQL: rw0 ::: insert into t_order(id, 
first_channel, biz_bill_no, orig_bill_no, warehouse_id, sku_code, 
change_inv_type, change_num, change_time, remark, create_time, create_person, 
update_time, update_person, is_deleted, version, sale_company, owner_id, 
bill_type, warehouse_code, status) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 
'now()', ?, 'now()', ?, 0, 0, ?, ?, ?, ?, ?) ::: [1939337741023, xx, hh, hhh, 
303, bb, GL, -6, 2019-04-24 09:22:54.825, null, system, system, ncarzone, 
ncarzone, 6, 0303, 0]
   
   It seems that sharding treats the mysql now() function as a string.
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to