4paradigm / 4paradigm/OpenMLDB

support data type conversion for like predicate

Open
#861 0 comments 1 reaction 1 assignee Claimed by @aceforeverd View on GitHub
enhancement
Dominant language
C++
Stars
1.7k
Forks
331
Avg merge
12d 12h
Merged PRs (30d)
1

Description

**Is your feature request related to a problem? Please describe.**

#841 's further work

**Describe the solution you'd like**

` ( LIKE | ILIKE) `

- & can convert to string type if possible

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

Research direction

Review issue #841 for context on LIKE/ILIKE predicate work. Look at the SQL parser and expression evaluation code, likely in src/parser or src/expr directories. Identify where type conversion for operands occurs and extend it to handle string conversion for match and pattern expressions. Test with SQL queries using LIKE/ILIKE on non-string types.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
backend, databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.