rajagopr opened a new pull request, #10474:
URL: https://github.com/apache/pinot/pull/10474

   Previously, the following query would throw an error.
   
   ```
   select FromDateTime('2023-03-22', 'yyyy-MM-dd', 'Asia/Tehran') AS epochMillis
   FROM ignoreMe
   ```
   
   Error Gist:
   ```
   Caused by: org.joda.time.IllegalInstantException: Cannot parse "2023-03-22": 
Illegal instant due to time zone offset transition (Asia/Tehran)
   ```
   
   
   The joda-time library upgrade fixes this issue. Verified that the query 
works post the library version update.
   
   For additional context see 
[this](https://github.com/JodaOrg/joda-time/blob/7858bb0035c05335bb2cab208f3367e5ccd7105e/src/changes/changes.xml#L56-L74)
 and 
[this](https://github.com/JodaOrg/global-tz/blame/8fa527c233c75dedb5d2857fbb96c2a40b3bcad6/asia#L1599-L1600).


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to