In HIVE-7975 did string interning in thrift-generated code by having a google-replacer plugin run with -Pthriftif that does the replacements.
In commit of HIVE-7482, it was removed as it was done without that plugin. Thrift code should be regenerated.