drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vikas Taank (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-4687) Not able query Sybase adaptive server from Apache drill
Date Thu, 20 Oct 2016 08:34:59 GMT

     [ https://issues.apache.org/jira/browse/DRILL-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vikas Taank updated DRILL-4687:
-------------------------------
    Attachment:     (was: error-records.txt)

> Not able query Sybase adaptive server from Apache 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
> }
> Added the below third party jar: C:\tools\apache-drill-1.6.0\jars\3rdparty
> jtds-1.2.1
> 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)

Mime
View raw message