Added (de)serializer for in clause and rowconstant.
Fixed (de)serialization bug for function, and implemented IntervalDatum.