protected static byte[] convertToBytes(String value) {
      return value.getBytes(StandardCharsets.UTF_8);
    }
Method to convert string to UTF-8 bytes.
ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/ParquetDataColumnReaderFactory.java