Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-14389

[C++][Gandiva] Fix performance bug with LIKE expressions with reserved characters

    XMLWordPrintableJSON

Details

    Description

      Seeing dramatic differences in Gandiva processing time during filter operations for queries with a LIKE filter on a character field with a reserved character (-,/& etc). The version with a reserved character in the string is considerably slower than a similar filter without a reserved character. For patterns like %abc% and %ab-c%, the latter wasn't being optimized to become an is_substr expression because of the regex used to identify those cases.

      Attachments

        Issue Links

          Activity

            People

              vitor004 João Victor Huguenin
              vitor004 João Victor Huguenin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 50m
                  2h 50m