You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2016/02/24 05:57:18 UTC

[jira] [Updated] (HIVE-12092) SARGS: UDFLike prefix cases needs to be translated into >= sargs

     [ https://issues.apache.org/jira/browse/HIVE-12092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gopal V updated HIVE-12092:
---------------------------
    Status: Open  (was: Patch Available)

Revisiting idea as a general UDF -> SARGs interface.

> SARGS: UDFLike prefix cases needs to be translated into >= sargs
> ----------------------------------------------------------------
>
>                 Key: HIVE-12092
>                 URL: https://issues.apache.org/jira/browse/HIVE-12092
>             Project: Hive
>          Issue Type: Improvement
>          Components: Logical Optimizer
>    Affects Versions: 2.0.0, 1.3.0
>            Reporter: Gopal V
>            Assignee: Gopal V
>         Attachments: HIVE-12092.1.patch, HIVE-12092.2.patch, HIVE-12092.3.patch
>
>
> A query which follows the following format
> {{select * from table where access_url like "https:%" ;}}
> needs to rewrite SARGs as 
> {{access_url >= 'https:'}}
> to get a significant hit-rate on a simple expression.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)