Conversation
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
|
Reviewed 27 of 27 files at r1, 1 of 1 files at r2, 1 of 1 files at r4, 2 of 3 files at r5, 1 of 1 files at r6, 4 of 5 files at r7. java/jdbc/src/main/java/com/flipkart/vitess/jdbc/VitessConnection.java, line 139 [r1] (raw file): java/jdbc/src/main/java/com/flipkart/vitess/jdbc/VitessConnection.java, line 157 [r1] (raw file): java/jdbc/src/main/java/com/flipkart/vitess/jdbc/VitessPreparedStatement.java, line 27 [r1] (raw file): java/jdbc/src/main/java/com/flipkart/vitess/jdbc/VitessPreparedStatement.java, line 166 [r1] (raw file): java/jdbc/src/main/java/com/flipkart/vitess/jdbc/VitessPreparedStatement.java, line 320 [r1] (raw file): java/jdbc/src/main/java/com/flipkart/vitess/jdbc/VitessPreparedStatement.java, line 342 [r1] (raw file): java/jdbc/src/main/java/com/flipkart/vitess/jdbc/VitessResultSet.java, line 56 [r1] (raw file): java/jdbc/src/main/java/com/flipkart/vitess/jdbc/VitessResultSet.java, line 175 [r1] (raw file): java/jdbc/src/main/java/com/flipkart/vitess/jdbc/VitessResultSet.java, line 259 [r1] (raw file): If the issue is that you want to control the conversion yourself, we should instead expose a method from the low-level Vitess API to let you get the raw value without any attempt to convert. Even better would be that we should change the low-level Vitess Row class to make its getInt() behave the same way JDBC ResultSet.getInt() is supposed to. Then here you would just directly call java/jdbc/src/main/java/com/flipkart/vitess/jdbc/VitessResultSet.java, line 668 [r1] (raw file): Comments from the review on Reviewable.io |
|
Nice work! I think we just need to clean up some integration points between this connector and the underlying low-level Vitess API. Right now there seems to still be some mismatch in these interfaces. I mentioned some things in the Reviewable.io comments that I plan to work on, which should help with this. |
|
Review status: all files reviewed at latest revision, 10 unresolved discussions, some commit checks failed. java/jdbc/src/main/java/com/flipkart/vitess/jdbc/VitessConnection.java, line 139 [r1] (raw file): java/jdbc/src/main/java/com/flipkart/vitess/jdbc/VitessConnection.java, line 157 [r1] (raw file): java/jdbc/src/main/java/com/flipkart/vitess/jdbc/VitessPreparedStatement.java, line 27 [r1] (raw file): java/jdbc/src/main/java/com/flipkart/vitess/jdbc/VitessPreparedStatement.java, line 166 [r1] (raw file): java/jdbc/src/main/java/com/flipkart/vitess/jdbc/VitessResultSet.java, line 56 [r1] (raw file): Comments from the review on Reviewable.io |
[Vitss JDBC] Changes to create context object while executing query
…OfIgnoreCase(...)
|
Review status: all files reviewed at latest revision, 5 unresolved discussions, some commit checks broke. java/jdbc/src/main/java/com/flipkart/vitess/jdbc/VitessPreparedStatement.java, line 320 [r1] (raw file): java/jdbc/src/main/java/com/flipkart/vitess/jdbc/VitessPreparedStatement.java, line 342 [r1] (raw file): Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 5 unresolved discussions, some commit checks broke. java/jdbc/src/main/java/com/flipkart/vitess/jdbc/VitessResultSet.java, line 668 [r1] (raw file): Comments from the review on Reviewable.io |
Adding Connection, Driver tests and removing unsued utilities
|
Reviewed 6 of 7 files at r16. java/jdbc/src/main/java/com/flipkart/vitess/jdbc/VitessResultSet.java, line 668 [r1] (raw file): There are some places where you'll need to check if the object returned from Row is null before attempting to do type conversion. However, those will go away too once I push the type conversion down into the Row class. Comments from the review on Reviewable.io |
|
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. |
|
Review status: 28 of 31 files reviewed at latest revision, 5 unresolved discussions. java/jdbc/src/main/java/com/flipkart/vitess/jdbc/VitessResultSet.java, line 668 [r1] (raw file): Comments from Reviewable |
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
|
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. |
|
The CLA bot is confused by some commits from Naveen with an alternate email address, but I verified he is covered so I will override this time. Reviewed 19 of 24 files at r21, 5 of 5 files at r24. java/jdbc/src/main/java/com/flipkart/vitess/jdbc/VitessConnection.java, line 139 [r1] (raw file): java/jdbc/src/main/java/com/flipkart/vitess/jdbc/VitessResultSet.java, line 668 [r1] (raw file): Comments from Reviewable |
|
I'm looking into the Travis failure before merging. It's the Java target that's failing. |
This pull request contains changes for implementing JDBC on current Vitess client.
This is currently work in progress.
This change is