xudong963 commented on code in PR #14569:
URL: https://github.com/apache/datafusion/pull/14569#discussion_r1948526926


##########
datafusion/core/tests/physical_optimizer/enforce_sorting.rs:
##########
@@ -1943,6 +1943,30 @@ async fn test_remove_unnecessary_spm1() -> Result<()> {
     Ok(())
 }
 
+#[tokio::test]
+async fn test_remove_unnecessary_spm2() -> Result<()> {

Review Comment:
   The test says we shouldn't directly remove SPM if it contains `fetch`.  To 
hit the related code, should be one partition



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

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to