File tree 1 file changed +9
-11
lines changed
datafusion/core/src/dataframe
1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -1106,17 +1106,15 @@ impl DataFrame {
1106
1106
) )
1107
1107
}
1108
1108
1109
- /// Write this DataFrame to the referenced table by name.
1110
- ///
1111
- /// This method uses on the same underlying implementation
1112
- /// as the SQL Insert Into statement. Unlike most other DataFrame methods,
1113
- /// this method executes eagerly. Data is written to the table using an
1114
- /// execution plan returned by the [TableProvider]'s insert_into method.
1115
- /// Refer to the documentation of the specific [TableProvider] to determine
1116
- /// the expected data returned by the insert_into plan via this method.
1117
- /// For the built in ListingTable provider, a single [RecordBatch] containing
1118
- /// a single column and row representing the count of total rows written
1119
- /// is returned.
1109
+ /// Execute this `DataFrame` and write the results to `table_name`.
1110
+ ///
1111
+ /// Returns a single [RecordBatch] containing a single column and
1112
+ /// row representing the count of total rows written.
1113
+ ///
1114
+ /// Unlike most other `DataFrame` methods, this method executes eagerly.
1115
+ /// Data is written to the table using the [`TableProvider::insert_into`]
1116
+ /// method. This is the same underlying implementation used by SQL `INSERT
1117
+ /// INTO` statements.
1120
1118
pub async fn write_table (
1121
1119
self ,
1122
1120
table_name : & str ,
You can’t perform that action at this time.
0 commit comments