You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by "liubin_work@yeah.net" <li...@yeah.net> on 2025/01/16 06:59:44 UTC
which one is better to use in hive when storage date like text type ,string or varchar?
I met a problem with using the hive, while I was creating a data table.
In such case, I want to keep the efficiency of query and minimum size of data occupy in hive, but some fields in this table are indefinite length.
Which data type is best for this case? Or I should use all of them in this table, the varchar for definite length field, and the string for indefinite length field.
Thanks for your help!