Hi Ed Quoting Ed Judge <[email protected]>:
I am new to Thrift and I am doing a comparison to Avro and want to truly understand the difference between static vs dynamic typing. Thrift I understand uses static typing while Avro uses dynamic typing. If I want to do some filtering of some fields at a “source” and won’t always know the schema until a user configures which fields to pull out, will I need to regenerate the .thrift file and perform a compilation on it anytime the filtering rules change? I am probably not doing a very good job of explaining my question. Just wondering if Avro or Thrift are equally suitable when the source schema is unknown.
You can use optional fields within your Thrift data structures, generate the code and use it. best! -roger
Thanks, -Ed
