Skip to content

Commit 7b88380

Browse files
committed
fix
1 parent f8dd481 commit 7b88380

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

datafusion-examples/examples/relation_planner/pivot_unpivot.rs

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -228,12 +228,12 @@ async fn run_examples(ctx: &SessionContext) -> Result<()> {
228228
)
229229
.await?;
230230
assert_snapshot!(results, @r"
231-
+----------------------+-------+--------+--------+
232-
| ts | port | p16951 | p16952 |
233-
+----------------------+-------+--------+--------+
234-
| 2024-09-01T10:00:00Z | 2411 | 10 | 20 |
235-
| 2024-09-01T10:01:00Z | 2411 | 30 | 40 |
236-
+----------------------+-------+--------+--------+
231+
+----------------------+------+--------+--------+
232+
| ts | port | p16951 | p16952 |
233+
+----------------------+------+--------+--------+
234+
| 2024-09-01T10:00:00Z | 2411 | 10 | 20 |
235+
| 2024-09-01T10:01:00Z | 2411 | 30 | 40 |
236+
+----------------------+------+--------+--------+
237237
");
238238

239239
Ok(())
@@ -328,7 +328,10 @@ fn register_sample_data(ctx: &SessionContext) -> Result<()> {
328328
"port",
329329
Arc::new(StringArray::from(vec!["2411", "2411", "2411", "2411"])),
330330
),
331-
("max_value", Arc::new(Int64Array::from(vec![10, 20, 30, 40]))),
331+
(
332+
"max_value",
333+
Arc::new(Int64Array::from(vec![10, 20, 30, 40])),
334+
),
332335
])?,
333336
)?;
334337

0 commit comments

Comments
 (0)