-
Notifications
You must be signed in to change notification settings - Fork 596
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 azblob file scan #20046
base: main
Are you sure you want to change the base?
Conversation
…abs/risingwave into wcy/azblob_file_scan.pr
…nto wcy/gcs_file_scan.pr
endpoint: String, | ||
container_name: String, | ||
) -> ConnectorResult<Operator> { | ||
// Create gcs builder. |
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 comment "Create gcs builder" appears to be copy-pasted from the GCS implementation. For accuracy, this should be "Create Azure Blob builder" since this code initializes an Azure Blob storage operator.
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 5543 files.
Valid | Invalid | Ignored | Fixed |
---|---|---|---|
2338 | 1 | 3204 | 0 |
Click to see the invalid file list
- src/batch/executors/src/executor/azblob_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>
src/frontend/src/optimizer/rule/table_function_to_file_scan_rule.rs
Outdated
Show resolved
Hide resolved
&& !"azblob".eq_ignore_ascii_case(&eval_args[1])) | ||
{ | ||
return Err(BindError( | ||
"file_scan function supports three backends: s3, gcs, and azblob. Their formats are as follows:: \n |
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.
There is a minor typo in the error message - remove the double colon in as follows::
to make it as follows:
Spotted by Graphite Reviewer
Is this helpful? React 👍 or 👎 to let us know.
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Similar and follow up #19974
Support table function file_scan from azblob container, the syntax is
file_scan(parquet, azblob, account_name, account_key, endpoint, 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
Release note