Skip to content

Commit

Permalink
Fix PARQUET.md
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Nov 29, 2023
1 parent ce47fe6 commit 15e0be7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PARQUET.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ spark.read.parquet_metadata("/path/to/parquet").show()
+-------------+------+---------------+-----------------+----+-------+------+-----+--------------------+--------------------+-----------+--------------------+
| filename|blocks|compressedBytes|uncompressedBytes|rows|columns|values|nulls| createdBy| schema| encryption| keyValues|
+-------------+------+---------------+-----------------+----+-------+------+-----+--------------------+--------------------+-----------+--------------------+
|file1.parquet| 2| 2539| 3302| 200| 2| 400| 0|parquet-mr versio...|message spark_sch...|UNENCRYPTED|{org.apache.spark...|
|file2.parquet| 1| 1268| 1652| 100| 2| 200| 0|parquet-mr versio...|message spark_sch...|UNENCRYPTED|{org.apache.spark...|
|file1.parquet| 1| 1268| 1652| 100| 2| 200| 0|parquet-mr versio...|message spark_sch...|UNENCRYPTED|{org.apache.spark...|
|file2.parquet| 2| 2539| 3302| 200| 2| 400| 0|parquet-mr versio...|message spark_sch...|UNENCRYPTED|{org.apache.spark...|
+-------------+------+---------------+-----------------+----+-------+------+-----+--------------------+--------------------+-----------+--------------------+
```

Expand All @@ -62,7 +62,7 @@ The Dataframe provides the following per-file information:
|compressedBytes |long |Number of compressed bytes of all blocks |
|uncompressedBytes |long |Number of uncompressed bytes of all blocks |
|rows |long |Number of rows in the file |
|columns |int |Number of columns in the file |
|columns |int |Number of columns in the file |
|values |long |Number of values in the file |
|nulls |long |Number of null values in the file |
|createdBy |string|The createdBy string of the Parquet file, e.g. library used to write the file|
Expand Down

0 comments on commit 15e0be7

Please sign in to comment.