apache / apache/arrow-rs

Add rlike string comparison

Open
#3,568 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
3.6k
Forks
1.3k
Avg merge
2d 16h
Merged PRs (30d)
168

Description

**Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
Implement a Spark SQL `rlike`, which checks for specific fast paths in order to avoid using a regex. These types of fast paths are currently implemented for `like`.

**Describe the solution you'd like**
Implement `rlike` functions, similar to the `like` functions. Given the existing code this should be limited to a few functions, with the remaining generated through macros.

**Describe alternatives you've considered**

**Additional context**

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing `like` functions and their macros, then trace the entry points for Spark SQL string expressions. Implement the corresponding `rlike` functions with the requested fast paths and verify the relevant expression tests; the issue names no file or test, so repository search is the first step.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
data-engineering
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.