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

Add Java Parquet read/write pipelines #50

Merged
merged 4 commits into from
Feb 21, 2024

Conversation

Amar3tto
Copy link
Contributor

@Amar3tto Amar3tto commented Feb 20, 2024

Pipelines added:

  1. Write to Parquet
    IO: Parquet IO
    SDK Language: Java
    Run instruction:
  • Create folder for Parquet files
  • run java WriteParquet --runner="DataflowRunner" --project="your-project" --region="your-region" --filePattern="your-file-pattern"
  1. Read from Parquet
    IO: Parquet IO
    SDK Language: Java
    Run instruction:
  • Create set of Parquet files
  • run java ReadParquet --runner="DataflowRunner" --project="your-project" --region="your-region" --filePath="your-file-path"

Java/pom.xml Outdated
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-core</artifactId>
<version>1.2.1</version>
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a very old version of hadoop-client, which was then moved to org.apache.hadoop:hadoop-client. Can we use hadoop 3 or 2.10.2?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed

@Amar3tto Amar3tto requested a review from Abacn February 21, 2024 10:04
Copy link
Collaborator

@Abacn Abacn left a comment

Choose a reason for hiding this comment

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

Thank you!

@Abacn Abacn merged commit 5dd615a into GoogleCloudPlatform:main Feb 21, 2024
3 checks passed
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