jhorstmann / compact-thrift

Thrift IDL parser and code generator for the compact protocol
Apache License 2.0
2 stars 0 forks source link

Add option to replace types with custom implementations #9

Open jhorstmann opened 5 months ago

jhorstmann commented 5 months ago

For example, implement a custom type that can store parquet statistics min/max values more efficiently, by storing integer values inline or only a prefix of the whole binary, implement CompactThriftProtocol for it and tell the code generator to use it for a specific field.