You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@parquet.apache.org by ma...@apache.org on 2024/08/13 16:56:40 UTC

(parquet-testing) branch master updated: Add test file with sorting columns (#56)

This is an automated email from the ASF dual-hosted git repository.

maplefu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/parquet-testing.git


The following commit(s) were added to refs/heads/master by this push:
     new 45b737f  Add test file with sorting columns (#56)
45b737f is described below

commit 45b737f49dc2bc707292983d8865263dd7e19f54
Author: mwish <ma...@gmail.com>
AuthorDate: Wed Aug 14 00:56:36 2024 +0800

    Add test file with sorting columns (#56)
    
    * Add file with sorting columns
    
    * change to 2 row-groups
    
    * Update data/README.md
    
    Co-authored-by: Gang Wu <us...@gmail.com>
    
    ---------
    
    Co-authored-by: Gang Wu <us...@gmail.com>
---
 data/README.md            |   1 +
 data/sort_columns.parquet | Bin 0 -> 1361 bytes
 2 files changed, 1 insertion(+)

diff --git a/data/README.md b/data/README.md
index 70bfb21..b5003c2 100644
--- a/data/README.md
+++ b/data/README.md
@@ -52,6 +52,7 @@
 | byte_stream_split.zstd.parquet | Standard normals with `BYTE_STREAM_SPLIT` encoding. See [note](#byte-stream-split) below |
 | incorrect_map_schema.parquet | Contains a Map schema without explicitly required keys, produced by Presto. See [note](#incorrect-map-schema) |
 | column_chunk_key_value_metadata.parquet | two INT32 columns, one with column chunk key-value metadata {"foo": "bar", "thisiskeywithoutvalue": null} note that the second key "thisiskeywithoutvalue", does not have a value, but the value can be mapped to an empty string "" when read depending on the client |
+| sorting_columns.parquet | INT64 and BYTE_ARRAY columns with first column with nulls first and descending, second column with nulls last and ascending. This file contains two row groups with same data and sorting columns. |
 
 TODO: Document what each file is in the table above.
 
diff --git a/data/sort_columns.parquet b/data/sort_columns.parquet
new file mode 100644
index 0000000..c95fcb7
Binary files /dev/null and b/data/sort_columns.parquet differ