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:42:42 UTC

[GitHub] [arrow-datafusion] jackwener commented on issue #6180: Don't support Interval is in left.

jackwener commented on issue #6180:
URL: https://github.com/apache/arrow-datafusion/issues/6180#issuecomment-1529849581

   It's wrong in `src/expr/mod.rs:140 sql_interval_to_expr()`.
   
   SQLExpr is 
   
   ```sql
   "Interval { value: BinaryOp { left: Value(SingleQuotedString("1 month")), op: Plus, right: Cast { expr: Value(SingleQuotedString("2023-05-01")), data_type: Date } }, leading_field: None, leading_precision: None, last_field: None, fractional_seconds_precision: None }"
   ```
   
   I think it is a bug in Parser. Interval shouldn't include BinaryOp.


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