Return-Path: X-Original-To: apmail-drill-dev-archive@www.apache.org Delivered-To: apmail-drill-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EDA4B18933 for ; Fri, 17 Jul 2015 21:19:04 +0000 (UTC) Received: (qmail 22950 invoked by uid 500); 17 Jul 2015 21:19:04 -0000 Delivered-To: apmail-drill-dev-archive@drill.apache.org Received: (qmail 22897 invoked by uid 500); 17 Jul 2015 21:19:04 -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 22850 invoked by uid 99); 17 Jul 2015 21:19:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jul 2015 21:19:04 +0000 Date: Fri, 17 Jul 2015 21:19:04 +0000 (UTC) From: "Daniel Barclay (Drill) (JIRA)" To: dev@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (DRILL-3511) Dev.-level message (or bug?): "You tried to write a Bit ... ValueWriter ... NullableFloat8WriterImpl. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Daniel Barclay (Drill) created DRILL-3511: --------------------------------------------- Summary: Dev.-level message (or bug?): "You tried to write a Bit ... ValueWriter ... NullableFloat8WriterImpl. Key: DRILL-3511 URL: https://issues.apache.org/jira/browse/DRILL-3511 Project: Apache Drill Issue Type: Bug Components: Storage - JSON Reporter: Daniel Barclay (Drill) Assignee: Steven Phillips For a JSON file containing this: {noformat} {"x":[{"y":-1.1,"y":false}]} {noformat} a basic query yields an error message describing the problem in terms of Drill's implementation rather than in terms of the JSON data: {noformat} 0: jdbc:drill:zk=local> SELECT * FROM `dfs`.`/tmp/xxx.json`; Error: DATA_READ ERROR: You tried to write a Bit type when you are using a ValueWriter of type NullableFloat8WriterImpl. File /tmp/2924/data1x/a.json Record 1 Line 1 Column 24 Field Fragment 0:0 [Error Id: abe134c1-0a2c-4ce4-9f7d-1b68aad819fc on dev-linux2:31010] (state=,code=0) 0: jdbc:drill:zk=local> {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)