Skip to content

Presto: Reinstate a query optimizer flag for GPU only (ALTERNATIVE IMPLEMENTATION)#111

Merged
simoneves merged 2 commits intomainfrom
seves/reinstate_optimizer_config_for_gpu_only_alt
Oct 29, 2025
Merged

Presto: Reinstate a query optimizer flag for GPU only (ALTERNATIVE IMPLEMENTATION)#111
simoneves merged 2 commits intomainfrom
seves/reinstate_optimizer_config_for_gpu_only_alt

Conversation

@simoneves
Copy link
Copy Markdown
Contributor

@simoneves simoneves commented Oct 27, 2025

This is an alternative implementation to #103 which avoids forking the template files.

This is much simpler than the above FOR NOW... but are we painting ourselves into a corner as CPU/GPU divergence increases?

# optimizer.joins-not-null-inference-strategy=USE_FUNCTION_METADATA
# optimizer.default-filter-factor-enabled=true
COORD_CONFIG="generated/etc_coordinator/config_native.properties"
sed -i 's/\#optimizer/optimizer/g' ${COORD_CONFIG}
Copy link
Copy Markdown
Contributor Author

@simoneves simoneves Oct 27, 2025

Choose a reason for hiding this comment

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

This is simple for now, but me fear is that the requirement for modification may grow to be unmanageable, and forking may turn out to be a better solution.

Then again, we can switch to forking when we have to.

@simoneves simoneves added hotfix Hotfix is a bug that affects the majority of users for which there is no reasonable workaround question Further information is requested labels Oct 27, 2025
@simoneves simoneves merged commit f97521e into main Oct 29, 2025
@simoneves simoneves deleted the seves/reinstate_optimizer_config_for_gpu_only_alt branch October 29, 2025 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hotfix Hotfix is a bug that affects the majority of users for which there is no reasonable workaround question Further information is requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants