isapego commented on code in PR #1598:
URL: https://github.com/apache/ignite-3/pull/1598#discussion_r1090751805
##########
modules/schema/src/main/java/org/apache/ignite/internal/schema/row/TemporalTypesHelper.java:
##########
@@ -272,13 +272,13 @@ private static int truncateTo(int precision, int nanos) {
return nanos / 1_000_000; // 1ms precision.
}
case 4: {
- return (nanos / 100_000) * 100; // 100mcs precision.
+ return (nanos / 100_000) * 100; // 100μs precision.
}
case 5: {
- return (nanos / 10_000) * 10; // 10mcs precision.
+ return (nanos / 10_000) * 10; // 10μs precision.
}
case 6: {
- return nanos / 1_000; // 1mcs precision.
+ return nanos / 1_000; // 1μs precision.
Review Comment:
Unicode in sources? Hmm, I just use `us`.
--
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]