calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Fu (Jira)" <j...@apache.org>
Subject [jira] [Created] (CALCITE-3280) Cannot parse query REGEXP_REPLACE in Redshift
Date Wed, 21 Aug 2019 23:45:00 GMT
Ryan Fu created CALCITE-3280:
--------------------------------

             Summary: Cannot parse query REGEXP_REPLACE in Redshift
                 Key: CALCITE-3280
                 URL: https://issues.apache.org/jira/browse/CALCITE-3280
             Project: Calcite
          Issue Type: Improvement
            Reporter: Ryan Fu


REGEXP_REPLACE error:

No match found for function signature REGEXP_REPLACE(<CHARACTER>, <CHARACTER>,
<CHARACTER>)

 

Example query:

 

{{}}
{code:java}

{code}
{{ SELECT * , MD5(TRIM(BOTH ' ' FROM REGEXP_REPLACE(LOWER(name), '([[:space:]]|\\,)+([iInNcC]|[lLcC]).*$',
''))) AS company_id FROM public.account}}

 



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Mime
View raw message