Rajesh Balamohan created HIVE-22800:
---------------------------------------
Summary: GenericUDFOPDTIPlus should support varchar
Key: HIVE-22800
URL: https://issues.apache.org/jira/browse/HIVE-22800
Project: Hive
Issue Type: Improvement
Components: Hive
Reporter: Rajesh Balamohan
{noformat}
create table test(d_date varchar(10) stored as orc;
select d_date + INTERVAL(5) DAY from test;
Error: Error while compiling statement: FAILED: SemanticException [Error
10014]: Line 1:7 Wrong arguments '5': No matching method for class
org.apache.hadoop.hive.ql.udf.generic.GenericUDFOPDTIPlus with (varchar(10),
interval_day_time) (state=42000,code=10014)
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)