Skip to content

Commit ecae94a

Browse files
committed
refactor: Remove TODO comments for unsupported write operations in VirtualObjectStore
1 parent cf70e2f commit ecae94a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

datafusion/execution/src/virtual_object_store.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ impl ObjectStore for VirtualObjectStore {
122122
_payload: PutPayload,
123123
_opts: PutOptions,
124124
) -> Result<PutResult> {
125-
// TODO: Implement write operations if needed
126125
Err(Error::NotSupported {
127126
source: std::io::Error::other(
128127
"VirtualObjectStore does not support write operations",
@@ -136,7 +135,6 @@ impl ObjectStore for VirtualObjectStore {
136135
_location: &Path,
137136
_opts: PutMultipartOptions,
138137
) -> Result<Box<dyn MultipartUpload>> {
139-
// TODO: Implement write operations if needed
140138
Err(Error::NotSupported {
141139
source: std::io::Error::other(
142140
"VirtualObjectStore does not support write operations",
@@ -151,7 +149,6 @@ impl ObjectStore for VirtualObjectStore {
151149
}
152150

153151
async fn delete(&self, _location: &Path) -> Result<()> {
154-
// TODO: Implement write operations if needed
155152
Err(Error::NotSupported {
156153
source: std::io::Error::other(
157154
"VirtualObjectStore does not support write operations",
@@ -242,7 +239,6 @@ impl ObjectStore for VirtualObjectStore {
242239
}
243240

244241
async fn copy(&self, _from: &Path, _to: &Path) -> Result<()> {
245-
// TODO: Implement write operations if needed
246242
Err(Error::NotSupported {
247243
source: std::io::Error::other(
248244
"VirtualObjectStore does not support write operations",
@@ -252,7 +248,6 @@ impl ObjectStore for VirtualObjectStore {
252248
}
253249

254250
async fn copy_if_not_exists(&self, _from: &Path, _to: &Path) -> Result<()> {
255-
// TODO: Implement write operations if needed
256251
Err(Error::NotSupported {
257252
source: std::io::Error::other(
258253
"VirtualObjectStore does not support write operations",

0 commit comments

Comments
 (0)