comphead commented on issue #5108:
URL:
https://github.com/apache/arrow-datafusion/issues/5108#issuecomment-1407851534
@andygrove any idea how this can be reproduced?
DF test is below
```
#[tokio::test]
async fn test_huge_sort() {
let ctx = SessionContext::new();
ctx.register_parquet(
"lineitem",
"/Users/a/lineitem.parquet",
ParquetReadOptions::default(),
)
.await
.unwrap();
let sql = "select * from lineitem order by l_shipdate";
let dataframe = ctx.sql(sql).await.unwrap();
dataframe.write_parquet("/Users/a/lineitem_sorted.parquet", None).await;
}
```
Any idea how to limit mem for the process? I have only idea to bring up a VM
with some limited memory or setting it up with ulimit
--
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]