-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Support cloud storage as the source/destination of SELECT ... INTO OUTFILE & LOAD DATA #20582
Comments
I think this is a very useful FR. In terms of syntax, I suggest we follow AWS Aurora, which is slightly different: SELECT * FROM employees INTO OUTFILE S3 's3-us-west-2://aurora-select-into-s3-pdx/sample_employee_data'
FIELDS TERMINATED BY ','
LINES TERMINATED BY '\n';
LOAD DATA FROM S3 's3://mybucket/data.txt'
INTO TABLE table1
(column1, @var1)
SET table_column2 = @var1/100; Docs: |
I've updated @nullnotnil's suggestion into the issue description. The current URI in BR places the region information as a URL query like |
@IANTHEREAL PTAL |
Hi I'm happy to work for this issue. |
Feature Request
Is your feature request related to a problem? Please describe:
In the cloud environment, it is impossible to load files locally.
Describe the feature you'd like:
Syntax:
The scheme and the parameters of S3 file can be similar with BR's, along with the credential policy.
Describe alternatives you've considered:
Teachability, Documentation, Adoption, Migration Strategy:
The text was updated successfully, but these errors were encountered: