Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E414819560 for ; Mon, 21 Mar 2016 22:05:25 +0000 (UTC) Received: (qmail 15923 invoked by uid 500); 21 Mar 2016 22:05:25 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 15885 invoked by uid 500); 21 Mar 2016 22:05:25 -0000 Mailing-List: contact issues-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 issues@drill.apache.org Received: (qmail 15847 invoked by uid 99); 21 Mar 2016 22:05:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Mar 2016 22:05:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8DF492C1F68 for ; Mon, 21 Mar 2016 22:05:25 +0000 (UTC) Date: Mon, 21 Mar 2016 22:05:25 +0000 (UTC) From: "Bridget Bevens (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (DRILL-4524) case-sensitive view names MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Bridget Bevens created DRILL-4524: ------------------------------------- Summary: case-sensitive view names Key: DRILL-4524 URL: https://issues.apache.org/jira/browse/DRILL-4524 Project: Apache Drill Issue Type: Bug Components: Documentation Reporter: Bridget Bevens Assignee: Bridget Bevens I think that part of the doc needs to be updated. Table names & view names = are case-sensitive. Also the doc section about double-quoting names is in-c= orrect. Using double quotes gives us a SQL parse error.=20 On Mon, Mar 21, 2016 at 1:27 PM, Christopher Matta wrote: I=E2=80=99m experiencing case-sensitive view names, the drill documentation= here: https://drill.apache.org/docs/lexical-structure/#case-sensitivity doesn't explicitly state weather view names are case-insensitive: 0: jdbc:drill:> select state, count(1) from `yelp/yelp_academic_dataset_business.json` group by state; +--------+---------+ | state | EXPR$1 | +--------+---------+ | AZ | 15582 | | CA | 2 | | SC | 1 | +--------+---------+ 3 rows selected (0.533 seconds) 0: jdbc:drill:> create or replace view BUSINESS_COUNT as select state, count(1) from `yelp/yelp_academic_dataset_business.json` group by state; +-------+------------------------------------------------------------------= -----+ | ok | summary | +-------+------------------------------------------------------------------= -----+ | true | View 'BUSINESS_COUNT' created successfully in 'maprfs.cmatta' schema | +-------+------------------------------------------------------------------= -----+ 1 row selected (0.36 seconds) 0: jdbc:drill:> select * from business_count; Error: VALIDATION ERROR: From line 1, column 15 to line 1, column 28: Table 'business_count' not found [Error Id: f2371e7b-f3de-4aef-9879-bae10fddea6b on se-node13.se.lab:31010] (state=3D,code=3D0) 0: jdbc:drill:> select * from BUSINESS_COUNT; +--------+---------+ | state | EXPR$1 | +--------+---------+ | AZ | 15582 | | CA | 2 | | SC | 1 | +--------+---------+ 3 rows selected (0.554 seconds) 0: jdbc:drill:> I see this JIRA, but it=E2=80=99s related to the jdbc storage plugin: https://issues.apache.org/jira/browse/DRILL-4458 Is this expected behavior? Chris Matta cmatta@mapr.com 215-701-3146 =E2=80=8B -- This message was sent by Atlassian JIRA (v6.3.4#6332)