Skip to content

refactor: combine Expr::Like and Expr::ILike #6841

@waynexia

Description

@waynexia

Is your feature request related to a problem or challenge?

Expr::Like and Expr::ILike are based on the same Like struct. And most of their logic is similar.

Describe the solution you'd like

Combine Expr::Like and Expr::ILike variants. And express the I by adding one field ignore_case: bool in the Like struct

Describe alternatives you've considered

Keep it as is

Additional context

#6840 Has to handle two similar cases from Like and ILike.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions