doris icon indicating copy to clipboard operation
doris copied to clipboard

[enhancement](array-type) support export files in 'select into outfile'

Open carlvinhust2012 opened this issue 2 years ago • 0 comments

Proposed changes

  1. this pr is used to support export files in 'select into outfile'.
  2. 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)

  1. Does it affect the original behavior:
    • [ ] Yes
    • [x] No
    • [ ] I don't know
  2. Has unit tests been added:
    • [ ] Yes
    • [ ] No
    • [x] No Need
  3. Has document been added or modified:
    • [ ] Yes
    • [x] No
    • [ ] No Need
  4. Does it need to update dependencies:
    • [ ] Yes
    • [x] No
  5. 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...

carlvinhust2012 avatar Aug 11 '22 15:08 carlvinhust2012