Commits


Mike Pigott authored and Uwe L. Korn committed 1cf4cdd4060
ARROW-3966 [Java] JDBC Column Metadata in Arrow Field Metadata https://issues.apache.org/jira/browse/ARROW-3966 This change includes #3133, and supports a new configuration item called "Include Metadata." If true, metadata from the JDBC ResultSetMetaData object is pulled along to the Schema Field Metadata. For now, this includes: * Catalog Name * Table Name * Column Name * Column Type Name Author: Mike Pigott <mpigott@gmail.com> Author: Michael Pigott <mikepigott@users.noreply.github.com> Closes #3134 from mikepigott/jdbc-column-metadata and squashes the following commits: 02f2f348 <Mike Pigott> ARROW-3966: Picking up lost change to support null calendars. 7049c36a <Mike Pigott> Merge branch 'master' into jdbc-column-metadata e9a9b2b1 <Michael Pigott> Merge pull request #6 from apache/master 65741a9e <Mike Pigott> ARROW-3966: Code review feedback cc6cc88a <Mike Pigott> ARROW-3966: Using a 1:N loop instead of a 0:N-1 loop for fewer index offsets in code. cfb2ba68 <Mike Pigott> ARROW-3966: Using a helper method for building a UTC calendar with root locale. 29285132 <Mike Pigott> ARROW-3966: Moving the metadata flag assignment into the builder. 69022c26 <Mike Pigott> ARROW-3966: Fixing merge. 4a6de863 <Mike Pigott> Merge branch 'master' into jdbc-column-metadata 509a1cc5 <Michael Pigott> Merge pull request #5 from apache/master 789c8c84 <Michael Pigott> Merge pull request #4 from apache/master e5b19eee <Michael Pigott> Merge pull request #3 from apache/master 3b17c297 <Michael Pigott> Merge pull request #2 from apache/master d847ebc4 <Mike Pigott> Fixing file location 1ceac9eb <Mike Pigott> Merge branch 'master' into jdbc-column-metadata 881c6c83 <Michael Pigott> Merge pull request #1 from apache/master 03091a86 <Mike Pigott> Unit tests for including result set metadata. 72d64cc6 <Mike Pigott> Affirming the field metadata is empty when the configuration excludes field metadata. 7b4527c0 <Mike Pigott> Test for the include-metadata flag in the configuration. 7e9ce373 <Mike Pigott> Merge branch 'jdbc-to-arrow-config' into jdbc-column-metadata bb3165b9 <Mike Pigott> Updating the function calls to use the JdbcToArrowConfig versions. a6fb1be4 <Mike Pigott> Fixing function call 5bfd6a29 <Mike Pigott> Merge branch 'jdbc-to-arrow-config' into jdbc-column-metadata 68c91e7a <Mike Pigott> Modifying the jdbcToArrowSchema and jdbcToArrowVectors methods to receive JdbcToArrowConfig objects. b5b0cb11 <Mike Pigott> Merge branch 'jdbc-to-arrow-config' into jdbc-column-metadata 8d6cf008 <Mike Pigott> Documentation for public static VectorSchemaRoot sqlToArrow(Connection connection, String query, JdbcToArrowConfig config) 4f1260ce <Mike Pigott> Adding documentation for public static VectorSchemaRoot sqlToArrow(ResultSet resultSet, JdbcToArrowConfig config) e34a9e79 <Mike Pigott> Fixing formatting. fe097c88 <Mike Pigott> Merge branch 'jdbc-to-arrow-config' into jdbc-column-metadata df632e36 <Mike Pigott> Updating the SQL tests to include JdbcToArrowConfig versions. b2700448 <Mike Pigott> Updated validaton & documentation, and unit tests for the new JdbcToArrowConfig. da77cbe8 <Mike Pigott> Creating a configuration class for the JDBC-to-Arrow converter. a78c7704 <Mike Pigott> Updating Javadocs. 523387f3 <Mike Pigott> Updating the API to support an optional 'includeMetadata' field. 5af1b5b2 <Mike Pigott> Separating out the field-type creation from the field creation.