alamb commented on PR #27214:
URL: https://github.com/apache/datafusion/pull/27214#issuecomment-6798200604

   Thanks! I verified this branch now produces the correct answers
   
   ```shell
   warning: `datafusion-cli` (bin "datafusion-cli") generated 1 warning
       Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s
        Running `target/debug/datafusion-cli`
   DataFusion CLI v57.0.0-dev
   > SELECT s AS input, extract(epoch FROM i) AS epoch_seconds
   FROM (VALUES
     ('11 months', INTERVAL '11 months'),
     ('1 year', INTERVAL '1 year'),
     ('14 months', INTERVAL '14 months'),
     ('-14 months', INTERVAL '-14 months'),
     ('1 year 1 day', INTERVAL '1 year 1 day')
   ) AS t(s, i);
   +--------------+---------------+
   | input        | epoch_seconds |
   +--------------+---------------+
   | 11 months    | 28512000.0    |
   | 1 year       | 31104000.0    |
   | 14 months    | 36288000.0    |
   | -14 months   | -36288000.0   |
   | 1 year 1 day | 31190400.0    |
   +--------------+---------------+
   5 row(s) fetched.
   Elapsed 0.023 seconds.
   ```


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