-
Notifications
You must be signed in to change notification settings - Fork 416
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add test case for table with null stats in notnull struct
- Loading branch information
Showing
6 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
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
3 changes: 3 additions & 0 deletions
3
...t/tests/data/table_with_null_stats_in_notnull_struct/_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 @@ | ||
{"commitInfo":{"timestamp":1711560767220,"operation":"CREATE OR REPLACE TABLE","operationParameters":{"isManaged":"false","description":null,"partitionBy":"[]","properties":"{}"},"isolationLevel":"Serializable","isBlindAppend":true,"operationMetrics":{},"engineInfo":"Apache-Spark/3.5.1 Delta-Lake/3.1.0","txnId":"99840af5-4b41-4a0e-b1b8-8d22ae77ccf6"}} | ||
{"metaData":{"id":"e849a43f-42e1-404e-b13d-224d85eb7573","format":{"provider":"parquet","options":{}},"schemaString":"{\"type\":\"struct\",\"fields\":[{\"name\":\"s\",\"type\":{\"type\":\"struct\",\"fields\":[{\"name\":\"l\",\"type\":\"long\",\"nullable\":false,\"metadata\":{}},{\"name\":\"b\",\"type\":\"boolean\",\"nullable\":false,\"metadata\":{}}]},\"nullable\":false,\"metadata\":{}}]}","partitionColumns":[],"configuration":{},"createdTime":1711560767211}} | ||
{"protocol":{"minReaderVersion":1,"minWriterVersion":2}} |
3 changes: 3 additions & 0 deletions
3
...t/tests/data/table_with_null_stats_in_notnull_struct/_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 @@ | ||
{"commitInfo":{"timestamp":1711560789508,"operation":"WRITE","operationParameters":{"mode":"Append","partitionBy":"[]"},"readVersion":0,"isolationLevel":"Serializable","isBlindAppend":true,"operationMetrics":{"numFiles":"3","numOutputRows":"2","numOutputBytes":"1978"},"engineInfo":"Apache-Spark/3.5.1 Delta-Lake/3.1.0","txnId":"80eed5be-d309-42dd-91e9-e1215a03e6dd"}} | ||
{"add":{"path":"part-00004-e7a7f9d9-18cb-45ee-9d64-6c711cd8eb77-c000.snappy.parquet","partitionValues":{},"size":763,"modificationTime":1711560789496,"dataChange":true,"stats":"{\"numRecords\":1,\"minValues\":{\"s\":{\"l\":10}},\"maxValues\":{\"s\":{\"l\":10}},\"nullCount\":{\"s\":{\"l\":0,\"b\":0}}}"}} | ||
{"add":{"path":"part-00009-ffa42641-8c4e-4f27-875e-bbb68e3bb100-c000.snappy.parquet","partitionValues":{},"size":762,"modificationTime":1711560789496,"dataChange":true,"stats":"{\"numRecords\":1,\"minValues\":{\"s\":{\"l\":20}},\"maxValues\":{\"s\":{\"l\":20}},\"nullCount\":{\"s\":{\"l\":0,\"b\":0}}}"}} |
Binary file added
BIN
+453 Bytes
...ats_in_notnull_struct/part-00000-38343f4d-d7db-4e6c-b174-d0dd01510f34-c000.snappy.parquet
Binary file not shown.
Binary file added
BIN
+763 Bytes
...ats_in_notnull_struct/part-00004-e7a7f9d9-18cb-45ee-9d64-6c711cd8eb77-c000.snappy.parquet
Binary file not shown.
Binary file added
BIN
+762 Bytes
...ats_in_notnull_struct/part-00009-ffa42641-8c4e-4f27-875e-bbb68e3bb100-c000.snappy.parquet
Binary file not shown.