hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Koert Kuipers <>
Subject 2 questions about SerDe
Date Tue, 21 Feb 2012 15:37:19 GMT
1) Is there a way in initialize() of a SerDe to know if it is being used as
a Serializer or a Deserializer. If not, can i define the Serializer and
Deserializer separately instead of defining a SerDe (so i have two
initialize methods)?

2) Is there a way to find out which columns are being used? say if someone
does select a,b,c from test, and my SerDe gets initialized for usage in
that query how can i know that only a,b,c are being needed? i would like to
take advantage of this information so i dont deserialize unnecessary
information, without having to resort to more complex lazy deserialization

View raw message