Corpus 0.3.0: 44 scenarios (github.com/AndreaBozzo/tabular-evolution-corpus@4542e4b, tag v0.3.0)
Browse filesFiles changed (31)
- CITATION.cff+2-2
- README.md+3-3
- SHA256SUMS+28-1
- data/scenarios.parquet+2-2
- fixtures/dates_before_gregorian_cutover/scenario.jsonAdded+93
- fixtures/dates_before_gregorian_cutover/v0.parquetAdded+3
- fixtures/dates_before_gregorian_cutover/v1.parquetAdded+3
- fixtures/drop_then_readd_column/scenario.jsonAdded+111
- fixtures/drop_then_readd_column/v0.parquetAdded+3
- fixtures/drop_then_readd_column/v1.parquetAdded+3
- fixtures/float32_to_float64/scenario.jsonAdded+89
- fixtures/float32_to_float64/v0.parquetAdded+3
- fixtures/float32_to_float64/v1.parquetAdded+3
- fixtures/rename_case_only/scenario.jsonAdded+95
- fixtures/rename_case_only/v0.parquetAdded+3
- fixtures/rename_case_only/v1.parquetAdded+3
- fixtures/rename_then_reuse_name/scenario.jsonAdded+116
- fixtures/rename_then_reuse_name/v0.parquetAdded+3
- fixtures/rename_then_reuse_name/v1.parquetAdded+3
- fixtures/reorder_nested_fields/scenario.jsonAdded+96
- fixtures/reorder_nested_fields/v0.parquetAdded+3
- fixtures/reorder_nested_fields/v1.parquetAdded+3
- fixtures/timestamp_ms_to_us/scenario.jsonAdded+90
- fixtures/timestamp_ms_to_us/v0.parquetAdded+3
- fixtures/timestamp_ms_to_us/v1.parquetAdded+3
- fixtures/uint32_to_int64/scenario.jsonAdded+89
- fixtures/uint32_to_int64/v0.parquetAdded+3
- fixtures/uint32_to_int64/v1.parquetAdded+3
- fixtures/widen_int16_to_int32/scenario.jsonAdded+88
- fixtures/widen_int16_to_int32/v0.parquetAdded+3
- fixtures/widen_int16_to_int32/v1.parquetAdded+3
27 unmodified lines282930313227 unmodified lines- test fixtures- data engineeringlicense: Apache-2.0version: 0.2.0date-released: 2026-09-2227 unmodified lines282930313227 unmodified lines- test fixtures- data engineeringlicense: Apache-2.0version: 0.3.0date-released: 2026-10-31
36 unmodified lines3738394041424342 unmodified lines8687888990919230 unmodified lines12312412512612712812936 unmodified lines## What the viewer showsThe viewer shows the **catalog**, `data/scenarios.parquet`, with one row perscenario (35 rows). The catalog is an index. The versioned fixture files itpoints to live in the same repository under `fixtures/<scenario_id>/`(`v0.parquet`, `v1.parquet`, ..., `scenario.json`).42 unmodified lines```Every corpus release is a tag, both here and on GitHub. Pass`revision="v0.2.0"` to either call to get exactly that release. A released tagis never moved, and a changed corpus gets a new release.```sql30 unmodified linesengines, lakehouse tooling, schema registries, contract validators andprofilers. It is not training data, not a performance benchmark, and not aconformance suite for Arrow or Parquet (see apache/parquet-testing and theArrow integration tests for those). Corpus 0.2.0 covers Parquet only and 35scenarios. Nested evolution covers structs, lists and maps; datasets arekeyed or identified by row position.36 unmodified lines3738394041424342 unmodified lines8687888990919230 unmodified lines12312412512612712812936 unmodified lines## What the viewer showsThe viewer shows the **catalog**, `data/scenarios.parquet`, with one row perscenario (44 rows). The catalog is an index. The versioned fixture files itpoints to live in the same repository under `fixtures/<scenario_id>/`(`v0.parquet`, `v1.parquet`, ..., `scenario.json`).42 unmodified lines```Every corpus release is a tag, both here and on GitHub. Pass`revision="v0.3.0"` to either call to get exactly that release. A released tagis never moved, and a changed corpus gets a new release.```sql30 unmodified linesengines, lakehouse tooling, schema registries, contract validators andprofilers. It is not training data, not a performance benchmark, and not aconformance suite for Arrow or Parquet (see apache/parquet-testing and theArrow integration tests for those). Corpus 0.3.0 covers Parquet only and 44scenarios. Nested evolution covers structs, lists and maps; datasets arekeyed or identified by row position.
19 unmodified lines2021222324253 unmodified lines29303132333435363733 unmodified lines71727374757677787980818212 unmodified lines959697989910010110210310410510610719 unmodified lines340c565d73c9c31afc97187dcfd87c104ea05bb1691b07c2dc700c76ca8cce18 fixtures/column_becomes_all_null/scenario.jsond771b04d881eabde2ef378a32ac148b641d8ca7f0e4658dd0e4b02209fad8beb fixtures/column_becomes_all_null/v0.parquet2db5a06fdb1dd050b52daa1669e41685c7612ac10abb278a31608e5568633747 fixtures/column_becomes_all_null/v1.parquet6b041e4c32bc0164062ebe447994c930690639ebb65c29255cb1cfc2843a49bd fixtures/decimal_precision_increase/scenario.json006921ca14f60ff4abe8b0c383a52c8814c2edb490c9772b707d332ce54b2453 fixtures/decimal_precision_increase/v0.parquet4b7f8fab8066e5aa9164dfe6820c8ee9ead954e157af9c52c2407e78989809f6 fixtures/decimal_precision_increase/v1.parquet3 unmodified lines15d56f9a97df32d8131eb0fab1fcc559eec79ce1416792595433f6ad23b6c68a fixtures/dictionary_reencoded/scenario.json5e632776f3922ea7dd9928a1bcfbd316f8fc449f309eafd884f8aaa38bba4893 fixtures/dictionary_reencoded/v0.parquet1cd5b56f540888f992be3ef89de93f6e5ca36ffce430f9bc8bf109c90ab587a4 fixtures/dictionary_reencoded/v1.parquetcbc81fb965c6e58ff33058be4c0b5f3b3fdf100ca8c73089144085e92ac7fe5e fixtures/empty_then_populated/scenario.json1f6204f46cec5a4c80dda1d8d9185983768a5bf9c2dcbe93efead006336bf575 fixtures/empty_then_populated/v0.parquet1f50933c09b1fdb0c058b1cca9002188b291c1f3227f357defa5585cd8f06852 fixtures/empty_then_populated/v1.parquet957e87e25a0a9b42bc0fa5ac8ef82beb744b41c291eb90361c9351f03c147b9e fixtures/float64_to_int64_fractional/scenario.json5c2929fd03e3678fb6d19f4e3983337d86de1c6142e5c2675c7d488538dd4224 fixtures/float64_to_int64_fractional/v0.parqueta01ea9516e7eeb122eb54cb84bca3ef7d2bf2e4669ee6ac6c0e0340d9ed8998a fixtures/float64_to_int64_fractional/v1.parquet33 unmodified lines523ab362ed08a7f55e86bc45191ef33c93b98b326c97b5e441eb93f54c6cb592 fixtures/remove_required_column/scenario.jsonbe765e3f02b22f86c87cf696728207e1304ed7ad9337a7f78c2933100e201ae5 fixtures/remove_required_column/v0.parquet86d05358dd095f7997caed3a92b267bbf4404252c65f39d7402c3931b7f15568 fixtures/remove_required_column/v1.parquet923948a759a45a8b8555ad401dfe862fdfff0871e3cc04a8a363851278667a44 fixtures/rename_column_with_field_id/scenario.json361bc86af59c305fde1c68148d423216187d43ddd039f7587851cc3c5791bf8f fixtures/rename_column_with_field_id/v0.parquet22782447d74d3b3265a5b812c225fb8362d1c42399268f6a49f56c7988aabcc0 fixtures/rename_column_with_field_id/v1.parquet48227c821a667cae760e735c6d6f111fb574a1aa1a15f16afa3b7f3a2b87da80 fixtures/reorder_columns/scenario.json5099d62bf4e89193d8bec778101c1bd652d0fc2d38e8302d340268275a0803f7 fixtures/reorder_columns/v0.parquet4ebeb32c56f5d0877e6bddacf7a20d6af7c1d20c4a55a7a7835add3f9fbe2093 fixtures/reorder_columns/v1.parquetf18f405f37b818f4115630b9e112f517df66a3528ec1789245d7255384dc65d4 fixtures/required_to_nullable/scenario.jsone4bfedec6359dae7c1a58c2cad622a85db46ff1984669a3d7e2a678de1d4570e fixtures/required_to_nullable/v0.parquet7e4f52f7ed7b942a9efdb5b6d2918d5fafeeb1aeb50212af041d21b6f550d8a9 fixtures/required_to_nullable/v1.parquet12 unmodified lines892e638223cb1e02d9b5b4fff7b4863d7f4603ce981bec6714e24e57c8964408 fixtures/string_to_large_string/scenario.jsonfff9662751d3a010c6294247fd8ba054cc68aac5c85b3d230afe55429ac34dff fixtures/string_to_large_string/v0.parquet3e2ed081cb8f475d6618dd506aefd44f46e7968f31b59cf0e24ca47cd80d7cc6 fixtures/string_to_large_string/v1.parquet7e44e838c9723cef111dda0305b42028d21845eb98ae05ac033c963b99eebab9 fixtures/timestamp_naive_to_utc/scenario.json8529534601aeab9e61c1d7c6f001c0cf01e64958b74f3c77cf62185a440574b0 fixtures/timestamp_naive_to_utc/v0.parquet118d594225f11533a1ba702ce046f43df824c6960f99b4c35db83caeff0b7be5 fixtures/timestamp_naive_to_utc/v1.parqueta8ba48b934c2add439c05519b1a6b5ec210ee0cad8b4d95bc71349fb88ec7b3b fixtures/timestamp_ns_to_us/scenario.json71e1227ae35327affc32788f74446b085cb9bf2ca295cc422734432203e266c6 fixtures/timestamp_ns_to_us/v0.parquet21e36799370f5f05ac1f67eb1ad4e4ea81c6276567ac3cf5f3156048fa4a8a1d fixtures/timestamp_ns_to_us/v1.parquet4e454131023de286770cc1178eb2dfbf2fe06c6e828036655bc5307177afe8b4 fixtures/widen_int32_to_int64/scenario.jsonf1070818ebda9d1151281fd99a6039a69ae4a7df6e99f67df1fcdc3cfba159e4 fixtures/widen_int32_to_int64/v0.parquet9106b3591dcff7ce0d38ea671bab639bc71ea6efab66d6db2c645ec6f07680a5 fixtures/widen_int32_to_int64/v1.parquet8335bffc492a9f77ab4f2caa038f5402ec445b322322055a192530e765813b81 data/scenarios.parquet19 unmodified lines2021222324252627283 unmodified lines32333435363738394041424344454633 unmodified lines808182838485868788899091929394959697989910012 unmodified lines11311411511611711811912012112212312412512612712812913013113213313419 unmodified lines340c565d73c9c31afc97187dcfd87c104ea05bb1691b07c2dc700c76ca8cce18 fixtures/column_becomes_all_null/scenario.jsond771b04d881eabde2ef378a32ac148b641d8ca7f0e4658dd0e4b02209fad8beb fixtures/column_becomes_all_null/v0.parquet2db5a06fdb1dd050b52daa1669e41685c7612ac10abb278a31608e5568633747 fixtures/column_becomes_all_null/v1.parquetae9e7ff942448ce097b1d8954d5faa9da2d60dc93476ab7ae50c7aa926cfdc9a fixtures/dates_before_gregorian_cutover/scenario.json49c393ba0803e84ad21cd03a397f9d6da99f53288fca7723851987cba35cc0e5 fixtures/dates_before_gregorian_cutover/v0.parqueta73d5ad9f3dd2ba45891edbde536afec317d310087f27b4091d9b41996a6aab3 fixtures/dates_before_gregorian_cutover/v1.parquet6b041e4c32bc0164062ebe447994c930690639ebb65c29255cb1cfc2843a49bd fixtures/decimal_precision_increase/scenario.json006921ca14f60ff4abe8b0c383a52c8814c2edb490c9772b707d332ce54b2453 fixtures/decimal_precision_increase/v0.parquet4b7f8fab8066e5aa9164dfe6820c8ee9ead954e157af9c52c2407e78989809f6 fixtures/decimal_precision_increase/v1.parquet3 unmodified lines15d56f9a97df32d8131eb0fab1fcc559eec79ce1416792595433f6ad23b6c68a fixtures/dictionary_reencoded/scenario.json5e632776f3922ea7dd9928a1bcfbd316f8fc449f309eafd884f8aaa38bba4893 fixtures/dictionary_reencoded/v0.parquet1cd5b56f540888f992be3ef89de93f6e5ca36ffce430f9bc8bf109c90ab587a4 fixtures/dictionary_reencoded/v1.parquetd9469df9e645a26ed4eb2f813f9647491a91faaa752533f2f7ada56c0afe0e8e fixtures/drop_then_readd_column/scenario.json296486e3a5eecc821df8c52dba98d9c89c05183916c6bb1554eb755ac1f57cda fixtures/drop_then_readd_column/v0.parquet606cd4473931fc24c3ee4bd8a18a38f469863e7d388dcfba6a39cddce71bf48b fixtures/drop_then_readd_column/v1.parquetcbc81fb965c6e58ff33058be4c0b5f3b3fdf100ca8c73089144085e92ac7fe5e fixtures/empty_then_populated/scenario.json1f6204f46cec5a4c80dda1d8d9185983768a5bf9c2dcbe93efead006336bf575 fixtures/empty_then_populated/v0.parquet1f50933c09b1fdb0c058b1cca9002188b291c1f3227f357defa5585cd8f06852 fixtures/empty_then_populated/v1.parquet25e547a7d87deea5e9088f61e0a1e8d7c5e6d905c81fcef3ab92da29cd04d4bc fixtures/float32_to_float64/scenario.json08703a114fe8f18fb293c5eba59573195df9fcb4ad0809a274b4cd952c092130 fixtures/float32_to_float64/v0.parquet591c18443a05571d577422d5b563e2686c3a34164319f5d765d050ea9fd4c33d fixtures/float32_to_float64/v1.parquet957e87e25a0a9b42bc0fa5ac8ef82beb744b41c291eb90361c9351f03c147b9e fixtures/float64_to_int64_fractional/scenario.json5c2929fd03e3678fb6d19f4e3983337d86de1c6142e5c2675c7d488538dd4224 fixtures/float64_to_int64_fractional/v0.parqueta01ea9516e7eeb122eb54cb84bca3ef7d2bf2e4669ee6ac6c0e0340d9ed8998a fixtures/float64_to_int64_fractional/v1.parquet33 unmodified lines523ab362ed08a7f55e86bc45191ef33c93b98b326c97b5e441eb93f54c6cb592 fixtures/remove_required_column/scenario.jsonbe765e3f02b22f86c87cf696728207e1304ed7ad9337a7f78c2933100e201ae5 fixtures/remove_required_column/v0.parquet86d05358dd095f7997caed3a92b267bbf4404252c65f39d7402c3931b7f15568 fixtures/remove_required_column/v1.parquetfc9938ad9e22b8e184e15381108dae50d198fa832a9e825f637fa5328c9c3b81 fixtures/rename_case_only/scenario.json088b23f17e1d5d3990d3892ac1891b29da5be159d8a5b73e1d15a9b80ba73dae fixtures/rename_case_only/v0.parquet4f2f638beb2a1b94c54dc006f5300fd2ae08c1fe326f567ac263466c124122c0 fixtures/rename_case_only/v1.parquet923948a759a45a8b8555ad401dfe862fdfff0871e3cc04a8a363851278667a44 fixtures/rename_column_with_field_id/scenario.json361bc86af59c305fde1c68148d423216187d43ddd039f7587851cc3c5791bf8f fixtures/rename_column_with_field_id/v0.parquet22782447d74d3b3265a5b812c225fb8362d1c42399268f6a49f56c7988aabcc0 fixtures/rename_column_with_field_id/v1.parquetf9c2137f8caf76ec10bd66400c4757326c91f829d5791522eb045a552d3aee5b fixtures/rename_then_reuse_name/scenario.jsona841f403a1de3439083c37fe767694e0d6d0c0c55f398535bebda2d0e0fbd7a5 fixtures/rename_then_reuse_name/v0.parquetf0b9011ce8da1b63c31713dd9323c48b818d267a70cf85be438302cea991df3d fixtures/rename_then_reuse_name/v1.parquet48227c821a667cae760e735c6d6f111fb574a1aa1a15f16afa3b7f3a2b87da80 fixtures/reorder_columns/scenario.json5099d62bf4e89193d8bec778101c1bd652d0fc2d38e8302d340268275a0803f7 fixtures/reorder_columns/v0.parquet4ebeb32c56f5d0877e6bddacf7a20d6af7c1d20c4a55a7a7835add3f9fbe2093 fixtures/reorder_columns/v1.parquetd2f124682d97a16586567fd97e4847443d02e3f797eeb96c3b4b08e61d0e08eb fixtures/reorder_nested_fields/scenario.jsone65a06ec257549c5bfcc1a23caa25cd560f172d8c1c5d0737641d13f19ce8226 fixtures/reorder_nested_fields/v0.parquet0a322dd8cf5587bd13d6f6343738f129a040460a6f0b9c2b94b673acf3df7918 fixtures/reorder_nested_fields/v1.parquetf18f405f37b818f4115630b9e112f517df66a3528ec1789245d7255384dc65d4 fixtures/required_to_nullable/scenario.jsone4bfedec6359dae7c1a58c2cad622a85db46ff1984669a3d7e2a678de1d4570e fixtures/required_to_nullable/v0.parquet7e4f52f7ed7b942a9efdb5b6d2918d5fafeeb1aeb50212af041d21b6f550d8a9 fixtures/required_to_nullable/v1.parquet12 unmodified lines892e638223cb1e02d9b5b4fff7b4863d7f4603ce981bec6714e24e57c8964408 fixtures/string_to_large_string/scenario.jsonfff9662751d3a010c6294247fd8ba054cc68aac5c85b3d230afe55429ac34dff fixtures/string_to_large_string/v0.parquet3e2ed081cb8f475d6618dd506aefd44f46e7968f31b59cf0e24ca47cd80d7cc6 fixtures/string_to_large_string/v1.parquet3ba82d6178edb896442aba2cd2db7b045a5470bb05dbc5226a84f00a4d6c1643 fixtures/timestamp_ms_to_us/scenario.jsonea960c59fe2c9353cf0bc1a327f73cd7ac7ccb8efb2c674b6abbb2dd7af84f8d fixtures/timestamp_ms_to_us/v0.parquet6e61f786ae4b07cd4d4d0fe300df4de26aea6d1762ed67307ba7904e7bbfe919 fixtures/timestamp_ms_to_us/v1.parquet7e44e838c9723cef111dda0305b42028d21845eb98ae05ac033c963b99eebab9 fixtures/timestamp_naive_to_utc/scenario.json8529534601aeab9e61c1d7c6f001c0cf01e64958b74f3c77cf62185a440574b0 fixtures/timestamp_naive_to_utc/v0.parquet118d594225f11533a1ba702ce046f43df824c6960f99b4c35db83caeff0b7be5 fixtures/timestamp_naive_to_utc/v1.parqueta8ba48b934c2add439c05519b1a6b5ec210ee0cad8b4d95bc71349fb88ec7b3b fixtures/timestamp_ns_to_us/scenario.json71e1227ae35327affc32788f74446b085cb9bf2ca295cc422734432203e266c6 fixtures/timestamp_ns_to_us/v0.parquet21e36799370f5f05ac1f67eb1ad4e4ea81c6276567ac3cf5f3156048fa4a8a1d fixtures/timestamp_ns_to_us/v1.parquetfbac45c7b461b984109b0ff93be6f784678ba1d23c9277e5ad33fbd9fbf195ca fixtures/uint32_to_int64/scenario.jsonc96393d3e09e9381dbb7721c52a6bb43dc0ad6ea072c4f9f1f10457028cb4a1d fixtures/uint32_to_int64/v0.parquetfbb9a3f421bb43ef085a9eee445caa004d1d4a979f26e0af24c009fccc14c587 fixtures/uint32_to_int64/v1.parquete35e8052fb088fca9affd7c03e59d9f83e0b62e72bc6dbd2d2122d2876a031dc fixtures/widen_int16_to_int32/scenario.json139775d76d8a750dcfc0ea97c5cfa7a27899b8b995c9367fb7ce4dff862496a1 fixtures/widen_int16_to_int32/v0.parqueta19e4a7f8ec4e74ae7460d54ddc4a2bb37ff6fb31d7e4347651c29b379030feb fixtures/widen_int16_to_int32/v1.parquet4e454131023de286770cc1178eb2dfbf2fe06c6e828036655bc5307177afe8b4 fixtures/widen_int32_to_int64/scenario.jsonf1070818ebda9d1151281fd99a6039a69ae4a7df6e99f67df1fcdc3cfba159e4 fixtures/widen_int32_to_int64/v0.parquet9106b3591dcff7ce0d38ea671bab639bc71ea6efab66d6db2c645ec6f07680a5 fixtures/widen_int32_to_int64/v1.parquet8be7aa6e5b02033ad382767049d3c73c69f0fce9c5487416bf169164a49f4575 data/scenarios.parquet
123version https://git-lfs.github.com/spec/v1oid sha256:8335bffc492a9f77ab4f2caa038f5402ec445b322322055a192530e765813b81size 56935123version https://git-lfs.github.com/spec/v1oid sha256:8be7aa6e5b02033ad382767049d3c73c69f0fce9c5487416bf169164a49f4575size 69591
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293{ "schema_version": "1.0", "scenario_id": "dates_before_gregorian_cutover", "title": "Rows with dates before the Gregorian calendar cutover are appended", "category": "temporal", "description": "v0 has three rows with recent dates. v1 keeps them and appends four rows dated 0001-01-01, 1000-01-01, 1500-06-15 and 1582-10-04, each as a date32 and as a naive timestamp at noon of that day. The schema is unchanged.", "notes": [ "All values are proleptic Gregorian, as Parquet DATE and TIMESTAMP define them: days and microseconds since 1970-01-01. 1582-10-04 is the day before the 1582-10-15 Gregorian cutover.", "A reader that converts dates before the cutover to the Julian calendar (a hybrid calendar) reads the four appended rows as different days; the three v0 rows are unaffected." ], "tags": [ "no-schema-change", "date", "timestamp", "calendar", "append" ], "row_identity": [ "id" ], "versions": [ { "id": "v0", "file": "v0.parquet", "row_count": 3, "fingerprint": "sha256:f1f76972e8047b28dcceac0325d74fa1302a100ce3d1c0bbf75687e2aacbf623", "schema": [ { "name": "id", "type": "int64", "nullable": false }, { "name": "event_date", "type": "date32[day]", "nullable": true }, { "name": "event_time", "type": "timestamp[us]", "nullable": true } ], "writer": { "use_dictionary": true }, "dictionaries": [] }, { "id": "v1", "file": "v1.parquet", "row_count": 7, "fingerprint": "sha256:83962ecde7253da664b3149d07f01acae8d544556d7532004ad395e50a1e3906", "schema": [ { "name": "id", "type": "int64", "nullable": false }, { "name": "event_date", "type": "date32[day]", "nullable": true }, { "name": "event_time", "type": "timestamp[us]", "nullable": true } ], "writer": { "use_dictionary": true }, "dictionaries": [] } ], "transitions": [ { "from": "v0", "to": "v1", "mutations": [], "invariants": { "row_count_preserved": false, "row_identity_preserved": false, "rows_retained": true, "paths_retained": true, "common_values_preserved": true, "value_changes": [], "parquet_schema_preserved": true } } ]}123version https://git-lfs.github.com/spec/v1oid sha256:49c393ba0803e84ad21cd03a397f9d6da99f53288fca7723851987cba35cc0e5size 1114123version https://git-lfs.github.com/spec/v1oid sha256:a73d5ad9f3dd2ba45891edbde536afec317d310087f27b4091d9b41996a6aab3size 1198123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111{ "schema_version": "1.0", "scenario_id": "drop_then_readd_column", "title": "Column replaced by a different column of the same name", "category": "structural", "description": "v0 has an int32 column score with field id 3. v1 has no field id 3; it has a string column, also named score, with field id 4 and unrelated values (letter grades, a null and an empty string). By field id this is one column removed and another added. The name and the position are the same.", "notes": [ "This is what a table history that drops a column and later adds a new one under the same name leaves in its data files: a v0 file and a v1 file whose same-named columns are different columns.", "Both files carry field ids on every column, so the field id is the evidence that the two score columns are distinct. A reader that matches columns by name pairs them." ], "tags": [ "remove-field", "add-field", "field-id", "name-reuse" ], "row_identity": [ "id" ], "versions": [ { "id": "v0", "file": "v0.parquet", "row_count": 6, "fingerprint": "sha256:371c962be4c4813e197bb2c67e9e729c00bce3432ec5a3a2c989dadfb54096a9", "schema": [ { "name": "id", "type": "int64", "nullable": false, "field_id": 1 }, { "name": "name", "type": "string", "nullable": true, "field_id": 2 }, { "name": "score", "type": "int32", "nullable": true, "field_id": 3 } ], "writer": { "use_dictionary": true }, "dictionaries": [] }, { "id": "v1", "file": "v1.parquet", "row_count": 6, "fingerprint": "sha256:708b86b36d475b72b8c54e566b36c370122f46a0223b087019b58152105f3d10", "schema": [ { "name": "id", "type": "int64", "nullable": false, "field_id": 1 }, { "name": "name", "type": "string", "nullable": true, "field_id": 2 }, { "name": "score", "type": "string", "nullable": true, "field_id": 4 } ], "writer": { "use_dictionary": true }, "dictionaries": [] } ], "transitions": [ { "from": "v0", "to": "v1", "mutations": [ { "kind": "remove_field", "path": "score", "type": "int32", "nullable": true }, { "kind": "add_field", "path": "score", "type": "string", "nullable": true } ], "invariants": { "row_count_preserved": true, "row_identity_preserved": true, "rows_retained": true, "paths_retained": false, "common_values_preserved": true, "value_changes": [], "parquet_schema_preserved": false } } ]}123version https://git-lfs.github.com/spec/v1oid sha256:296486e3a5eecc821df8c52dba98d9c89c05183916c6bb1554eb755ac1f57cdasize 1346123version https://git-lfs.github.com/spec/v1oid sha256:606cd4473931fc24c3ee4bd8a18a38f469863e7d388dcfba6a39cddce71bf48bsize 12941234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889{ "schema_version": "1.0", "scenario_id": "float32_to_float64", "title": "Widen float32 to float64", "category": "numeric", "description": "A float32 column becomes float64. Every float32 value is exactly representable as float64 and is unchanged, so the v1 value of 0.1 is 0.10000000149011612, not the float64 nearest to 0.1. Values include -0.0, NaN, the largest float32 and the smallest float32 subnormal.", "notes": [ "nested_field_type_change makes the same change to two fields inside a struct." ], "tags": [ "change-type", "floating-point", "widening", "nan", "numeric-extremes" ], "row_identity": [ "id" ], "versions": [ { "id": "v0", "file": "v0.parquet", "row_count": 7, "fingerprint": "sha256:9c37b54572b211578af4950cdf0b24c6907948a93470d1be53879d3fddb68ac5", "schema": [ { "name": "id", "type": "int64", "nullable": false }, { "name": "reading", "type": "float", "nullable": true } ], "writer": { "use_dictionary": true }, "dictionaries": [] }, { "id": "v1", "file": "v1.parquet", "row_count": 7, "fingerprint": "sha256:0c1298b270032b39f7e3f09e37cb8d6624c1dbe0c6ca0d6ff78f8327fef59d5f", "schema": [ { "name": "id", "type": "int64", "nullable": false }, { "name": "reading", "type": "double", "nullable": true } ], "writer": { "use_dictionary": true }, "dictionaries": [] } ], "transitions": [ { "from": "v0", "to": "v1", "mutations": [ { "kind": "change_type", "path": "reading", "old_type": "float", "new_type": "double" } ], "invariants": { "row_count_preserved": true, "row_identity_preserved": true, "rows_retained": true, "paths_retained": true, "common_values_preserved": true, "value_changes": [], "parquet_schema_preserved": false } } ]}123version https://git-lfs.github.com/spec/v1oid sha256:08703a114fe8f18fb293c5eba59573195df9fcb4ad0809a274b4cd952c092130size 820123version https://git-lfs.github.com/spec/v1oid sha256:591c18443a05571d577422d5b563e2686c3a34164319f5d765d050ea9fd4c33dsize 8761234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495{ "schema_version": "1.0", "scenario_id": "rename_case_only", "title": "Column name changes case only, without field ids", "category": "structural", "description": "Column UserId becomes userid. The files carry no field ids, so by the corpus rules this is UserId removed and userid added. The two columns hold the same int64 values, row for row.", "notes": [ "Readers that resolve column names case-insensitively see one column in both files; case-sensitive readers see two different columns.", "Without field ids a rename is indistinguishable from a removal and an addition, so no rename_field is recorded (see rename_column_with_field_id)." ], "tags": [ "remove-field", "add-field", "case-sensitivity", "no-field-id" ], "row_identity": [ "id" ], "versions": [ { "id": "v0", "file": "v0.parquet", "row_count": 6, "fingerprint": "sha256:cf8c9090739fb0f45dfdd94297848a76305dbf5655e19136d760e0c07f9e9fc8", "schema": [ { "name": "id", "type": "int64", "nullable": false }, { "name": "UserId", "type": "int64", "nullable": true } ], "writer": { "use_dictionary": true }, "dictionaries": [] }, { "id": "v1", "file": "v1.parquet", "row_count": 6, "fingerprint": "sha256:7a16e45dadb88c23a2865d88fa6f0825bc7e29ee8d0416b336662d87a9227e6c", "schema": [ { "name": "id", "type": "int64", "nullable": false }, { "name": "userid", "type": "int64", "nullable": true } ], "writer": { "use_dictionary": true }, "dictionaries": [] } ], "transitions": [ { "from": "v0", "to": "v1", "mutations": [ { "kind": "remove_field", "path": "UserId", "type": "int64", "nullable": true }, { "kind": "add_field", "path": "userid", "type": "int64", "nullable": true } ], "invariants": { "row_count_preserved": true, "row_identity_preserved": true, "rows_retained": true, "paths_retained": false, "common_values_preserved": true, "value_changes": [], "parquet_schema_preserved": false } } ]}123version https://git-lfs.github.com/spec/v1oid sha256:088b23f17e1d5d3990d3892ac1891b29da5be159d8a5b73e1d15a9b80ba73daesize 858123version https://git-lfs.github.com/spec/v1oid sha256:4f2f638beb2a1b94c54dc006f5300fd2ae08c1fe326f567ac263466c124122c0size 858123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116{ "schema_version": "1.0", "scenario_id": "rename_then_reuse_name", "title": "Rename a column, then add a new column under the old name", "category": "structural", "description": "Column status (field id 2) is renamed to legacy_status and keeps its values. A new string column named status, field id 4, is appended with different values. Both status columns are strings, so a reader that matches by name finds no type difference between them.", "notes": [ "Every column carries a field id. By field id, status in v0 is legacy_status in v1, and status in v1 is a new column; by name, status is present in both versions with different values." ], "tags": [ "rename-field", "add-field", "field-id", "name-reuse" ], "row_identity": [ "id" ], "versions": [ { "id": "v0", "file": "v0.parquet", "row_count": 6, "fingerprint": "sha256:48c70f46dab3ab3b1054d1a253a68d7d9783dcbff2fe15526a41bcfba94f0d59", "schema": [ { "name": "id", "type": "int64", "nullable": false, "field_id": 1 }, { "name": "status", "type": "string", "nullable": true, "field_id": 2 }, { "name": "amount", "type": "int64", "nullable": true, "field_id": 3 } ], "writer": { "use_dictionary": true }, "dictionaries": [] }, { "id": "v1", "file": "v1.parquet", "row_count": 6, "fingerprint": "sha256:5a63cd301851ca0895a5452333780501838359da21cc92419d0da442d2863487", "schema": [ { "name": "id", "type": "int64", "nullable": false, "field_id": 1 }, { "name": "legacy_status", "type": "string", "nullable": true, "field_id": 2 }, { "name": "amount", "type": "int64", "nullable": true, "field_id": 3 }, { "name": "status", "type": "string", "nullable": true, "field_id": 4 } ], "writer": { "use_dictionary": true }, "dictionaries": [] } ], "transitions": [ { "from": "v0", "to": "v1", "mutations": [ { "kind": "rename_field", "path": "legacy_status", "old_path": "status", "field_id": 2 }, { "kind": "add_field", "path": "status", "type": "string", "nullable": true } ], "invariants": { "row_count_preserved": true, "row_identity_preserved": true, "rows_retained": true, "paths_retained": false, "common_values_preserved": true, "value_changes": [], "parquet_schema_preserved": false } } ]}123version https://git-lfs.github.com/spec/v1oid sha256:a841f403a1de3439083c37fe767694e0d6d0c0c55f398535bebda2d0e0fbd7a5size 1377123version https://git-lfs.github.com/spec/v1oid sha256:f0b9011ce8da1b63c31713dd9323c48b818d267a70cf85be438302cea991df3dsize 1736123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596{ "schema_version": "1.0", "scenario_id": "reorder_nested_fields", "title": "Reorder the fields inside a struct", "category": "structural", "description": "The three fields of the address struct change order from street, city, postcode to postcode, street, city. Top-level columns, names, types and values are unchanged. Rows include a null struct, a struct whose street is null, and a struct of empty strings.", "notes": [ "A struct's fields are addressed by name, but stored in order: a reader that matches nested fields by position pairs postcode with street." ], "tags": [ "struct", "nested", "reorder-fields", "nested-nulls" ], "row_identity": [ "id" ], "versions": [ { "id": "v0", "file": "v0.parquet", "row_count": 5, "fingerprint": "sha256:ffc0803e00bf07b7da8ccb4f60df1121b9f160cf58c79b6a505b5450a2aeef28", "schema": [ { "name": "id", "type": "int64", "nullable": false }, { "name": "address", "type": "struct<street: string, city: string, postcode: string>", "nullable": true } ], "writer": { "use_dictionary": true }, "dictionaries": [] }, { "id": "v1", "file": "v1.parquet", "row_count": 5, "fingerprint": "sha256:d5424e57e4801c0aba0a9114a0418592b8d84282af88f5d663d51f70daac2a22", "schema": [ { "name": "id", "type": "int64", "nullable": false }, { "name": "address", "type": "struct<postcode: string, street: string, city: string>", "nullable": true } ], "writer": { "use_dictionary": true }, "dictionaries": [] } ], "transitions": [ { "from": "v0", "to": "v1", "mutations": [ { "kind": "reorder_fields", "path": "address", "old_order": [ "street", "city", "postcode" ], "new_order": [ "postcode", "street", "city" ] } ], "invariants": { "row_count_preserved": true, "row_identity_preserved": true, "rows_retained": true, "paths_retained": true, "common_values_preserved": true, "value_changes": [], "parquet_schema_preserved": false } } ]}123version https://git-lfs.github.com/spec/v1oid sha256:e65a06ec257549c5bfcc1a23caa25cd560f172d8c1c5d0737641d13f19ce8226size 1418123version https://git-lfs.github.com/spec/v1oid sha256:0a322dd8cf5587bd13d6f6343738f129a040460a6f0b9c2b94b673acf3df7918size 1418123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990{ "schema_version": "1.0", "scenario_id": "timestamp_ms_to_us", "title": "Timestamp unit changes from milliseconds to microseconds", "category": "temporal", "description": "A naive timestamp column changes unit from milliseconds to microseconds. Every instant is unchanged. Values include 0001-01-01T00:00:00 and 9999-12-31T23:59:59.999, both outside the range timestamp[ns] can hold, one millisecond before the epoch, and a leap day.", "notes": [ "At the Parquet level the Timestamp logical type's unit changes from MILLIS to MICROS and every stored INT64 is multiplied by 1000.", "timestamp[ns] holds 1677-09-21 to 2262-04-11. Combining these two files at nanosecond precision has no nanosecond value for the first two rows." ], "tags": [ "change-type", "timestamp", "unit", "milliseconds", "range-extremes" ], "row_identity": [ "id" ], "versions": [ { "id": "v0", "file": "v0.parquet", "row_count": 6, "fingerprint": "sha256:df2ddb6f2e9037321413571a0fc5be1d53de56f15801a5154d1faccbcb9cbf8b", "schema": [ { "name": "id", "type": "int64", "nullable": false }, { "name": "event_time", "type": "timestamp[ms]", "nullable": true } ], "writer": { "use_dictionary": true }, "dictionaries": [] }, { "id": "v1", "file": "v1.parquet", "row_count": 6, "fingerprint": "sha256:409143dc492a37206967c2b92177fd4a79bbc69048a69208358cb3c797ccd328", "schema": [ { "name": "id", "type": "int64", "nullable": false }, { "name": "event_time", "type": "timestamp[us]", "nullable": true } ], "writer": { "use_dictionary": true }, "dictionaries": [] } ], "transitions": [ { "from": "v0", "to": "v1", "mutations": [ { "kind": "change_type", "path": "event_time", "old_type": "timestamp[ms]", "new_type": "timestamp[us]" } ], "invariants": { "row_count_preserved": true, "row_identity_preserved": true, "rows_retained": true, "paths_retained": true, "common_values_preserved": true, "value_changes": [], "parquet_schema_preserved": false } } ]}123version https://git-lfs.github.com/spec/v1oid sha256:ea960c59fe2c9353cf0bc1a327f73cd7ac7ccb8efb2c674b6abbb2dd7af84f8dsize 889123version https://git-lfs.github.com/spec/v1oid sha256:6e61f786ae4b07cd4d4d0fe300df4de26aea6d1762ed67307ba7904e7bbfe919size 8891234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889{ "schema_version": "1.0", "scenario_id": "uint32_to_int64", "title": "uint32 to int64", "category": "numeric", "description": "A uint32 column becomes int64. Every uint32 fits in int64, so every value is unchanged. Values include 2^31 - 1, 2^31 and 2^32 - 1: the last two are outside the int32 range.", "notes": [ "Parquet stores uint32 as physical INT32 with an unsigned Int(32) annotation, so 2^31 and 2^32 - 1 are stored as the negative INT32 bit patterns -2147483648 and -1. A reader that ignores the annotation reads those numbers." ], "tags": [ "change-type", "integer", "unsigned", "widening", "numeric-extremes" ], "row_identity": [ "id" ], "versions": [ { "id": "v0", "file": "v0.parquet", "row_count": 6, "fingerprint": "sha256:bbccf39d72982910040bd37e338990b8193c896b3d89aeeb9ab05bd4222413e9", "schema": [ { "name": "id", "type": "int64", "nullable": false }, { "name": "quantity", "type": "uint32", "nullable": true } ], "writer": { "use_dictionary": true }, "dictionaries": [] }, { "id": "v1", "file": "v1.parquet", "row_count": 6, "fingerprint": "sha256:97b85eb52459e096237bddfb27e8a70e5db0f3d4a2987dffe3e5c0a4b2cd790e", "schema": [ { "name": "id", "type": "int64", "nullable": false }, { "name": "quantity", "type": "int64", "nullable": true } ], "writer": { "use_dictionary": true }, "dictionaries": [] } ], "transitions": [ { "from": "v0", "to": "v1", "mutations": [ { "kind": "change_type", "path": "quantity", "old_type": "uint32", "new_type": "int64" } ], "invariants": { "row_count_preserved": true, "row_identity_preserved": true, "rows_retained": true, "paths_retained": true, "common_values_preserved": true, "value_changes": [], "parquet_schema_preserved": false } } ]}123version https://git-lfs.github.com/spec/v1oid sha256:c96393d3e09e9381dbb7721c52a6bb43dc0ad6ea072c4f9f1f10457028cb4a1dsize 795123version https://git-lfs.github.com/spec/v1oid sha256:fbb9a3f421bb43ef085a9eee445caa004d1d4a979f26e0af24c009fccc14c587size 86212345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788{ "schema_version": "1.0", "scenario_id": "widen_int16_to_int32", "title": "Widen int16 to int32", "category": "numeric", "description": "An int16 column becomes int32. Values, including both int16 extremes, zero and a null, are unchanged.", "notes": [ "Both are stored as physical INT32 in Parquet; only the Int logical annotation's bit width changes from 16 to 32." ], "tags": [ "change-type", "integer", "widening", "numeric-extremes" ], "row_identity": [ "id" ], "versions": [ { "id": "v0", "file": "v0.parquet", "row_count": 6, "fingerprint": "sha256:aa84194536d347a3b20ce2b040363609dab90d0759138b8bc86e73e3e8b3f483", "schema": [ { "name": "id", "type": "int64", "nullable": false }, { "name": "quantity", "type": "int16", "nullable": true } ], "writer": { "use_dictionary": true }, "dictionaries": [] }, { "id": "v1", "file": "v1.parquet", "row_count": 6, "fingerprint": "sha256:dad8e3f052629f29871469fb3fdb1038d2363241e3ad844d7fda9b415373f301", "schema": [ { "name": "id", "type": "int64", "nullable": false }, { "name": "quantity", "type": "int32", "nullable": true } ], "writer": { "use_dictionary": true }, "dictionaries": [] } ], "transitions": [ { "from": "v0", "to": "v1", "mutations": [ { "kind": "change_type", "path": "quantity", "old_type": "int16", "new_type": "int32" } ], "invariants": { "row_count_preserved": true, "row_identity_preserved": true, "rows_retained": true, "paths_retained": true, "common_values_preserved": true, "value_changes": [], "parquet_schema_preserved": false } } ]}123version https://git-lfs.github.com/spec/v1oid sha256:139775d76d8a750dcfc0ea97c5cfa7a27899b8b995c9367fb7ce4dff862496a1size 819123version https://git-lfs.github.com/spec/v1oid sha256:a19e4a7f8ec4e74ae7460d54ddc4a2bb37ff6fb31d7e4347651c29b379030febsize 810CITATION.cff+2-2
README.md+3-3
SHA256SUMS+28-1
data/scenarios.parquet+2-2
fixtures/dates_before_gregorian_cutover/scenario.jsonAdded+93
fixtures/dates_before_gregorian_cutover/v0.parquetAdded+3
fixtures/dates_before_gregorian_cutover/v1.parquetAdded+3
fixtures/drop_then_readd_column/scenario.jsonAdded+111
fixtures/drop_then_readd_column/v0.parquetAdded+3
fixtures/drop_then_readd_column/v1.parquetAdded+3
fixtures/float32_to_float64/scenario.jsonAdded+89
fixtures/float32_to_float64/v0.parquetAdded+3
fixtures/float32_to_float64/v1.parquetAdded+3
fixtures/rename_case_only/scenario.jsonAdded+95
fixtures/rename_case_only/v0.parquetAdded+3
fixtures/rename_case_only/v1.parquetAdded+3
fixtures/rename_then_reuse_name/scenario.jsonAdded+116
fixtures/rename_then_reuse_name/v0.parquetAdded+3
fixtures/rename_then_reuse_name/v1.parquetAdded+3
fixtures/reorder_nested_fields/scenario.jsonAdded+96
fixtures/reorder_nested_fields/v0.parquetAdded+3
fixtures/reorder_nested_fields/v1.parquetAdded+3
fixtures/timestamp_ms_to_us/scenario.jsonAdded+90
fixtures/timestamp_ms_to_us/v0.parquetAdded+3
fixtures/timestamp_ms_to_us/v1.parquetAdded+3
fixtures/uint32_to_int64/scenario.jsonAdded+89
fixtures/uint32_to_int64/v0.parquetAdded+3
fixtures/uint32_to_int64/v1.parquetAdded+3
fixtures/widen_int16_to_int32/scenario.jsonAdded+88
fixtures/widen_int16_to_int32/v0.parquetAdded+3
fixtures/widen_int16_to_int32/v1.parquetAdded+3