Details
-
Sub-task
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
Impala 2.11.0
-
None
-
None
-
ghx-label-6
Description
When a String is serialized/deserialized in thrfit, it will be encoded/copied several times. It consumes both time and memory.
Catalog server stores most information as-is without caring about the encoding or doing any operation on the string. Thus, we should use binary (byte[] in Java) in thrift unless a field is defined as string by HMS.