Skip to content

[VL] Allow calling TaskResources.runUnsafe in Spark task code#11405

Merged
zhztheplayer merged 1 commit intoapache:mainfrom
zhztheplayer:wip-fix-unsafe
Jan 16, 2026
Merged

[VL] Allow calling TaskResources.runUnsafe in Spark task code#11405
zhztheplayer merged 1 commit intoapache:mainfrom
zhztheplayer:wip-fix-unsafe

Conversation

@zhztheplayer
Copy link
Member

The purpose of TaskResources.runUnsafe is to prevent driver side code from leaking resources. It's safe to allow the usage in Spark task, so we could reuse some driver-only code (e.g., rule application) in task as well.

The patch is to change the code to safely loose the restriction.

The purpose of `TaskResources.runUnsafe` is to prevent driver side code from leaking resources. It's safe to allow the usage in Spark task, so we could reuse some driver-only code (e.g., rule application) in task as well.
@github-actions
Copy link

Run Gluten Clickhouse CI on x86

@zhztheplayer zhztheplayer merged commit 143f9db into apache:main Jan 16, 2026
144 of 146 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CORE works for Gluten Core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants