From issues-return-182204-archive-asf-public=cust-asf.ponee.io@hive.apache.org Sat Mar 14 01:25:02 2020 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 8B4BB18062C for ; Sat, 14 Mar 2020 02:25:02 +0100 (CET) Received: (qmail 51917 invoked by uid 500); 14 Mar 2020 01:25:01 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 51908 invoked by uid 99); 14 Mar 2020 01:25: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; Sat, 14 Mar 2020 01:25:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 2B3D0E0F34 for ; Sat, 14 Mar 2020 01:25:01 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 430427804C9 for ; Sat, 14 Mar 2020 01:25:00 +0000 (UTC) Date: Sat, 14 Mar 2020 01:25:00 +0000 (UTC) From: "Hive QA (Jira)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-23005) Consider Default JDBC Fetch Size From HS2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-23005?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1705= 9144#comment-17059144 ]=20 Hive QA commented on HIVE-23005: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12996655/HIVE-23005.5.patc= h {color:green}SUCCESS:{color} +1 due to 2 test(s) being added or modified. {color:green}SUCCESS:{color} +1 due to 18101 tests passed Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/21107/test= Report Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/21107/co= nsole Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-21107/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.YetusPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase {noformat} This message is automatically generated. ATTACHMENT ID: 12996655 - PreCommit-HIVE-Build > Consider Default JDBC Fetch Size From HS2 > ----------------------------------------- > > Key: HIVE-23005 > URL: https://issues.apache.org/jira/browse/HIVE-23005 > Project: Hive > Issue Type: Sub-task > Components: JDBC > Reporter: David Mollitor > Assignee: David Mollitor > Priority: Major > Attachments: HIVE-23005.1.patch, HIVE-23005.2.patch, HIVE-23005.3= .patch, HIVE-23005.4.patch, HIVE-23005.5.patch > > > # Create two fetch sizes: and "init" fetch size and a "default" fetch siz= e. The "init" fetch size comes from the JDBC connection string=C2=A0_fetchS= ize_=C2=A0(if present) and the "default" fetch size comes from _HIVE_SERVER= 2_THRIFT_RESULTSET_DEFAULT_FETCH_SIZE_ the server response to the open sess= ion request. > # When a {{Statement}} is created, its starting fetch size is the "init"= fetch size (may be 0) > # Manually setting the fetch size on the {{Statement}} to 0, sets the fe= tch size to be the server default > Setting to zero defaults to the server's instructed default and adheres t= o:=20 > bq. If the value specified is zero, then the hint is ignored. The default= value is zero. > That is to say, if the fetch size is 0, the default from the server is us= ed, otherwise the user can pass a 'hint' and that will be the number of row= s fetched instead. > https://docs.oracle.com/javase/8/docs/api/java/sql/Statement.html#setFetc= hSize-int- -- This message was sent by Atlassian Jira (v8.3.4#803005)