From bb3165b93ba6caa1fed4ed9637dfb0211f54ce02 Mon Sep 17 00:00:00 2001 From: Mike Pigott Date: Sat, 8 Dec 2018 16:18:27 -0500 Subject: [PATCH] Updating the function calls to use the JdbcToArrowConfig versions. --- .../main/java/org/apache/arrow/adapter/jdbc/JdbcToArrow.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/adapter/jdbc/src/main/java/org/apache/arrow/adapter/jdbc/JdbcToArrow.java b/java/adapter/jdbc/src/main/java/org/apache/arrow/adapter/jdbc/JdbcToArrow.java index 87a2d556a6388..fa4e62b512f0e 100644 --- a/java/adapter/jdbc/src/main/java/org/apache/arrow/adapter/jdbc/JdbcToArrow.java +++ b/java/adapter/jdbc/src/main/java/org/apache/arrow/adapter/jdbc/JdbcToArrow.java @@ -224,8 +224,8 @@ public static VectorSchemaRoot sqlToArrow(ResultSet resultSet, JdbcToArrowConfig Preconditions.checkArgument(config.isValid(), "The configuration must be valid"); VectorSchemaRoot root = VectorSchemaRoot.create( - JdbcToArrowUtils.jdbcToArrowSchema(resultSet.getMetaData(), config.getCalendar()), config.getAllocator()); - JdbcToArrowUtils.jdbcToArrowVectors(resultSet, root, config.getCalendar()); + JdbcToArrowUtils.jdbcToArrowSchema(resultSet.getMetaData(), config), config.getAllocator()); + JdbcToArrowUtils.jdbcToArrowVectors(resultSet, root, config); return root; } }