This is an automated email from the ASF dual-hosted git repository.
fokko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/parquet-mr.git
The following commit(s) were added to refs/heads/master by this push:
new 783c3b7 PARQUET-1763: Add SLF4J to TestCircularReferences (#746)
783c3b7 is described below
commit 783c3b78aac41fc69e29ae5679dd8cdb1b38b568
Author: belugabehr <[email protected]>
AuthorDate: Sun Apr 26 05:44:39 2020 -0400
PARQUET-1763: Add SLF4J to TestCircularReferences (#746)
Co-authored-by: David Mollitor <[email protected]>
---
.../test/java/org/apache/parquet/avro/TestCircularReferences.java | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git
a/parquet-avro/src/test/java/org/apache/parquet/avro/TestCircularReferences.java
b/parquet-avro/src/test/java/org/apache/parquet/avro/TestCircularReferences.java
index d2f80ed..961634b 100644
---
a/parquet-avro/src/test/java/org/apache/parquet/avro/TestCircularReferences.java
+++
b/parquet-avro/src/test/java/org/apache/parquet/avro/TestCircularReferences.java
@@ -38,6 +38,8 @@ import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
/**
* This class is based on org.apache.avro.TestCircularReferences
@@ -50,6 +52,8 @@ import org.junit.rules.TemporaryFolder;
*/
public class TestCircularReferences {
+ private static final Logger LOG =
LoggerFactory.getLogger(TestCircularReferences.class);
+
@Rule
public TemporaryFolder temp = new TemporaryFolder();
@@ -343,7 +347,7 @@ public class TestCircularReferences {
Schema schema = idRef.addToSchema(parentSchema);
- System.out.println("Schema: " + schema.toString(true));
+ LOG.debug("Schema: {}", schema.toString(true));
Record parent = new Record(schema);
parent.put("id", 1L);