hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Software Dev <static.void....@gmail.com>
Subject Sort by Avro field
Date Thu, 20 Feb 2014 19:04:54 GMT
Is it possible to sort by a field within an Avro struct? Am I doing
something wrong?


hive> describe logs;
OK
requestheader struct<timestamp:bigint,servername:string> from deserializer
year int
month int
day int

hive> select * from logs where year = 2014 order by requestheader.timestamp;
FAILED: ParseException line 1:68 mismatched input 'timestamp' expecting
Identifier near '.' in expression specification

Mime
View raw message