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

JDBC driver returning incorrect data after extended usage

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • None
    • 1.2.0
    • Client - JDBC
    • None

    Description

      After executing ~20-30 queries with the JDBC driver, the data returned from a "Show files" query is incorrect, particularly the isFile and isDirectory columns. The first item in the schema/directory will be correct, but subsequent items will report "false" for isFile and isDirectory.

      This was tested with just a simple program that just loops through executeQuery and prints out the values for isFile and isDirectory. The JDBC driver used was the Drill 0.7 snapshot.

      isFile: true
      isDirectory: false
      isFile: false
      isDirectory: false
      isFile: false
      isDirectory: false
      isFile: false
      isDirectory: false
      isFile: false
      isDirectory: false
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            dsbos Daniel Barclay
            norrisl Norris Lee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment