You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "alamb (via GitHub)" <gi...@apache.org> on 2023/06/16 17:52:17 UTC

[GitHub] [arrow-rs] alamb commented on issue #4424: Regression in 42.0.0: Parsing fractional intervals without leading 0 is not supported

alamb commented on issue #4424:
URL: https://github.com/apache/arrow-rs/issues/4424#issuecomment-1595044927

   I believe this was introduced by https://github.com/apache/arrow-rs/pull/4291
   
   at ac9c6fa134280581c7e19750910b6c74153a75d4, these two (equivalent tests) pass:
   
   ```rust
   
           assert_eq!(
               (0i32, 15i32, 0),
               parse_interval("months", "0.5 months").unwrap(),
           );
   
           assert_eq!(
               (0i32, 15i32, 0),
               parse_interval("months", ".5 months").unwrap(),
           );
    
   ````
   
   at72f84b21d5826238392a1c03518e3dd625288ef1 , (with https://github.com/apache/arrow-rs/pull/4291), the reproducer fails:
   
   


-- 
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: github-unsubscribe@arrow.apache.org

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