-
Notifications
You must be signed in to change notification settings - Fork 593
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(connector): introduce gcs file scan #19974
base: main
Are you sure you want to change the base?
Conversation
pub schema: Schema, | ||
pub file_format: FileFormat, | ||
pub storage_type: StorageType, | ||
pub creditial: String, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The variable creditial
appears to be misspelled - it should be credential
to maintain consistency with the protobuf definition and other usages throughout the codebase.
Spotted by Graphite Reviewer
Is this helpful? React 👍 or 👎 to let us know.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
license-eye has checked 5533 files.
Valid | Invalid | Ignored | Fixed |
---|---|---|---|
2332 | 1 | 3200 | 0 |
Click to see the invalid file list
- src/batch/executors/src/executor/gcs_file_scan.rs
Use this command to fix any missing license headers
```bash
docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header fix
</details>
…nto wcy/gcs_file_scan.pr
string credential = 3; | ||
string service_account = 4; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why we need 2 fields here stand for? IIRC, we only need a service account json encoded by base64.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Support table function file_scan from gcs bucket, the syntax is
file_scan(parquet, gcs, credential, service_account, file_loaction)
. The same with s3 file_scan, it also supports reading a single parquet file or all parquet files in a directory.Implementation detail:
Checklist
Documentation
Pls add this feature in documentation,
file_scan(parquet, gcs, credential, service_account, file_loaction)
.Release note