Vikas Taank created DRILL-4687: ---------------------------------- Summary: Not able query Sybase adaptive server from apace drill Key: DRILL-4687 URL: https://issues.apache.org/jira/browse/DRILL-4687 Project: Apache Drill Issue Type: Bug Components: Storage - JDBC Affects Versions: 1.6.0 Reporter: Vikas Taank
We have configured Syabase adaptive server storage plugin like this in Apache drill. { "type": "jdbc", "driver": "net.sourceforge.jtds.jdbc.Driver", "url": "jdbc:jtds:sybase://lonrs11026:2050/irc", "username": "irc", "password": "Cr3at3d", "enabled": true } The schema is created however we are not able to fire any query. The schema name is sybase and the database name is irc. When I do show files, I am getting the below error. [Error Id: 62150ea1-1321-44de-b298-9fb58be823c7 on DELMW11887.fm.rbsgrp.net:31010] (state=,code=0) 0: jdbc:drill:zk=local> show files; Error: VALIDATION ERROR: SHOW FILES is supported in workspace type schema only. Schema [sybase.irc] is not a workspace schema. When I query the schema table, drill is not able to resolve the table name. and throwing below error. 0: jdbc:drill:zk=local> select * from sybase. `irc.CorpIssue` LIMIT 10; May 19, 2016 2:36:56 PM org.apache.calcite.sql.validate.SqlValidatorException <init> SEVERE: org.apache.calcite.sql.validate.SqlValidatorException: Table 'sybase.irc.CorpIssue' not found May 19, 2016 2:36:56 PM org.apache.calcite.runtime.CalciteException <init> SEVERE: org.apache.calcite.runtime.CalciteContextException: From line 1, column 15 to line 1, column 20: Table 'sybase.irc.CorpIssue' not foun d Error: VALIDATION ERROR: From line 1, column 15 to line 1, column 20: Table 'sybase.irc.CorpIssue' not found -- This message was sent by Atlassian JIRA (v6.3.4#6332)