Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi ,
I am getting the error as field not found for the below load statement.
LOAD DATE,S.NO,CNAME RESIDENT TABLE1 S.NO ,TIMESTAMP(DATE) ASC;
If i am removing the TIMESTAMP(DATE) then it is working fine.
DATE is STRING so if i am not converting to timestamp then order is not shown properly.
XXX wrote:... LOAD DATE,S.NO,CNAME RESIDENT TABLE1 S.NO ,TIMESTAMP(DATE) ASC;If i am removing the TIMESTAMP(DATE) then it is working fine.DATE is STRING so if i am not converting to timestamp then order is not shown properly. <div></div>
Do you mean it is sorting by S.NO when you remove the timestamp?
did you miss 'ORDER BY' in the statement above?
-Karthik