This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new 18863d9d refactor(c/driver/postgresql): remove unnecessary destructor
(#1134)
18863d9d is described below
commit 18863d9dfd33bde9ad421306dc7105cfd1cb0a6d
Author: William Ayd <[email protected]>
AuthorDate: Fri Sep 29 12:15:43 2023 -0400
refactor(c/driver/postgresql): remove unnecessary destructor (#1134)
Meant to include this in the Handle PR
---
c/driver/postgresql/postgres_copy_reader.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/c/driver/postgresql/postgres_copy_reader.h
b/c/driver/postgresql/postgres_copy_reader.h
index 430558a4..5066c49a 100644
--- a/c/driver/postgresql/postgres_copy_reader.h
+++ b/c/driver/postgresql/postgres_copy_reader.h
@@ -1209,8 +1209,6 @@ static inline ArrowErrorCode MakeCopyFieldWriter(const
enum ArrowType arrow_type
class PostgresCopyStreamWriter {
public:
- ~PostgresCopyStreamWriter() { ArrowArrayViewReset(&array_view_.value); }
-
ArrowErrorCode Init(struct ArrowSchema* schema, struct ArrowArray* array) {
schema_ = schema;
NANOARROW_RETURN_NOT_OK(