[jira] [Updated] (HIVE-18819) Vectorization: Optimize IF statement expression evaluation of THEN/ELSE

2018-03-03 Thread Matt McCline (JIRA)

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

Matt McCline updated HIVE-18819:

Resolution: Fixed
Status: Resolved  (was: Patch Available)

> Vectorization: Optimize IF statement expression evaluation of THEN/ELSE
> ---
>
> Key: HIVE-18819
> URL: https://issues.apache.org/jira/browse/HIVE-18819
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Matt McCline
>Assignee: Matt McCline
>Priority: Critical
> Attachments: HIVE-18819.01.patch, HIVE-18819.02.patch, 
> HIVE-18819.03.patch
>
>
> Currently, all the rows of a batch are evaluated for the THEN and ELSE 
> expressions even though only a value from one of them is needed for any 
> particular row.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-18819) Vectorization: Optimize IF statement expression evaluation of THEN/ELSE

2018-03-03 Thread Matt McCline (JIRA)

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

Matt McCline updated HIVE-18819:

Attachment: HIVE-18819.03.patch

> Vectorization: Optimize IF statement expression evaluation of THEN/ELSE
> ---
>
> Key: HIVE-18819
> URL: https://issues.apache.org/jira/browse/HIVE-18819
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Matt McCline
>Assignee: Matt McCline
>Priority: Critical
> Attachments: HIVE-18819.01.patch, HIVE-18819.02.patch, 
> HIVE-18819.03.patch
>
>
> Currently, all the rows of a batch are evaluated for the THEN and ELSE 
> expressions even though only a value from one of them is needed for any 
> particular row.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-18819) Vectorization: Optimize IF statement expression evaluation of THEN/ELSE

2018-03-03 Thread Matt McCline (JIRA)

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

Matt McCline updated HIVE-18819:

Attachment: (was: HIVE-18819.03.patch)

> Vectorization: Optimize IF statement expression evaluation of THEN/ELSE
> ---
>
> Key: HIVE-18819
> URL: https://issues.apache.org/jira/browse/HIVE-18819
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Matt McCline
>Assignee: Matt McCline
>Priority: Critical
> Attachments: HIVE-18819.01.patch, HIVE-18819.02.patch
>
>
> Currently, all the rows of a batch are evaluated for the THEN and ELSE 
> expressions even though only a value from one of them is needed for any 
> particular row.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-18819) Vectorization: Optimize IF statement expression evaluation of THEN/ELSE

2018-03-02 Thread Matt McCline (JIRA)

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

Matt McCline updated HIVE-18819:

Attachment: HIVE-18819.03.patch

> Vectorization: Optimize IF statement expression evaluation of THEN/ELSE
> ---
>
> Key: HIVE-18819
> URL: https://issues.apache.org/jira/browse/HIVE-18819
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Matt McCline
>Assignee: Matt McCline
>Priority: Critical
> Attachments: HIVE-18819.01.patch, HIVE-18819.02.patch, 
> HIVE-18819.03.patch
>
>
> Currently, all the rows of a batch are evaluated for the THEN and ELSE 
> expressions even though only a value from one of them is needed for any 
> particular row.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-18819) Vectorization: Optimize IF statement expression evaluation of THEN/ELSE

2018-03-02 Thread Matt McCline (JIRA)

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

Matt McCline updated HIVE-18819:

Status: Patch Available  (was: In Progress)

> Vectorization: Optimize IF statement expression evaluation of THEN/ELSE
> ---
>
> Key: HIVE-18819
> URL: https://issues.apache.org/jira/browse/HIVE-18819
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Matt McCline
>Assignee: Matt McCline
>Priority: Critical
> Attachments: HIVE-18819.01.patch, HIVE-18819.02.patch, 
> HIVE-18819.03.patch
>
>
> Currently, all the rows of a batch are evaluated for the THEN and ELSE 
> expressions even though only a value from one of them is needed for any 
> particular row.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-18819) Vectorization: Optimize IF statement expression evaluation of THEN/ELSE

2018-03-02 Thread Matt McCline (JIRA)

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

Matt McCline updated HIVE-18819:

Status: In Progress  (was: Patch Available)

> Vectorization: Optimize IF statement expression evaluation of THEN/ELSE
> ---
>
> Key: HIVE-18819
> URL: https://issues.apache.org/jira/browse/HIVE-18819
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Matt McCline
>Assignee: Matt McCline
>Priority: Critical
> Attachments: HIVE-18819.01.patch, HIVE-18819.02.patch
>
>
> Currently, all the rows of a batch are evaluated for the THEN and ELSE 
> expressions even though only a value from one of them is needed for any 
> particular row.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-18819) Vectorization: Optimize IF statement expression evaluation of THEN/ELSE

2018-03-01 Thread Matt McCline (JIRA)

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

Matt McCline updated HIVE-18819:

Attachment: HIVE-18819.02.patch

> Vectorization: Optimize IF statement expression evaluation of THEN/ELSE
> ---
>
> Key: HIVE-18819
> URL: https://issues.apache.org/jira/browse/HIVE-18819
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Matt McCline
>Assignee: Matt McCline
>Priority: Critical
> Attachments: HIVE-18819.01.patch, HIVE-18819.02.patch
>
>
> Currently, all the rows of a batch are evaluated for the THEN and ELSE 
> expressions even though only a value from one of them is needed for any 
> particular row.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-18819) Vectorization: Optimize IF statement expression evaluation of THEN/ELSE

2018-03-01 Thread Matt McCline (JIRA)

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

Matt McCline updated HIVE-18819:

Attachment: (was: HIVE-18819.02.patch)

> Vectorization: Optimize IF statement expression evaluation of THEN/ELSE
> ---
>
> Key: HIVE-18819
> URL: https://issues.apache.org/jira/browse/HIVE-18819
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Matt McCline
>Assignee: Matt McCline
>Priority: Critical
> Attachments: HIVE-18819.01.patch, HIVE-18819.02.patch
>
>
> Currently, all the rows of a batch are evaluated for the THEN and ELSE 
> expressions even though only a value from one of them is needed for any 
> particular row.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-18819) Vectorization: Optimize IF statement expression evaluation of THEN/ELSE

2018-02-28 Thread Matt McCline (JIRA)

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

Matt McCline updated HIVE-18819:

Attachment: HIVE-18819.02.patch

> Vectorization: Optimize IF statement expression evaluation of THEN/ELSE
> ---
>
> Key: HIVE-18819
> URL: https://issues.apache.org/jira/browse/HIVE-18819
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Matt McCline
>Assignee: Matt McCline
>Priority: Critical
> Attachments: HIVE-18819.01.patch, HIVE-18819.02.patch
>
>
> Currently, all the rows of a batch are evaluated for the THEN and ELSE 
> expressions even though only a value from one of them is needed for any 
> particular row.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-18819) Vectorization: Optimize IF statement expression evaluation of THEN/ELSE

2018-02-28 Thread Matt McCline (JIRA)

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

Matt McCline updated HIVE-18819:

Attachment: (was: HIVE-18819.02.patch)

> Vectorization: Optimize IF statement expression evaluation of THEN/ELSE
> ---
>
> Key: HIVE-18819
> URL: https://issues.apache.org/jira/browse/HIVE-18819
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Matt McCline
>Assignee: Matt McCline
>Priority: Critical
> Attachments: HIVE-18819.01.patch, HIVE-18819.02.patch
>
>
> Currently, all the rows of a batch are evaluated for the THEN and ELSE 
> expressions even though only a value from one of them is needed for any 
> particular row.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-18819) Vectorization: Optimize IF statement expression evaluation of THEN/ELSE

2018-02-28 Thread Matt McCline (JIRA)

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

Matt McCline updated HIVE-18819:

Attachment: HIVE-18819.02.patch

> Vectorization: Optimize IF statement expression evaluation of THEN/ELSE
> ---
>
> Key: HIVE-18819
> URL: https://issues.apache.org/jira/browse/HIVE-18819
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Matt McCline
>Assignee: Matt McCline
>Priority: Critical
> Attachments: HIVE-18819.01.patch, HIVE-18819.02.patch
>
>
> Currently, all the rows of a batch are evaluated for the THEN and ELSE 
> expressions even though only a value from one of them is needed for any 
> particular row.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-18819) Vectorization: Optimize IF statement expression evaluation of THEN/ELSE

2018-02-28 Thread Matt McCline (JIRA)

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

Matt McCline updated HIVE-18819:

Attachment: (was: HIVE-18819.02.patch)

> Vectorization: Optimize IF statement expression evaluation of THEN/ELSE
> ---
>
> Key: HIVE-18819
> URL: https://issues.apache.org/jira/browse/HIVE-18819
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Matt McCline
>Assignee: Matt McCline
>Priority: Critical
> Attachments: HIVE-18819.01.patch
>
>
> Currently, all the rows of a batch are evaluated for the THEN and ELSE 
> expressions even though only a value from one of them is needed for any 
> particular row.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-18819) Vectorization: Optimize IF statement expression evaluation of THEN/ELSE

2018-02-28 Thread Matt McCline (JIRA)

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

Matt McCline updated HIVE-18819:

Status: In Progress  (was: Patch Available)

> Vectorization: Optimize IF statement expression evaluation of THEN/ELSE
> ---
>
> Key: HIVE-18819
> URL: https://issues.apache.org/jira/browse/HIVE-18819
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Matt McCline
>Assignee: Matt McCline
>Priority: Critical
> Attachments: HIVE-18819.01.patch, HIVE-18819.02.patch
>
>
> Currently, all the rows of a batch are evaluated for the THEN and ELSE 
> expressions even though only a value from one of them is needed for any 
> particular row.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-18819) Vectorization: Optimize IF statement expression evaluation of THEN/ELSE

2018-02-28 Thread Matt McCline (JIRA)

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

Matt McCline updated HIVE-18819:

Status: Patch Available  (was: In Progress)

> Vectorization: Optimize IF statement expression evaluation of THEN/ELSE
> ---
>
> Key: HIVE-18819
> URL: https://issues.apache.org/jira/browse/HIVE-18819
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Matt McCline
>Assignee: Matt McCline
>Priority: Critical
> Attachments: HIVE-18819.01.patch, HIVE-18819.02.patch
>
>
> Currently, all the rows of a batch are evaluated for the THEN and ELSE 
> expressions even though only a value from one of them is needed for any 
> particular row.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-18819) Vectorization: Optimize IF statement expression evaluation of THEN/ELSE

2018-02-28 Thread Matt McCline (JIRA)

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

Matt McCline updated HIVE-18819:

Attachment: HIVE-18819.02.patch

> Vectorization: Optimize IF statement expression evaluation of THEN/ELSE
> ---
>
> Key: HIVE-18819
> URL: https://issues.apache.org/jira/browse/HIVE-18819
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Matt McCline
>Assignee: Matt McCline
>Priority: Critical
> Attachments: HIVE-18819.01.patch, HIVE-18819.02.patch
>
>
> Currently, all the rows of a batch are evaluated for the THEN and ELSE 
> expressions even though only a value from one of them is needed for any 
> particular row.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-18819) Vectorization: Optimize IF statement expression evaluation of THEN/ELSE

2018-02-27 Thread Matt McCline (JIRA)

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

Matt McCline updated HIVE-18819:

Attachment: HIVE-18819.01.patch

> Vectorization: Optimize IF statement expression evaluation of THEN/ELSE
> ---
>
> Key: HIVE-18819
> URL: https://issues.apache.org/jira/browse/HIVE-18819
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Matt McCline
>Assignee: Matt McCline
>Priority: Critical
> Attachments: HIVE-18819.01.patch
>
>
> Currently, all the rows of a batch are evaluated for the THEN and ELSE 
> expressions even though only a value from one of them is needed for any 
> particular row.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-18819) Vectorization: Optimize IF statement expression evaluation of THEN/ELSE

2018-02-27 Thread Matt McCline (JIRA)

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

Matt McCline updated HIVE-18819:

Attachment: (was: HIVE-18819.01.patch)

> Vectorization: Optimize IF statement expression evaluation of THEN/ELSE
> ---
>
> Key: HIVE-18819
> URL: https://issues.apache.org/jira/browse/HIVE-18819
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Matt McCline
>Assignee: Matt McCline
>Priority: Critical
>
> Currently, all the rows of a batch are evaluated for the THEN and ELSE 
> expressions even though only a value from one of them is needed for any 
> particular row.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-18819) Vectorization: Optimize IF statement expression evaluation of THEN/ELSE

2018-02-27 Thread Matt McCline (JIRA)

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

Matt McCline updated HIVE-18819:

Attachment: HIVE-18819.01.patch

> Vectorization: Optimize IF statement expression evaluation of THEN/ELSE
> ---
>
> Key: HIVE-18819
> URL: https://issues.apache.org/jira/browse/HIVE-18819
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Matt McCline
>Assignee: Matt McCline
>Priority: Critical
> Attachments: HIVE-18819.01.patch
>
>
> Currently, all the rows of a batch are evaluated for the THEN and ELSE 
> expressions even though only a value from one of them is needed for any 
> particular row.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-18819) Vectorization: Optimize IF statement expression evaluation of THEN/ELSE

2018-02-27 Thread Matt McCline (JIRA)

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

Matt McCline updated HIVE-18819:

Attachment: (was: HIVE-18819.01.patch)

> Vectorization: Optimize IF statement expression evaluation of THEN/ELSE
> ---
>
> Key: HIVE-18819
> URL: https://issues.apache.org/jira/browse/HIVE-18819
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Matt McCline
>Assignee: Matt McCline
>Priority: Critical
>
> Currently, all the rows of a batch are evaluated for the THEN and ELSE 
> expressions even though only a value from one of them is needed for any 
> particular row.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-18819) Vectorization: Optimize IF statement expression evaluation of THEN/ELSE

2018-02-27 Thread Matt McCline (JIRA)

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

Matt McCline updated HIVE-18819:

Status: Patch Available  (was: Open)

Work-In-Progress.

Needs a many more queries that use IF statements.  Also, since 2 "case" CASE 
WHEN statements are converted to IF statements, we need more of those queries, 
too.

> Vectorization: Optimize IF statement expression evaluation of THEN/ELSE
> ---
>
> Key: HIVE-18819
> URL: https://issues.apache.org/jira/browse/HIVE-18819
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Matt McCline
>Assignee: Matt McCline
>Priority: Critical
> Attachments: HIVE-18819.01.patch
>
>
> Currently, all the rows of a batch are evaluated for the THEN and ELSE 
> expressions even though only a value from one of them is needed for any 
> particular row.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-18819) Vectorization: Optimize IF statement expression evaluation of THEN/ELSE

2018-02-27 Thread Matt McCline (JIRA)

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

Matt McCline updated HIVE-18819:

Attachment: HIVE-18819.01.patch

> Vectorization: Optimize IF statement expression evaluation of THEN/ELSE
> ---
>
> Key: HIVE-18819
> URL: https://issues.apache.org/jira/browse/HIVE-18819
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Affects Versions: 3.0.0
>Reporter: Matt McCline
>Assignee: Matt McCline
>Priority: Critical
> Attachments: HIVE-18819.01.patch
>
>
> Currently, all the rows of a batch are evaluated for the THEN and ELSE 
> expressions even though only a value from one of them is needed for any 
> particular row.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)