You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by li...@apache.org on 2023/01/15 20:47:37 UTC
[arrow-adbc] branch main updated: feat(c/driver/postgresql): add VARCHAR type support
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 3a677a1 feat(c/driver/postgresql): add VARCHAR type support
3a677a1 is described below
commit 3a677a19aaded0e2696091da3512528450a48370
Author: Jianfeng Mao <42...@users.noreply.github.com>
AuthorDate: Sun Jan 15 13:47:31 2023 -0700
feat(c/driver/postgresql): add VARCHAR type support
---
c/driver/postgresql/statement.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/c/driver/postgresql/statement.cc b/c/driver/postgresql/statement.cc
index 202d1c8..c7c69ee 100644
--- a/c/driver/postgresql/statement.cc
+++ b/c/driver/postgresql/statement.cc
@@ -143,6 +143,7 @@ AdbcStatusCode InferSchema(const TypeMapping& type_mapping, PGresult* result,
field_type = NANOARROW_TYPE_INT64;
break;
case PgType::kText:
+ case PgType::kVarChar:
field_type = NANOARROW_TYPE_STRING;
break;
default: