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

forward use_threads to _validate_schemas_from_files #1869

Conversation

robert-schmidtke
Copy link
Contributor

@robert-schmidtke robert-schmidtke commented Dec 15, 2022

Feature or Bugfix

Bugfix

Detail

When reading parquets from S3 and using validate_schema=True, use_threads would always be set to True.
In practice this is not a big deal, but I found that 40% of the time my tests were taking was spent on waiting on locks for threading in _validate_schemas_from_files.

Relates

#1868

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@malachi-constant
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
  • Commit ID: 05b6f89
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@robert-schmidtke
Copy link
Contributor Author

I do not have access to the CodeBuild results.

Copy link
Contributor

@kukushking kukushking 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 fix! There is one flaky test that influences CodeBuild results, feel free to ignore it.

@jaidisido jaidisido merged commit b131b6d into aws:main Dec 15, 2022
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.

None yet

4 participants