| 5231 | } |
| 5232 | |
| 5233 | Result<std::shared_ptr<ChunkedArray>> GetSingleSegmentScalarOutput() { |
| 5234 | return ChunkedArrayFromJSON( |
| 5235 | struct_({ |
| 5236 | field("key_0", int64()), |
| 5237 | field("count", int64()), |
| 5238 | field("sum", float64()), |
| 5239 | field("min_max", struct_({ |
| 5240 | field("min", float64()), |
| 5241 | field("max", float64()), |
| 5242 | })), |
| 5243 | field("first_last", |
| 5244 | struct_({field("first", float64()), field("last", float64())})), |
| 5245 | field("first", float64()), |
| 5246 | field("last", float64()), |
| 5247 | }), |
| 5248 | {R"([ |
| 5249 | [1, 7, 8.875, {"min": -0.25, "max": 4.0}, {"first": 1.0, "last": 0.75}, 1.0, 0.75] |
| 5250 | ])", |
| 5251 | R"([ |
| 5252 | [0, 7, 8.875, {"min": -0.25, "max": 4.0}, {"first": 1.0, "last": 0.75}, 1.0, 0.75] |
| 5253 | |
| 5254 | ])"}); |
| 5255 | } |
| 5256 | |
| 5257 | Result<std::shared_ptr<ChunkedArray>> GetSingleSegmentKeyOutput() { |
| 5258 | return ChunkedArrayFromJSON(struct_({ |
nothing calls this directly
no test coverage detected