BiteTheDDDDt opened a new issue, #50718:
URL: https://github.com/apache/doris/issues/50718

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Description
   
   Sometimes we want to export complex(hll/bitmap/quantile_state/agg_state) 
types for data backup, and then reimport the exported data into doris to 
restore the data.
   
   ```sql
   
   create table a_table(
        k1 int null,
       k2 agg_state max_by(int not null,int)
   )
   aggregate key (k1)
   distributed BY hash(k1) buckets 3
   properties("replication_num" = "1");
   
   insert into a_table select 1,"a";
   
   select * from a_table INTO OUTFILE "file:///mnt/disk3/root/doris/tmp.csv";
   
   LOAD DATA LOCAL INFILE 'tmp.csv*' INTO TABLE a_table COLUMNS TERMINATED BY 
',' LINES TERMINATED BY '\n';
   ```
   
   ### Use case
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to