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

feat: configurable limit for sample values COMPASS-8984 #230

Merged
merged 2 commits into from
Feb 18, 2025

Conversation

paula-stacho
Copy link
Contributor

Optional - keeping the existing 10k as default.

@paula-stacho paula-stacho requested review from Anemy and removed request for Anemy February 17, 2025 15:09
Copy link
Member

@Anemy Anemy left a comment

Choose a reason for hiding this comment

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

lgtm, left one comment, fine as is!

const defaultSchemaParseOptions: AllSchemaParseOptions = {
semanticTypes: false,
storeValues: true,
sampleLengthLimit: 10000
Copy link
Member

Choose a reason for hiding this comment

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

Changes look good, one small thought is that this variable name could mixed up with how many documents we might be sampling. We could mention its for the stored values, how about:
storedValuesLengthLimit

Copy link
Contributor Author

@paula-stacho paula-stacho Feb 18, 2025

Choose a reason for hiding this comment

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

good point, and it fits better with the other param!

@paula-stacho paula-stacho merged commit 95f3787 into main Feb 18, 2025
19 checks passed
@paula-stacho paula-stacho deleted the COMPASS-8984 branch February 18, 2025 15:43
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