alamb commented on code in PR #15082: URL: https://github.com/apache/datafusion/pull/15082#discussion_r1988987402
########## datafusion/sqllogictest/test_files/explain_tree.slt: ########## @@ -539,6 +539,158 @@ physical_plan 17)│ format: arrow │ 18)└───────────────────────────┘ +# Query with projection on csv +query TT +explain SELECT int_col, bigint_col, int_col+bigint_col AS sum_col FROM table1; +---- +logical_plan +01)Projection: table1.int_col, table1.bigint_col, CAST(table1.int_col AS Int64) + table1.bigint_col AS sum_col +02)--TableScan: table1 projection=[int_col, bigint_col] +physical_plan +01)┌───────────────────────────┐ +02)│ ProjectionExec │ +03)│ -------------------- │ +04)│ bigint_col: │ +05)│ bigint_col@1 │ +06)│ │ +07)│ int_col: int_col@0 │ +08)│ │ +09)│ sum_col: │ +10)│ CAST(int_col@0 AS Int64) +│ Review Comment: TO be clear, I think we need to implement the code to render the expressions more simply for this explain mode. But it would be good to do this as a separate PR to break down the work -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
