Create flex table flexT(ts timestamp);
copy flexT from 'path/file.json' parser fjsonparser();
select count(maplookup(__raw__,'ts')) from flexT;
count
--------
361471
select count(ts) from flexT;
count
-------
0
(1 row)
while loading data ,it has not populated "ts" column.
I think it should.
Because when i add any key with data type varchar, it is giving perfect result. but not with any other datatype.
Can anyone explain why this is happening?
Thanks in advance.
Regards
naveen
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.