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

   This pull request includes updates to the `DateUtils` class to enhance date 
validation logic. The changes ensure that the year in the date expression falls 
within a valid range.
   
   Validation improvements:
   
   * 
[`java/tsfile/src/main/java/org/apache/tsfile/utils/DateUtils.java`](diffhunk://#diff-30d849eff6235c344df0d6b2fd3db364b502477d2de5b225d64102edb12f0dfaL51-R51):
 Updated the `parseDateExpressionToInt(String dateExpression)` method to throw 
an exception if the year is greater than 9999.
   * 
[`java/tsfile/src/main/java/org/apache/tsfile/utils/DateUtils.java`](diffhunk://#diff-30d849eff6235c344df0d6b2fd3db364b502477d2de5b225d64102edb12f0dfaL61-R61):
 Updated the `parseDateExpressionToInt(LocalDate localDate)` method to throw an 
exception if the year is greater than 9999.


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

Reply via email to