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 4BADE18857 for ; Mon, 15 Jun 2015 19:01:01 +0000 (UTC) Received: (qmail 69473 invoked by uid 500); 15 Jun 2015 19:01:01 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 69387 invoked by uid 500); 15 Jun 2015 19:01: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 69245 invoked by uid 99); 15 Jun 2015 19:01:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2015 19:01:01 +0000 Date: Mon, 15 Jun 2015 19:01:01 +0000 (UTC) From: "Daniel Barclay (Drill) (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-2462) JDBC : ResultSetMetaData.isNullable returns true even when the column is a required one MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DRILL-2462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14586499#comment-14586499 ] Daniel Barclay (Drill) commented on DRILL-2462: ----------------------------------------------- [~rkins] > ResultSetMetaData.isNullable returns true Wait a minute--its return type is not {{boolean}}. So how could [{{ResultSetMetaData.isNullable(int)}}|http://docs.oracle.com/javase/7/docs/api/java/sql/ResultSetMetaData.html#isNullable%28int%29] have returned {{true}}? > JDBC : ResultSetMetaData.isNullable returns true even when the column is a required one > --------------------------------------------------------------------------------------- > > Key: DRILL-2462 > URL: https://issues.apache.org/jira/browse/DRILL-2462 > Project: Apache Drill > Issue Type: Bug > Components: Client - JDBC > Reporter: Rahul Challapalli > Assignee: Daniel Barclay (Drill) > Priority: Critical > Fix For: 1.1.0 > > Attachments: fewtypes.parquet > > > git.commit.id.abbrev=7b4c887 > I attached a parquet file in which all the columns are required > {code} > /root/parquet-tools-1.5.1-SNAPSHOT/parquet-tools schema fewtypes.parquet > message root { > required int32 int_col; > required int64 bigint_col; > required int32 date_col (DATE); > required int32 time_col (TIME); > required int64 timestamp_col (TIMESTAMP); > required binary interval_col (UTF8); > required binary varchar_col (UTF8); > required float float_col; > required double double_col; > required boolean bool_col; > } > {code} > However ResultSetMetaData.isNullable returns true for these columns. > Let me know if you need anythig -- This message was sent by Atlassian JIRA (v6.3.4#6332)