Skip to content

Conversation

@alchemist51
Copy link
Contributor

Description

[Describe what this change achieves]

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@alchemist51 alchemist51 force-pushed the memory-pool branch 2 times, most recently from 4a3ab2f to 668d977 Compare November 14, 2025 11:02
@github-actions
Copy link
Contributor

❌ Gradle check result for 668d977: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@github-actions
Copy link
Contributor

❌ Gradle check result for 40f669d: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@github-actions
Copy link
Contributor

❌ Gradle check result for c13f8b9: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

pub type Result<T, E = DataFusionError> = result::Result<T, E>;

#[derive(Debug)]
pub struct CustomMemoryPool {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets add comments to all the new classes please.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

.with_cache_manager(
CacheManagerConfig::default().with_list_files_cache(Some(list_file_cache.clone())),
)
.with_memory_pool(memory_pool.get_memory_pool())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need memory pool per query , can we setup both cache and memory as part of the global runtime env itself ?

Copy link
Contributor Author

@alchemist51 alchemist51 Nov 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can setup the Memory pool as part of the global runtime, but cache will be difficult since we need the listing cache different for different queries.

@github-actions
Copy link
Contributor

❌ Gradle check result for c861096: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants