@@ -153,8 +153,8 @@ def test_read_manifest_entry(generated_manifest_entry_file: str) -> None:
153
153
}
154
154
assert data_file .nan_value_counts == {16 : 0 , 17 : 0 , 18 : 0 , 19 : 0 , 10 : 0 , 11 : 0 , 12 : 0 , 13 : 0 , 14 : 0 , 15 : 0 }
155
155
assert data_file .lower_bounds == {
156
- 2 : b"2020-04-01 00:00 " ,
157
- 3 : b"2020-04-01 00:12 " ,
156
+ 2 : b"\x01 \x00 \x00 \x00 " ,
157
+ 3 : b"\x01 \x00 \x00 \x00 " ,
158
158
7 : b"\x03 \x00 \x00 \x00 " ,
159
159
8 : b"\x01 \x00 \x00 \x00 " ,
160
160
10 : b"\xf6 (\\ \x8f \xc2 \x05 S\xc0 " ,
@@ -168,8 +168,8 @@ def test_read_manifest_entry(generated_manifest_entry_file: str) -> None:
168
168
19 : b"\x00 \x00 \x00 \x00 \x00 \x00 \x04 \xc0 " ,
169
169
}
170
170
assert data_file .upper_bounds == {
171
- 2 : b"2020-04-30 23:5: " ,
172
- 3 : b"2020-05-01 00:41 " ,
171
+ 2 : b"\x06 \x00 \x00 \x00 " ,
172
+ 3 : b"\x06 \x00 \x00 \x00 " ,
173
173
7 : b"\t \x01 \x00 \x00 " ,
174
174
8 : b"\t \x01 \x00 \x00 " ,
175
175
10 : b"\xcd \xcc \xcc \xcc \xcc ,_@" ,
@@ -397,7 +397,7 @@ def test_write_manifest(
397
397
398
398
expected_metadata = {
399
399
"schema" : test_schema .model_dump_json (),
400
- "partition-spec" : """[{"source-id":1,"field-id":1000,"transform":"identity","name":"VendorID"},{"source-id":2,"field-id":1001,"transform":"day","name":"tpep_pickup_datetime "}]""" ,
400
+ "partition-spec" : """[{"source-id":1,"field-id":1000,"transform":"identity","name":"VendorID"},{"source-id":2,"field-id":1001,"transform":"day","name":"tpep_pickup_day "}]""" ,
401
401
"partition-spec-id" : str (demo_manifest_file .partition_spec_id ),
402
402
"format-version" : str (format_version ),
403
403
}
@@ -490,8 +490,8 @@ def test_write_manifest(
490
490
}
491
491
assert data_file .nan_value_counts == {16 : 0 , 17 : 0 , 18 : 0 , 19 : 0 , 10 : 0 , 11 : 0 , 12 : 0 , 13 : 0 , 14 : 0 , 15 : 0 }
492
492
assert data_file .lower_bounds == {
493
- 2 : b"2020-04-01 00:00 " ,
494
- 3 : b"2020-04-01 00:12 " ,
493
+ 2 : b"\x01 \x00 \x00 \x00 " ,
494
+ 3 : b"\x01 \x00 \x00 \x00 " ,
495
495
7 : b"\x03 \x00 \x00 \x00 " ,
496
496
8 : b"\x01 \x00 \x00 \x00 " ,
497
497
10 : b"\xf6 (\\ \x8f \xc2 \x05 S\xc0 " ,
@@ -505,8 +505,8 @@ def test_write_manifest(
505
505
19 : b"\x00 \x00 \x00 \x00 \x00 \x00 \x04 \xc0 " ,
506
506
}
507
507
assert data_file .upper_bounds == {
508
- 2 : b"2020-04-30 23:5: " ,
509
- 3 : b"2020-05-01 00:41 " ,
508
+ 2 : b"\x06 \x00 \x00 \x00 " ,
509
+ 3 : b"\x06 \x00 \x00 \x00 " ,
510
510
7 : b"\t \x01 \x00 \x00 " ,
511
511
8 : b"\t \x01 \x00 \x00 " ,
512
512
10 : b"\xcd \xcc \xcc \xcc \xcc ,_@" ,
0 commit comments