[
https://issues.apache.org/jira/browse/DRILL-2312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14337209#comment-14337209
]
Norris Lee commented on DRILL-2312:
-----------------------------------
I tried ODBC and it works fine. I haven't tried any other interfaces though.
I ran the queries using a single connection, single statement, as well as a new
connection and statement per query and in both situations I got the same
result. I was connecting to zookeeper/drillbit on a seperate machine, so my
connection string was "jdbc:drill:zk=ip:port/clusterid"
> JDBC driver returning incorrect data after extended usage
> ---------------------------------------------------------
>
> Key: DRILL-2312
> URL: https://issues.apache.org/jira/browse/DRILL-2312
> Project: Apache Drill
> Issue Type: Bug
> Components: Client - JDBC
> Reporter: Norris Lee
> Assignee: Daniel Barclay (Drill)
>
> 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.
> {code}
> isFile: true
> isDirectory: false
> isFile: false
> isDirectory: false
> isFile: false
> isDirectory: false
> isFile: false
> isDirectory: false
> isFile: false
> isDirectory: false
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)