File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
plugin/trino-pinot/src/test/java/io/trino/plugin/pinot Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 5555import org .apache .pinot .spi .data .readers .GenericRow ;
5656import org .apache .pinot .spi .data .readers .RecordReader ;
5757import org .apache .pinot .spi .utils .builder .TableNameBuilder ;
58- import org .testcontainers .shaded .org .bouncycastle .util .encoders .Hex ;
5958import org .testng .annotations .Test ;
6059
6160import java .io .File ;
7069import java .time .format .DateTimeFormatter ;
7170import java .util .ArrayList ;
7271import java .util .Arrays ;
72+ import java .util .HexFormat ;
7373import java .util .List ;
7474import java .util .Map ;
7575import java .util .Optional ;
@@ -762,7 +762,7 @@ private static GenericRecord createTestRecord(
762762 return new GenericRecordBuilder (schema )
763763 .set ("string_col" , stringArrayColumn .get (0 ))
764764 .set ("bool_col" , booleanColumn )
765- .set ("bytes_col" , Hex . toHexString (stringArrayColumn .get (0 ).getBytes (StandardCharsets .UTF_8 )))
765+ .set ("bytes_col" , HexFormat . of (). formatHex (stringArrayColumn .get (0 ).getBytes (StandardCharsets .UTF_8 )))
766766 .set ("string_array_col" , stringArrayColumn )
767767 .set ("int_array_col" , intArrayColumn )
768768 .set ("int_array_col_with_pinot_default" , intArrayColumn )
You can’t perform that action at this time.
0 commit comments