hntd187 commented on a change in pull request #1419: URL: https://github.com/apache/arrow-datafusion/pull/1419#discussion_r765367408
########## File path: datafusion/src/sql/planner.rs ########## @@ -2959,6 +2990,36 @@ mod tests { quick_test(sql, expected); } + #[test] + fn select_order_by_index() { + let sql = "SELECT id FROM person ORDER BY 1"; + let expected = "Sort: #person.id ASC NULLS LAST\ + \n Projection: #person.id\ Review comment: Sure I can add more -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org