I already searched everywhere and could never find a reference to some weird behavior, that I find it hard to believe is a bug.
I've been able to reproduce with example below, not on Hive 1.1 , CDH 5.4:
create temporary macro date_to_timestamp(dt string)
create table source(
row format delimited fields terminated by '\t'
stored as textfile;
insert into table source
Aren't you surprised to have return:
returns the expected
What am I doing wrong here ?
(Can't set label to CDH 5.4 in the post, but that is the version I'm using)