HIVE-8793: improve printing