You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/08/03 00:27:14 UTC

[GitHub] [arrow-datafusion] ayushdg opened a new issue, #3016: Proposal: Add SIMILAR TO operator

ayushdg opened a new issue, #3016:
URL: https://github.com/apache/arrow-datafusion/issues/3016

   **Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
   Add support for the `SIMILAR TO` operator like:
   ```
   string SIMILAR TO pattern [ESCAPE escape-character]
   string NOT SIMILAR TO pattern [ESCAPE escape-character]
   ```
   (This section helps Arrow developers understand the context and *why* for this feature, in addition to  the *what*)
   
   **Describe the solution you'd like**
   Support this sql syntax where currently users would see a parser error `Expected end of statement, found: SIMILAR`
   
   **Describe alternatives you've considered**
   There is some overlap between the `LIKE` operator and `SIMILAR` though the regex interpretation might be slightly different. 
   
   **Additional context**
   Syntax from the postgresql documentation: https://www.postgresql.org/docs/current/functions-matching.html.
   Came up while working on tests in the dask-sql project.
   


-- 
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.apache.org

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


[GitHub] [arrow-datafusion] andygrove commented on issue #3016: Proposal: Add similar to operator

Posted by GitBox <gi...@apache.org>.
andygrove commented on issue #3016:
URL: https://github.com/apache/arrow-datafusion/issues/3016#issuecomment-1241414515

   This is now being tracked in https://github.com/apache/arrow-datafusion/issues/3099


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


[GitHub] [arrow-datafusion] andygrove commented on issue #3016: Proposal: Add similar to operator

Posted by GitBox <gi...@apache.org>.
andygrove commented on issue #3016:
URL: https://github.com/apache/arrow-datafusion/issues/3016#issuecomment-1205806996

   I am planning on implementing this but also happy if anyone else wants to pick it up


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


[GitHub] [arrow-datafusion] liukun4515 commented on issue #3016: Proposal: Add similar to operator

Posted by GitBox <gi...@apache.org>.
liukun4515 commented on issue #3016:
URL: https://github.com/apache/arrow-datafusion/issues/3016#issuecomment-1204681083

   Nice feature for datafusion core.
   Do you have a plan to implement it?
   @ayushdg 
   


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


[GitHub] [arrow-datafusion] alamb commented on issue #3016: Proposal: Add similar to operator

Posted by GitBox <gi...@apache.org>.
alamb commented on issue #3016:
URL: https://github.com/apache/arrow-datafusion/issues/3016#issuecomment-1203939727

   Seems reasonable to me


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


[GitHub] [arrow-datafusion] alamb commented on issue #3016: Proposal: Add similar to operator

Posted by GitBox <gi...@apache.org>.
alamb commented on issue #3016:
URL: https://github.com/apache/arrow-datafusion/issues/3016#issuecomment-1215889601

   sqlparser support was added here: https://github.com/sqlparser-rs/sqlparser-rs/pull/569
   
   I'll try and get a new release of that library out in a day or two


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


[GitHub] [arrow-datafusion] andygrove closed issue #3016: Proposal: Add similar to operator

Posted by GitBox <gi...@apache.org>.
andygrove closed issue #3016: Proposal: Add similar to operator
URL: https://github.com/apache/arrow-datafusion/issues/3016


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