@@ -153,8 +153,8 @@ def test_read_manifest_entry(generated_manifest_entry_file: str) -> None:
153153 }
154154 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 }
155155 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 " ,
158158 7 : b"\x03 \x00 \x00 \x00 " ,
159159 8 : b"\x01 \x00 \x00 \x00 " ,
160160 10 : b"\xf6 (\\ \x8f \xc2 \x05 S\xc0 " ,
@@ -168,8 +168,8 @@ def test_read_manifest_entry(generated_manifest_entry_file: str) -> None:
168168 19 : b"\x00 \x00 \x00 \x00 \x00 \x00 \x04 \xc0 " ,
169169 }
170170 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 " ,
173173 7 : b"\t \x01 \x00 \x00 " ,
174174 8 : b"\t \x01 \x00 \x00 " ,
175175 10 : b"\xcd \xcc \xcc \xcc \xcc ,_@" ,
@@ -397,7 +397,7 @@ def test_write_manifest(
397397
398398 expected_metadata = {
399399 "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 "}]""" ,
401401 "partition-spec-id" : str (demo_manifest_file .partition_spec_id ),
402402 "format-version" : str (format_version ),
403403 }
@@ -490,8 +490,8 @@ def test_write_manifest(
490490 }
491491 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 }
492492 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 " ,
495495 7 : b"\x03 \x00 \x00 \x00 " ,
496496 8 : b"\x01 \x00 \x00 \x00 " ,
497497 10 : b"\xf6 (\\ \x8f \xc2 \x05 S\xc0 " ,
@@ -505,8 +505,8 @@ def test_write_manifest(
505505 19 : b"\x00 \x00 \x00 \x00 \x00 \x00 \x04 \xc0 " ,
506506 }
507507 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 " ,
510510 7 : b"\t \x01 \x00 \x00 " ,
511511 8 : b"\t \x01 \x00 \x00 " ,
512512 10 : b"\xcd \xcc \xcc \xcc \xcc ,_@" ,
0 commit comments