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/07/14 20:22:21 UTC

[GitHub] [arrow-datafusion] alamb commented on a change in pull request #687: #554: Lead/lag window function with offset and default value arguments

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



##########
File path: datafusion/src/physical_plan/expressions/lead_lag.rs
##########
@@ -176,6 +240,28 @@ mod tests {
             .iter()
             .collect::<Int32Array>(),
         )?;
+
+        test_i32_result(
+            lag(
+                "lead".to_owned(),
+                DataType::Int32,
+                Arc::new(Column::new("c3", 0)),
+                None,
+                Some(ScalarValue::Int32(Some(100))),
+            ),
+            vec![
+                Some(100),

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