doki23 commented on issue #5654:
URL: 
https://github.com/apache/arrow-datafusion/issues/5654#issuecomment-1479714169

   > Therefore, we should introduce a new API in the TableProvider to 
accommodate this functionality.
   
   `COPY TO` is close to `INSERT INTO SELECT FROM`. The difference is copy 
needs clean up existed data while insert not. So maybe they could share the 
same api like `sink(&self, state: &SessionState, input: &LogicalPlan, truncate: 
bool)`?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to