From issues-return-65666-archive-asf-public=cust-asf.ponee.io@drill.apache.org Fri May 10 09:33:03 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id D5353180784 for ; Fri, 10 May 2019 11:33:02 +0200 (CEST) Received: (qmail 8002 invoked by uid 500); 10 May 2019 09:33:01 -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 7843 invoked by uid 99); 10 May 2019 09:33:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 May 2019 09:33:01 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B2F47E2B89 for ; Fri, 10 May 2019 09:33:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 35B34256C1 for ; Fri, 10 May 2019 09:33:00 +0000 (UTC) Date: Fri, 10 May 2019 09:33:00 +0000 (UTC) From: "Gayathri (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (DRILL-7248) Apache Drill API returns the column value as string MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Gayathri created DRILL-7248: ------------------------------- Summary: Apache Drill API returns the column value as string Key: DRILL-7248 URL: https://issues.apache.org/jira/browse/DRILL-7248 Project: Apache Drill Issue Type: Bug Affects Versions: 1.14.0 Reporter: Gayathri *test.json:* [\{"a":"uxv","b":1,"c":2.0},\{"a":"uxv","b":2,"c":3.15}]** +Example:+=C2=A0*Request:*=C2=A0\{"queryType" : "SQL","query" : "select=C2= =A0* from dfs.`\files\test.json`"}; *Response:*=C2=A0{ "queryId": "233ff474-0902-828b-9efd-0a0bd57eee51", "columns": [ "a", "b", "c" ], "rows": [ { "b": "1", "c": " 2.0", "a": "uxv"} , \{ "b": "2", "c": "3.15", "a": "uxv"} ] } Here in the response, why the column values are coming as string even thoug= h it a numeric. Can anyone please help me in this. Is there any configuration where I can m= odify to get the response column values in proper numeric format rather tha= n a string. -- This message was sent by Atlassian JIRA (v7.6.3#76005)