Skip to content

Prepend prefix to to_parquet created files #622

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

Merged
merged 6 commits into from
Apr 9, 2021

Conversation

jaidisido
Copy link
Contributor

Issue #, if available:
#617

Description of changes:
In the to_parquet method, when dataset=True, created parquet file names are randomly generated based on a uuid hash. The aim of this PR is to prepend a prefix to these file names giving more control over the output parquet file names.

An optional filename_prefix argument, is added to the method, set to None by default. If supplied and dataset is True, a prefix is prepended to the output parquet file names.

Tested through test_to_parquet_filename_prefix.

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

@jaidisido jaidisido added enhancement New feature or request minor release Will be addressed in the next minor release labels Mar 26, 2021
@jaidisido jaidisido added this to the 2.7.0 milestone Mar 26, 2021
@jaidisido jaidisido self-assigned this Mar 26, 2021
@jaidisido
Copy link
Contributor Author

AWS CodeBuild CI Report

  • CodeBuild project: ProjectC78D97AD-Q04LAWSALbij
  • Commit ID: 9d5d22c
  • Result: FAILED
  • Build Logs (available for 30 days)

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

@jaidisido
Copy link
Contributor Author

AWS CodeBuild CI Report

  • CodeBuild project: ProjectC78D97AD-Q04LAWSALbij
  • Commit ID: 2c549ca
  • Result: FAILED
  • Build Logs (available for 30 days)

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

@jaidisido
Copy link
Contributor Author

AWS CodeBuild CI Report

  • CodeBuild project: GitHubCodeBuild8756EF16-vPH6gKH92ax6
  • Commit ID: 3233ef3
  • Result: FAILED
  • Build Logs (available for 30 days)

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

@jaidisido
Copy link
Contributor Author

AWS CodeBuild CI Report

  • CodeBuild project: GitHubCodeBuild8756EF16-vPH6gKH92ax6
  • Commit ID: f04b3be
  • Result: FAILED
  • Build Logs (available for 30 days)

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

@jaidisido
Copy link
Contributor Author

AWS CodeBuild CI Report

  • CodeBuild project: GitHubCodeBuild8756EF16-sDRE8Pq0duHT
  • Commit ID: eb9aa60
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

@jaidisido
Copy link
Contributor Author

AWS CodeBuild CI Report

  • CodeBuild project: GitHubCodeBuild8756EF16-sDRE8Pq0duHT
  • Commit ID: 4e03532
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

@jaidisido jaidisido merged commit 31ba2a0 into main Apr 9, 2021
@jaidisido jaidisido deleted the feat-617-prepend-prefix-parquet branch April 9, 2021 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor release Will be addressed in the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant