alamb commented on a change in pull request #984:
URL: https://github.com/apache/arrow-datafusion/pull/984#discussion_r705572422
##########
File path: datafusion/src/physical_plan/sort_preserving_merge.rs
##########
@@ -1156,10 +1156,24 @@ mod tests {
#[tokio::test]
async fn test_async() {
let schema = test::aggr_test_schema();
- let sort = vec![PhysicalSortExpr {
- expr: col("c7", &schema).unwrap(),
- options: SortOptions::default(),
- }];
+ let sort = vec
##########
File path: datafusion/tests/sql.rs
##########
@@ -1027,9 +1027,9 @@ async fn csv_query_window_with_partition_by() ->
Result<()> {
count(cast(c4 as Int)) over (partition by c3), \
max(cast(c4 as Int)) over (partition by c3), \
min(cast(c4 as Int)) over (partition by c3), \
- first_value(cast(c4 as Int)) over (partition by c3), \
- last_value(cast(c4 as Int)) over (partition by c3), \
- nth_value(cast(c4 as Int), 2) over (partition by c3) \
+ first_value(cast(c4 as Int)) over (partition by c3 order by c3,
c4), \
Review comment:
fyi @Jimexist
--
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]