drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Barclay" <dbarc...@maprtech.com>
Subject Re: Review Request 33291: DRILL-2782: 2-Core: Decide, implement behavior for transaction-related JDBC methods.
Date Thu, 23 Apr 2015 21:16:34 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated April 23, 2015, 9:16 p.m.)

Review request for drill, Mehant Baid and Parth Chandra.


Adjusted SQLLine scripts to avoid error message; updated a few missed comments.

Bugs: DRILL-2782

Repository: drill-git

Description (updated)

- Added unit test.
- Added implementations of transaction-related methods:
  - setAutoCommit - reject attempt to turn auto-commit off
  - commit - reject when in auto-commit mode (which is always)
  - rollback - reject when in auto-commit mode (which is always)
  - other mode and metadata methods - roughly, report "no transactions"
- Added method declarations with doc. comments in Drill-specific interface.
- Overrode SQLLine's default transaction isolation level to Drill's TRANSACTION_NONE.

Diffs (updated)

  distribution/src/resources/sqlline 0852fba 
  distribution/src/resources/sqlline.bat 755526c 
  exec/jdbc/src/main/java/org/apache/drill/jdbc/DrillConnection.java a52644d 
  exec/jdbc/src/main/java/org/apache/drill/jdbc/DrillConnectionImpl.java 3fdbf84 
  exec/jdbc/src/test/java/org/apache/drill/jdbc/ConnectionTransactionMethodsTest.java PRE-CREATION

  exec/jdbc/src/test/java/org/apache/drill/jdbc/DatabaseMetaDataTest.java PRE-CREATION 

Diff: https://reviews.apache.org/r/33291/diff/


Ran new specific tests.

Ran existing tests; no new problems.


Daniel Barclay

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message