Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: pass pseudocolumn feature flag as boolean rather than config #8246

Merged
merged 2 commits into from
Oct 11, 2021

Conversation

vcrfxia
Copy link
Contributor

@vcrfxia vcrfxia commented Oct 8, 2021

Description

#8175 added a feature flag for the new ROWPARTITION/ROWOFFSET feature (KLIP-50) by passing around a KsqlConfig from which the feature flag was extracted. However, this means query properties must be merged with a base config (to create a config with overrides) for all queries, and resulted in a pull query performance regression. To avoid the performance hit of merging a config with overrides per query, this PR updates the query pathways to pass around a boolean for the feature flag, rather than the entire config.

Testing done

Updated unit tests.

Reviewer checklist

  • Ensure docs are updated if necessary. (eg. if a user visible feature is being added or changed).
  • Ensure relevant issues are linked (description should include text like "Fixes #")

@vcrfxia vcrfxia requested a review from a team as a code owner October 8, 2021 23:26
Copy link
Member

@AlanConfluent AlanConfluent left a comment

Choose a reason for hiding this comment

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

Thanks for the PR.

@vcrfxia vcrfxia merged commit 60c1bb2 into confluentinc:master Oct 11, 2021
@vcrfxia vcrfxia deleted the klip-50-feature-flag-boolean branch October 11, 2021 20:17
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