Skip to content

Handle both flat and nested scale_factor in metadata.json#319

Open
misiugodfrey wants to merge 1 commit into
mainfrom
misiug/fixScaleFactorMeta
Open

Handle both flat and nested scale_factor in metadata.json#319
misiugodfrey wants to merge 1 commit into
mainfrom
misiug/fixScaleFactorMeta

Conversation

@misiugodfrey
Copy link
Copy Markdown
Contributor

Datasets with a newer metadata format nest scale_factor under an "options" key. Update get_scale_factor_from_file() to try the top-level key first and fall back to options.scale_factor, and update error messages in Presto and Spark Gluten test utils to document both formats.

Datasets with a newer metadata format nest scale_factor under an
"options" key. Update get_scale_factor_from_file() to try the top-level
key first and fall back to options.scale_factor, and update error
messages in Presto and Spark Gluten test utils to document both formats.
@misiugodfrey misiugodfrey requested a review from a team as a code owner April 23, 2026 16:06
Copy link
Copy Markdown
Contributor

@paul-aiyedun paul-aiyedun left a comment

Choose a reason for hiding this comment

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

Please hold off on this. There is ongoing work to unify the metadata format.

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.

3 participants