You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "lidavidm (via GitHub)" <gi...@apache.org> on 2024/07/04 01:08:47 UTC

Re: [PR] feat(c/driver/postgresql): Implement LIST/LARGE_LIST Writer [arrow-adbc]

lidavidm commented on code in PR #1962:
URL: https://github.com/apache/arrow-adbc/pull/1962#discussion_r1664955780


##########
c/driver/postgresql/copy/writer.h:
##########
@@ -663,15 +766,15 @@ class PostgresCopyStreamWriter {
     return NANOARROW_OK;
   }
 
-  ArrowErrorCode InitFieldWriters(ArrowError* error) {
+  ArrowErrorCode InitFieldWriters(const PostgresConnection* conn, ArrowError* error) {

Review Comment:
   nit but should we pass in the whole connection or maybe just `const Resolver&`?



##########
c/driver/postgresql/copy/writer.h:
##########
@@ -663,15 +766,15 @@ class PostgresCopyStreamWriter {
     return NANOARROW_OK;
   }
 
-  ArrowErrorCode InitFieldWriters(ArrowError* error) {
+  ArrowErrorCode InitFieldWriters(const PostgresConnection* conn, ArrowError* error) {

Review Comment:
   That might also simplify the amount of setup you have to do in the unit test?



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org