@@ -1464,8 +1464,8 @@ async fn test_conditional_transform() {
14641464#[ tokio:: test]
14651465#[ serial]
14661466async fn test_multiple_transforms ( ) {
1467- use datafusion:: physical_plan:: displayable;
14681467 use datafusion:: arrow:: util:: pretty:: pretty_format_batches;
1468+ use datafusion:: physical_plan:: displayable;
14691469
14701470 let ctx = create_optimized_context ( ) . await ; // Use optimized context
14711471 let batch = create_test_data ( ) ;
@@ -1550,13 +1550,14 @@ async fn test_multiple_transforms() {
15501550 // serialize results to string and then compare with expected string
15511551 let results_str = pretty_format_batches ( & results) . unwrap ( ) . to_string ( ) ;
15521552 let expected_str =
1553- "+---------+----------+--------------------+--------------------+---------------------+
1553+ "+---------+----------+--------------------+--------------------+---------------------+
15541554| row_idx | metadata | values_b | values_product | values_conditional |
15551555+---------+----------+--------------------+--------------------+---------------------+
15561556| 1 | meta1 | [10.0, 20.0, 30.0] | [10.0, 40.0, 90.0] | [701.0, 702.0, 9.0] |
15571557| 2 | meta2 | [40.0, 50.0] | [160.0, 250.0] | [16.0, 25.0] |
15581558| 3 | meta3 | [60.0] | [360.0] | [36.0] |
1559- +---------+----------+--------------------+--------------------+---------------------+" . to_string ( ) ;
1559+ +---------+----------+--------------------+--------------------+---------------------+"
1560+ . to_string ( ) ;
15601561 assert_eq ! (
15611562 results_str, expected_str,
15621563 "Results do not match expected output for multiple transforms case"
@@ -1566,7 +1567,6 @@ async fn test_multiple_transforms() {
15661567 disable_fused_array_transform ( ) ;
15671568}
15681569
1569-
15701570// =============================================================================
15711571// False Positive Tests (optimization should NOT be applied)
15721572// =============================================================================
0 commit comments