Skip to content

feat: disable DataFrame.cache() for ballista#1420

Draft
killzoner wants to merge 2 commits intoapache:mainfrom
killzoner:issue-1395
Draft

feat: disable DataFrame.cache() for ballista#1420
killzoner wants to merge 2 commits intoapache:mainfrom
killzoner:issue-1395

Conversation

@killzoner
Copy link
Contributor

Which issue does this PR close?

Closes #1395 (partially if we want to expand on future configurable cache later).

Rationale for this change

Disable explicitly cache() method with good user level error rather than relying on current panic

What changes are included in this PR?

Add cache factory to properly error the unsupported feature (links to apache/datafusion#18893)

Are there any user-facing changes?

User level error instead of panic

@killzoner killzoner marked this pull request as ready for review January 28, 2026 19:01
Copy link
Contributor

@milenkovicm milenkovicm left a comment

Choose a reason for hiding this comment

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

thanks @killzoner
I have one suggestion

@killzoner killzoner marked this pull request as draft January 28, 2026 19:38
@milenkovicm
Copy link
Contributor

no need to implement anything on scheduler side at the moment

@killzoner killzoner force-pushed the issue-1395 branch 2 times, most recently from 78008ce to de7d76c Compare February 3, 2026 10:56
@killzoner killzoner force-pushed the issue-1395 branch 2 times, most recently from 2438a87 to 7d48acc Compare February 3, 2026 11:07
@milenkovicm
Copy link
Contributor

You need to serialise logical plan extension, showcase project https://github.com/milenkovicm/ballista_extensions

@killzoner
Copy link
Contributor Author

You need to serialise logical plan extension, showcase project https://github.com/milenkovicm/ballista_extensions

Thanks, I was looking at this part and I was not sure I needed to update ballista proto, this gives more context 🙏

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.

bug: Disable DataFrame.cache() for ballista

2 participants