Skip to content

Add back sample testing#71

Merged
AnIrishDuck merged 1 commit into
mainfrom
fmurphy/sample-arrow-rs
Feb 20, 2026
Merged

Add back sample testing#71
AnIrishDuck merged 1 commit into
mainfrom
fmurphy/sample-arrow-rs

Conversation

@AnIrishDuck

Copy link
Copy Markdown
Collaborator

For some reason adding the test_log annotation causes the tests to run twice. They still seem to run fine so I'm not really sure this is worth digging further.

Some example data:

2026-02-19T22:32:38.472479Z TRACE plateau_data_arrow_rs::segment::arrow::test: batch=RecordBatch { schema: Schema { fields: [Field { name: "field_0", data_type: Struct([Field { name: "zlnfz", data_type: Float32, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }, Field { name: "mnxs", data_type: Float64, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }]), nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }], metadata: {} }, columns: [StructArray
-- validity:
[
  valid,
  valid,
  valid,
  valid,
  valid,
  valid,
  valid,
  valid,
  valid,
  valid,
  ...559 elements...,
  valid,
  valid,
  valid,
  valid,
  valid,
  valid,
  valid,
  valid,
  valid,
  valid,
]
[
-- child 0: "zlnfz" (Float32)
PrimitiveArray<Float32>
[
  -1881199.9,
  -4.1987924e22,
  81.86666,
  61.18479,
  4391395.0,
  -1.5368135e38,
  -3.1239293e30,
  -2312.4214,
  0.0,
  1.2814945e17,
  ...559 elements...,
  -1.7369331e28,
  null,
  NaN,
  -1.7468321e27,
  0.0,
  -8182.2363,
  -1.7144185e37,
  0.0,
  1.9535753,
  -1.0609469e17,
]
-- child 1: "mnxs" (Float64)
PrimitiveArray<Float64>
[
  -1.8565732740381556e222,
  -3.0978768849667e36,
  -9.566791367360479e126,
  null,
  4.909779727384099e135,
  -9.845685330487418e47,
  -1.7976931348623157e308,
  5.490407855329757e59,
  null,
  -4.257076580319597,
  ...559 elements...,
  -1.7825067579724748e77,
  9.185123816436956e59,
  2.882956380911107e291,
  2.906457698910692e206,
  -6.8747798496545e104,
  -5.905776080926193e40,
  -6.337146144106787e235,
  5.0534676081780744e265,
  -2.759697850185066e210,
  null,
]
]], row_count: 579 }

And:

2026-02-19T22:39:18.403591Z TRACE plateau_data_arrow_rs::segment::arrow::test: batch=RecordBatch { schema: Schema { fields: [Field { name: "field_0", data_type: Int16, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }], metadata: {} }, columns: [PrimitiveArray<Int16>
[
  -6110,
  5053,
  -20643,
  9169,
  899,
  23772,
  -10582,
  32767,
  32767,
  -21054,
  ...101 elements...,
  -15438,
  22402,
  4346,
  -5365,
  16465,
  -32768,
  -17404,
  3937,
  -32768,
  10414,
]], row_count: 121 }

@AnIrishDuck AnIrishDuck requested review from JONBRWN and imp February 19, 2026 22:39
@JONBRWN

JONBRWN commented Feb 19, 2026

Copy link
Copy Markdown
Collaborator

looks good, needs a formatting fix

@AnIrishDuck AnIrishDuck force-pushed the fmurphy/sample-arrow-rs branch from 4f55eee to 9b0a8c8 Compare February 19, 2026 23:43
@AnIrishDuck AnIrishDuck merged commit 3e5021c into main Feb 20, 2026
4 checks passed
@AnIrishDuck AnIrishDuck deleted the fmurphy/sample-arrow-rs branch February 20, 2026 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants