Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JDBC QPT Implementation; with MySQL Connector #1774

Merged
merged 1 commit into from
Feb 26, 2024
Merged

JDBC QPT Implementation; with MySQL Connector #1774

merged 1 commit into from
Feb 26, 2024

Conversation

AbdulR3hman
Copy link
Contributor

This PR will provide the heavy lifting required for the jdbc-based connectors to implement QPT; moreover adding MySQL as one of the first connectors to extend QPT functionality.

@AbdulR3hman AbdulR3hman marked this pull request as ready for review February 23, 2024 22:28
@@ -48,12 +48,16 @@ public static ArrowType toArrowType(final int jdbcType, final int precision, fin
int defaultScale = Integer.parseInt(configOptions.getOrDefault("default_scale", "0"));
int resolvedPrecision = precision;
int resolvedScale = scale;
boolean needsResolving = jdbcType == Types.NUMERIC && (precision == 0 && scale == 0);
boolean needsResolving = jdbcType == Types.NUMERIC && (precision == 0 && scale <= 0);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are precision issues we've found in testing.

@AbdulR3hman
Copy link
Contributor Author

Code is cherry picked from the querypassthrough-sdk and has been baking and testing

@AbdulR3hman AbdulR3hman changed the title JDBC QPT Implementation; with MySQL Connector as Example JDBC QPT Implementation; with MySQL Connector Feb 26, 2024
@AbdulR3hman AbdulR3hman merged commit b45f1b7 into master Feb 26, 2024
8 checks passed
@AbdulR3hman AbdulR3hman deleted the qpt-jdbc branch February 26, 2024 16:08
github-actions bot pushed a commit that referenced this pull request Feb 26, 2024
  - JDBC QPT Implementation; with MySQL Connector (#1774)
  - Deploy Mysql and JDBC Connectors to Maven Central (#1775)
  - Maven dependency revert (#1791)
  - Disabled Automerge DependBot PRs Temporarily (#1789)
  - build(deps): bump org.apache.maven.plugins:maven-shade-plugin from 3.5.1 to 3.5.2 (#1785)
  - build(deps): bump org.apache.maven.plugins:maven-shade-plugin
  - build(deps): bump slf4j-log4j.version from 2.0.7 to 2.0.12 (#1779)
  - build(deps): bump slf4j-log4j.version from 2.0.7 to 2.0.12
  - build(deps): bump com.microsoft.azure:msal4j from 1.14.2 to 1.14.3 (#1780)
  - build(deps): bump com.microsoft.azure:msal4j from 1.14.2 to 1.14.3
  - build(deps-dev): bump log4j2Version from 2.22.1 to 2.23.0 (#1782)
  - build(deps-dev): bump log4j2Version from 2.22.1 to 2.23.0
  - build(deps): bump com.microsoft.sqlserver:mssql-jdbc from 12.4.2.jre11 to 12.6.1.jre11 (#1778)
  - build(deps): bump com.microsoft.sqlserver:mssql-jdbc
  - build(deps): bump net.jqwik:jqwik from 1.8.2 to 1.8.3 (#1784)
  - build(deps): bump net.jqwik:jqwik from 1.8.2 to 1.8.3
  - build(deps): bump org.elasticsearch.client:elasticsearch-rest-client from 8.12.1 to 8.12.2 (#1787)
  - build(deps): bump org.elasticsearch.client:elasticsearch-rest-client
  - build(deps-dev): bump nl.jqno.equalsverifier:equalsverifier from 3.15.6 to 3.15.7 (#1786)
  - build(deps-dev): bump nl.jqno.equalsverifier:equalsverifier
  - build(deps): bump com.google.cloud:google-cloud-resourcemanager from 1.37.0 to 1.38.0 (#1781)
  - build(deps): bump com.google.cloud:google-cloud-resourcemanager
  - build(deps): bump net.snowflake:snowflake-jdbc from 3.14.5 to 3.15.0 (#1783)
  - build(deps): bump net.snowflake:snowflake-jdbc from 3.14.5 to 3.15.0
  - build(deps): bump fasterxml.jackson.version from 2.12.6 to 2.16.1 (#1777)
  - build(deps): bump fasterxml.jackson.version from 2.12.6 to 2.16.1
  - build(deps): bump aws-sdk.version from 1.12.533 to 1.12.666 (#1776)
  - build(deps): bump aws-sdk.version from 1.12.533 to 1.12.666
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants