pan3793 commented on code in PR #3187:
URL: https://github.com/apache/parquet-java/pull/3187#discussion_r2036965107


##########
parquet-cli/src/test/resources/cli-output/show_footer_command.txt:
##########
@@ -0,0 +1,331 @@
+{
+  "fileMetaData" : {
+    "schema" : {
+      "name" : "schema",
+      "repetition" : "REPEATED",
+      "logicalTypeAnnotation" : null,
+      "id" : null,
+      "fields" : [ {
+        "name" : "int32_field",
+        "repetition" : "REQUIRED",
+        "logicalTypeAnnotation" : null,
+        "id" : null,
+        "primitive" : "INT32",
+        "length" : 0,
+        "decimalMeta" : null,
+        "columnOrder" : {
+          "columnOrderName" : "TYPE_DEFINED_ORDER"
+        }
+      }, {
+        "name" : "int64_field",
+        "repetition" : "REQUIRED",
+        "logicalTypeAnnotation" : null,
+        "id" : null,
+        "primitive" : "INT64",
+        "length" : 0,
+        "decimalMeta" : null,
+        "columnOrder" : {
+          "columnOrderName" : "TYPE_DEFINED_ORDER"
+        }
+      }, {
+        "name" : "float_field",
+        "repetition" : "REQUIRED",
+        "logicalTypeAnnotation" : null,
+        "id" : null,
+        "primitive" : "FLOAT",
+        "length" : 0,
+        "decimalMeta" : null,
+        "columnOrder" : {
+          "columnOrderName" : "TYPE_DEFINED_ORDER"
+        }
+      }, {
+        "name" : "double_field",
+        "repetition" : "REQUIRED",
+        "logicalTypeAnnotation" : null,
+        "id" : null,
+        "primitive" : "DOUBLE",
+        "length" : 0,
+        "decimalMeta" : null,
+        "columnOrder" : {
+          "columnOrderName" : "TYPE_DEFINED_ORDER"
+        }
+      }, {
+        "name" : "binary_field",
+        "repetition" : "REQUIRED",
+        "logicalTypeAnnotation" : null,
+        "id" : null,
+        "primitive" : "BINARY",
+        "length" : 0,
+        "decimalMeta" : null,
+        "columnOrder" : {
+          "columnOrderName" : "TYPE_DEFINED_ORDER"
+        }
+      }, {
+        "name" : "flba_field",
+        "repetition" : "REQUIRED",
+        "logicalTypeAnnotation" : null,
+        "id" : null,
+        "primitive" : "FIXED_LEN_BYTE_ARRAY",
+        "length" : 12,
+        "decimalMeta" : null,
+        "columnOrder" : {
+          "columnOrderName" : "TYPE_DEFINED_ORDER"
+        }
+      }, {
+        "name" : "date_field",
+        "repetition" : "REQUIRED",
+        "logicalTypeAnnotation" : { },
+        "id" : null,
+        "primitive" : "INT32",
+        "length" : 0,
+        "decimalMeta" : null,
+        "columnOrder" : {
+          "columnOrderName" : "TYPE_DEFINED_ORDER"
+        }
+      } ],
+      "indexByName" : {
+        "binary_field" : 4,
+        "date_field" : 6,
+        "double_field" : 3,
+        "flba_field" : 5,
+        "float_field" : 2,
+        "int32_field" : 0,
+        "int64_field" : 1
+      }
+    },
+    "keyValueMetaData" : {
+      "writer.model.name" : "example"
+    },
+    "createdBy" : "*****",

Review Comment:
   the masked content is
   ```
   parquet-mr version 1.16.0-SNAPSHOT (build 
6fe139effd1f64423e5ecf3ab8b7f545ca21f671)
   ```
   
   this brings additional issues, during release, the version would change from 
`1.16.0-SNAPSHOT` to `1.16.0`, which might cause `size` and `offset` change, 
thus UT fails



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to