Store the specified bytes at the given path
(self, path: &str, bytes: impl Into<Bytes>)
| 973 | |
| 974 | /// Store the specified bytes at the given path |
| 975 | async fn with_bytes(self, path: &str, bytes: impl Into<Bytes>) -> Self { |
| 976 | let path = Path::from(path); |
| 977 | self.object_store |
| 978 | .inner |
| 979 | .put(&path, PutPayload::from(bytes.into())) |
| 980 | .await |
| 981 | .unwrap(); |
| 982 | self |
| 983 | } |
| 984 | |
| 985 | /// Register a CSV file at the given path |
| 986 | async fn register_csv(self, table_name: &str, path: &str) -> Self { |
no test coverage detected