[jira] [Updated] (HIVE-16135) unhandled constant type for scalar argument

2017-03-06 Thread Teddy Choi (JIRA)

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

Teddy Choi updated HIVE-16135:
--
Status: Patch Available  (was: Open)

> unhandled constant type for scalar argument
> ---
>
> Key: HIVE-16135
> URL: https://issues.apache.org/jira/browse/HIVE-16135
> Project: Hive
>  Issue Type: Bug
>  Components: Vectorization
>Reporter: Teddy Choi
>Assignee: Teddy Choi
> Attachments: HIVE-16135.1.patch
>
>
> Map: Predicate expression for FILTER operator: 
> org.apache.hadoop.hive.ql.metadata.HiveException: Udf: unhandled constant 
> type for scalar argument. Expecting string.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (HIVE-16135) unhandled constant type for scalar argument

2017-03-06 Thread Teddy Choi (JIRA)

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

Teddy Choi updated HIVE-16135:
--
Attachment: HIVE-16135.1.patch

The recent date handling is changed. So now it passes date/timestamp objects 
instead of string objects now. But VectorizationContext.getTimestampScalar only 
accepts string objects.

This patch makes VectorizationContext.getTimestampScalar to accept 
date/timestamp objects, too. Also it adds test queries in 
vectorized_timestamp.q to.

> unhandled constant type for scalar argument
> ---
>
> Key: HIVE-16135
> URL: https://issues.apache.org/jira/browse/HIVE-16135
> Project: Hive
>  Issue Type: Bug
>  Components: Vectorization
>Reporter: Teddy Choi
>Assignee: Teddy Choi
> Attachments: HIVE-16135.1.patch
>
>
> Map: Predicate expression for FILTER operator: 
> org.apache.hadoop.hive.ql.metadata.HiveException: Udf: unhandled constant 
> type for scalar argument. Expecting string.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)