Skip to content

Commit

Permalink
Merge branch 'jdbc-to-arrow-config' into jdbc-column-metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Pigott committed Dec 8, 2018
2 parents a6fb1be + bb3165b commit 7e9ce37
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,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),
config.getAllocator());
JdbcToArrowUtils.jdbcToArrowVectors(resultSet, root, config.getCalendar());
JdbcToArrowUtils.jdbcToArrowSchema(resultSet.getMetaData(), config), config.getAllocator());
JdbcToArrowUtils.jdbcToArrowVectors(resultSet, root, config);
return root;
}
}

0 comments on commit 7e9ce37

Please sign in to comment.