Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BF4A82009D9 for ; Thu, 19 May 2016 11:11:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BE19B160A00; Thu, 19 May 2016 09:11:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1525D160A04 for ; Thu, 19 May 2016 11:11:14 +0200 (CEST) Received: (qmail 57213 invoked by uid 500); 19 May 2016 09:11:13 -0000 Mailing-List: contact dev-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list dev@drill.apache.org Received: (qmail 56822 invoked by uid 99); 19 May 2016 09:11:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2016 09:11:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id ECD5A2C1F61 for ; Thu, 19 May 2016 09:11:12 +0000 (UTC) Date: Thu, 19 May 2016 09:11:12 +0000 (UTC) From: "Vikas Taank (JIRA)" To: dev@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (DRILL-4687) Not able query Sybase adaptive server from apace drill MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 19 May 2016 09:11:15 -0000 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 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 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)