You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Khurram Faraaz (JIRA)" <ji...@apache.org> on 2015/10/12 19:44:05 UTC
[jira] [Created] (DRILL-3923) getTableName(int column) function of
ResultSetMetaData interface does not return table name
Khurram Faraaz created DRILL-3923:
-------------------------------------
Summary: getTableName(int column) function of ResultSetMetaData interface does not return table name
Key: DRILL-3923
URL: https://issues.apache.org/jira/browse/DRILL-3923
Project: Apache Drill
Issue Type: Bug
Components: Client - JDBC
Affects Versions: 1.2.0
Reporter: Khurram Faraaz
getTableName(int column) function of ResultSetMetaData interface does not return table name, instead it returns an empty string.
I am on Drill 1.2, git.commit.id=eafe0a24
{code}
Statement stmt = conn.createStatement();
String query = "select col9 from FEWRWSPQQ_101";
ResultSet rs = stmt.executeQuery(query);
ResultSetMetaData rsmd = rs.getMetaData();
System.out.println("ResultSetMetadata.getTableName(1) :"+rsmd.getTableName(1));
{code}
Output :
{code}
17:35:11.922 [Client-1] DEBUG o.a.drill.exec.rpc.user.UserClient - Sending response with Sender 729391539
ResultSetMetadata.getTableName(1) :
17:35:11.965 [main] DEBUG o.a.d.j.i.DrillResultSetImpl$ResultsListener - [#1] Query listener closing.
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)