You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by "FearfulTomcat27 (via GitHub)" <gi...@apache.org> on 2025/03/04 09:01:17 UTC

[PR] Fix overflow when using format in ns timestamp precision [iotdb]

FearfulTomcat27 opened a new pull request, #15009:
URL: https://github.com/apache/iotdb/pull/15009

   This pull request includes a change to the `FormatColumnTransformer` class in the `iotdb-core` module, specifically to the `valueConverter` method. The change simplifies the conversion of `DATE` type values by using a more direct method.
   
   Simplification of date conversion:
   
   * [`iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/transformation/dag/column/unary/scalar/FormatColumnTransformer.java`](diffhunk://#diff-8d2fa9c31ebb1c81d04af40540bd7eb8fcc7acef2283b5d09920c59c8674ce8fL104-R104): Simplified the conversion of `DATE` type values by using `DateUtils.parseIntToLocalDate` instead of a multi-step process involving `DateTimeUtils.correctPrecision` and `DateTimeUtils.convertToLocalDate`.


-- 
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: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix overflow when using format in ns timestamp precision [iotdb]

Posted by "Beyyes (via GitHub)" <gi...@apache.org>.
Beyyes merged PR #15009:
URL: https://github.com/apache/iotdb/pull/15009


-- 
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: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org