Skip to content

Commit

Permalink
Updating the function calls to use the JdbcToArrowConfig versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Pigott committed Dec 8, 2018
1 parent 68c91e7 commit bb3165b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit bb3165b

Please sign in to comment.