For hive version lower than 2.3.7, there is no enum ClientCapability.INSERT_ONLY_TABLES. So if we send this enum to the server side, the server side will get a null, and this will cause some undefined behavior, eg, failed to get tables infos from hms.