6464import org .junit .rules .TemporaryFolder ;
6565import org .junit .runner .RunWith ;
6666import org .junit .runners .Parameterized ;
67+ import org .slf4j .Logger ;
68+ import org .slf4j .LoggerFactory ;
6769
6870/**
6971 * This class contains test cases to validate each data type encoding.
7274 */
7375@ RunWith (Parameterized .class )
7476public class FileEncodingsIT {
77+
78+ private static final Logger LOG = LoggerFactory .getLogger (FileEncodingsIT .class );
79+
7580 private static final int RANDOM_SEED = 1 ;
7681 private static final int RECORD_COUNT = 2000000 ;
7782 private static final int FIXED_LENGTH = 60 ;
@@ -156,7 +161,7 @@ public void testFileEncodingsWithoutDictionary() throws Exception {
156161 * This loop will make sure to test future writer versions added to WriterVersion enum.
157162 */
158163 for (WriterVersion writerVersion : WriterVersion .values ()) {
159- System . out . println (String .format (
164+ LOG . info (String .format (
160165 "Testing %s/%s/%s encodings using ROW_GROUP_SIZE=%d PAGE_SIZE=%d" ,
161166 writerVersion , this .paramTypeName , this .compression , TEST_ROW_GROUP_SIZE , TEST_PAGE_SIZE ));
162167
@@ -182,7 +187,7 @@ public void testFileEncodingsWithDictionary() throws Exception {
182187 * This loop will make sure to test future writer versions added to WriterVersion enum.
183188 */
184189 for (WriterVersion writerVersion : WriterVersion .values ()) {
185- System . out . println (String .format (
190+ LOG . info (String .format (
186191 "Testing %s/%s/%s + DICTIONARY encodings using ROW_GROUP_SIZE=%d PAGE_SIZE=%d" ,
187192 writerVersion , this .paramTypeName , this .compression , TEST_ROW_GROUP_SIZE , TEST_PAGE_SIZE ));
188193
0 commit comments