You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Attila Jeges (Jira)" <ji...@apache.org> on 2020/04/07 18:03:00 UTC

[jira] [Created] (IMPALA-9614) Disable error logging for all re2 library usage.

Attila Jeges created IMPALA-9614:
------------------------------------

             Summary: Disable error logging for all re2 library usage.
                 Key: IMPALA-9614
                 URL: https://issues.apache.org/jira/browse/IMPALA-9614
             Project: IMPALA
          Issue Type: Improvement
          Components: Backend
    Affects Versions: Impala 3.4.0
            Reporter: Attila Jeges


Impala uses the re2 library for a number of purposes:
 - Built-in functions : REGEXP_REPLACE, REGEXP_EXTRACT, REGEXP_LIKE
 - SQL operators: REGEXP, RLIKE, LIKE
 - Log and query redaction.

Logging errors is disabled for REGEXP_REPLACE and REGEXP_EXTRACT built-in functions. In all other cases logging errors is enabled. Right now this behavior is hard-coded and not configurable. In case every row causes an error, this can be problematic as re2 errors will flood the impala error logs.

We should  disable error logging for all re2 library usage or make it configurable through an Impala startup flag.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)