You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "jackwener (via GitHub)" <gi...@apache.org> on 2023/05/01 15:32:49 UTC

[GitHub] [arrow-datafusion] jackwener commented on pull request #6177: fix: type coercion ignore prevent `Interval - Date`

jackwener commented on PR #6177:
URL: https://github.com/apache/arrow-datafusion/pull/6177#issuecomment-1529840417

   > The thing is, this seems to work fine on main 😕
   
   I have misunderstand original code, it's used for prevent wrong sql.
   When sql is 
   ```
   select interval '1 month' - '2023-05-01'::timestamp;
   
   select interval '1 month' - '2023-05-01'::date;
   ```
   
   so these code just forgot to prevent  `Interval - Date`


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