alamb commented on code in PR #5520:
URL: https://github.com/apache/arrow-datafusion/pull/5520#discussion_r1131521846
##########
datafusion/core/src/datasource/datasource.rs:
##########
@@ -97,6 +97,16 @@ pub trait TableProvider: Sync + Send {
fn statistics(&self) -> Option<Statistics> {
None
}
+
+ /// Insert into this table
+ async fn insert_into(
+ &self,
+ _state: &SessionState,
+ _input: &LogicalPlan,
+ ) -> Result<()> {
+ let msg = "Insertion not implemented for this table".to_owned();
Review Comment:
I think the name for a particular table provider is currently managed by its
containing schema - this allows, for example, the same provider to be
registered as different table names.
--
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]