sandynz commented on PR #20479: URL: https://github.com/apache/shardingsphere/pull/20479#issuecomment-1225229396
On column value match, some special cases notes: 1, For timestamp column type, Oracle JDBC driver getObject and getTimestamp return different type of java object. resultSet.getObject(i).getClass().getName() return oracle.sql.TIMESTAMP. resultSet.getTimestamp(i).getClass().getName() return java.sql.Timestamp. 2, java.math.BigDecimal value doesn't match if their scale doesn't match, even if values are equals. e.g. value1=332.2, value2=332.20, value1.class=java.math.BigDecimal, value2.class=java.math.BigDecimal They're not equals by BigDecimal.equals -- 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]
