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

Read orc from GCP #1051

Closed
MikeChenfu opened this issue Mar 2, 2022 · 3 comments
Closed

Read orc from GCP #1051

MikeChenfu opened this issue Mar 2, 2022 · 3 comments
Labels

Comments

@MikeChenfu
Copy link

MikeChenfu commented Mar 2, 2022

Hello, I am trying to read orc data from gcs bucket in java. Is there any way or example to read orc data from GCP directly? Many Thanks!

@dongjoon-hyun
Copy link
Member

Hi, @MikeChenfu . We are using Apache Hadoop to access all file systems including local, HDFS, S3, GCP. Here is the Java community example. Please note that the example is using org.apache.hadoop.fs.Path

Reader reader = OrcFile.createReader(new Path("my-file.orc"),
OrcFile.readerOptions(conf));

@MikeChenfu
Copy link
Author

Many thanks @dongjoon-hyun. The example is super helpful. 👍

@dongjoon-hyun
Copy link
Member

You are welcome. @MikeChenfu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants