Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-2560

JDBC execute calls return asynchronously for DDL statements

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.8.0
    • Future
    • Client - JDBC
    • None

    Description

      While working with TestViews, I noticed that JDBC's executeQuery() returns immediately for drop view statements. For DDLs, users' expectation would be that the call would return synchronously. The same would be true for execute(), and executeUpdate(), if used for DDLs. This behavior is pretty typical for RDBMSs. This avoids the user having to consume the (non-)output in order to wait for the statement to complete – otherwise it will get cancelled when the Statement is closed.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cwestin Chris Westin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: