doris
doris copied to clipboard
[enhancement](array-type) support export files in 'select into outfile'
Proposed changes
- this pr is used to support export files in 'select into outfile'.
- the usage is as follow: MySQL [example_db]> set enable_array_type=true; MySQL [example_db]> select * from array_test order by id INTO OUTFILE "file:///home/disk1/hugo_work/doris_env/"; +------------+-----------+----------+---------------------------------------------------------------------------------------+ | FileNumber | TotalRows | FileSize | URL | +------------+-----------+----------+---------------------------------------------------------------------------------------+ | 1 | 8 | 99 | file:///10.81.85.89/home/disk1/hugo_work/doris_env/44b19bb155d14a6c-a9d796a18aeac4a3_ | +------------+-----------+----------+---------------------------------------------------------------------------------------+ 1 row in set (0.016 sec) Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)
- Does it affect the original behavior:
- [ ] Yes
- [x] No
- [ ] I don't know
- Has unit tests been added:
- [ ] Yes
- [ ] No
- [x] No Need
- Has document been added or modified:
- [ ] Yes
- [x] No
- [ ] No Need
- Does it need to update dependencies:
- [ ] Yes
- [x] No
- Are there any changes that cannot be rolled back:
- [ ] Yes (If Yes, please explain WHY)
- [x] No
Further comments
If this is a relatively large or complex change, kick off the discussion at [email protected] by explaining why you chose the solution you did and what alternatives you considered, etc...