You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by mark pasterkamp <ma...@hotmail.com> on 2019/02/18 16:45:29 UTC

Serialization of HiveRelNodes

Dear all,

First of all, I am sorry if I sent this message twice, I received no confirmation of my previous email actually reaching the mailing list.

For my project I want to be able to access the HiveRelNodes for some extended semantic analysis. By extending the hookcontext and adding a new hook I have been able to access them serverside.

To gain access to them from a client perspective I was thinking about serializing them and then deserialize them from the client (perhaps by storing the serialized form in a table). Since the RelNode and HiveRelNode classes do not implement the Serializable interface I thought maybe I could use the RelJsonWriter and RelJsonReader instead. However the RelJsonWriter is not able to convert the HiveRelNodes into a json format.

Would anyone perhaps know of a different solution to serializing and deserializing these HiveRelNodes?


With kind regards,

Mark