-
Notifications
You must be signed in to change notification settings - Fork 413
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add test for date type partitioning #1445
- Loading branch information
1 parent
b644d8a
commit c7d023b
Showing
5 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
rust/tests/data/issue_1445/_delta_log/00000000000000000000.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{"protocol":{"minReaderVersion":1,"minWriterVersion":1}} | ||
{"metaData":{"id":"93bea48b-6453-474c-9214-4fd69194db55","name":null,"description":null,"format":{"provider":"parquet","options":{}},"schemaString":"{\"type\":\"struct\",\"fields\":[{\"name\":\"id\",\"type\":\"integer\",\"nullable\":true,\"metadata\":{}},{\"name\":\"date\",\"type\":\"date\",\"nullable\":false,\"metadata\":{}}]}","partitionColumns":["date"],"createdTime":1686160061066,"configuration":{}}} | ||
{"commitInfo":{"timestamp":1686160061068,"operation":"CREATE TABLE","operationParameters":{"mode":"ErrorIfExists","protocol":"{\"minReaderVersion\":1,\"minWriterVersion\":1}","metadata":"{\"configuration\":{},\"created_time\":1686160061066,\"description\":null,\"format\":{\"options\":{},\"provider\":\"parquet\"},\"id\":\"93bea48b-6453-474c-9214-4fd69194db55\",\"name\":null,\"partition_columns\":[\"date\"],\"schema\":{\"fields\":[{\"metadata\":{},\"name\":\"id\",\"nullable\":true,\"type\":\"integer\"},{\"metadata\":{},\"name\":\"date\",\"nullable\":false,\"type\":\"date\"}],\"type\":\"struct\"}}","location":"file:///Users/cole/github.com/cmackenzie1/delta-rs/rust/tests/data/issue_1445"},"clientVersion":"delta-rs.0.13.0"}} |
3 changes: 3 additions & 0 deletions
3
rust/tests/data/issue_1445/_delta_log/00000000000000000001.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{"add":{"path":"date=2023-06-07/part-00000-94397190-941b-4859-ad95-4f40dae21a9b-c000.snappy.parquet","size":484,"partitionValues":{"date":"2023-06-07"},"modificationTime":1686160061092,"dataChange":true,"stats":"{\"numRecords\":1,\"minValues\":{\"id\":1},\"maxValues\":{\"id\":1},\"nullCount\":{\"id\":0}}","tags":null}} | ||
{"add":{"path":"date=2023-06-08/part-00000-938c1d51-6fe7-4b01-84da-ee1aa265befd-c000.snappy.parquet","size":484,"partitionValues":{"date":"2023-06-08"},"modificationTime":1686160061095,"dataChange":true,"stats":"{\"numRecords\":1,\"minValues\":{\"id\":2},\"maxValues\":{\"id\":2},\"nullCount\":{\"id\":0}}","tags":null}} | ||
{"commitInfo":{"timestamp":1686160061095,"clientVersion":"delta-rs.0.13.0"}} |
Binary file added
BIN
+484 Bytes
..._1445/date=2023-06-07/part-00000-94397190-941b-4859-ad95-4f40dae21a9b-c000.snappy.parquet
Binary file not shown.
Binary file added
BIN
+484 Bytes
..._1445/date=2023-06-08/part-00000-938c1d51-6fe7-4b01-84da-ee1aa265befd-c000.snappy.parquet
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters