Skip to content

[Bug]: REGEXP_LIKE() : The third parameter can't use correctly #5537

Closed

Description

@goodMan-code

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Environment

- Version or commit-id (e.g. v0.1.0 or 8b23a93):
- Hardware parameters:
- OS type:
- Others:

Actual Behavior

The problematic SQL stmt is :
SELECT REGEXP_LIKE('abc', 'ABC', 'c');

It's return :
ERROR 20203 (HY000): invalid argument function regexp_like, bad value [VARCHAR VARCHAR VARCHAR]

The result on MySQL :
+--------------------------------+
| REGEXP_LIKE('abc', 'ABC', 'c') |
+--------------------------------+
| 0 |
+--------------------------------+

Expected Behavior

No response

Steps to Reproduce

No response

Additional information

No response

Activity

  1. added this to the v0.6.0 milestone on Oct 11, 2022
  2. domingozhang commented on Oct 12, 2022

    @domingozhang
    Contributor

    the third parameter will be supported in future release

  3. modified the milestones: v0.6.0, Backlog on Oct 12, 2022
  4. modified the milestones: Backlog, v0.7.0 on Nov 15, 2022
  5. added
    severity/s2
    on Nov 27, 2022
  6. iceTTTT commented on Feb 1, 2023

    @iceTTTT
    Contributor

    pr merged

  7. modified the milestones: Backlog, V0.8.0-Backlog on Feb 9, 2023
  8. aressu1985 commented on Feb 21, 2023

    @aressu1985
    Contributor

    tracking

  9. aressu1985 commented on Mar 3, 2023

    @aressu1985
    Contributor

    fixed
    mysql> SELECT REGEXP_LIKE('abc', 'ABC', 'c');
    +--------------------------+
    | regexp_like(abc, ABC, c) |
    +--------------------------+
    | false |
    +--------------------------+
    1 row in set (1.09 sec)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/bugseverity/s2

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions