You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/12/09 17:05:38 UTC

[GitHub] [arrow-datafusion] alamb commented on a change in pull request #1415: Support sort on unprojected columns

alamb commented on a change in pull request #1415:
URL: https://github.com/apache/arrow-datafusion/pull/1415#discussion_r765914983



##########
File path: datafusion/tests/sql.rs
##########
@@ -6351,6 +6351,21 @@ async fn test_expect_distinct() -> Result<()> {
     Ok(())
 }
 
+#[tokio::test]
+async fn test_sort_unprojected_col() -> Result<()> {
+    let mut ctx = ExecutionContext::new();
+    register_alltypes_parquet(&mut ctx).await;
+    // execute the query
+    let sql = "SELECT id FROM alltypes_plain ORDER BY int_col, double_col";

Review comment:
       👍 




-- 
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-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org