You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Vineet Garg (JIRA)" <ji...@apache.org> on 2019/05/01 00:17:00 UTC
[jira] [Created] (HIVE-21673) Casting output of mask udf to string
produce different result for date type
Vineet Garg created HIVE-21673:
----------------------------------
Summary: Casting output of mask udf to string produce different result for date type
Key: HIVE-21673
URL: https://issues.apache.org/jira/browse/HIVE-21673
Project: Hive
Issue Type: Bug
Reporter: Vineet Garg
*Reproducer*
{code:sql}
create table t1(d date);
insert into t1 values('2019-09-08');
select cast(mask(d) as string) from t1;
{code}
*Expected result*
{noformat}
0001-01-01
{noformat}
*Actual Result*
{noformat}
0001-01-03
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)