Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-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 B2E24C99B for ; Wed, 17 Dec 2014 17:27:14 +0000 (UTC) Received: (qmail 59951 invoked by uid 500); 17 Dec 2014 17:27:14 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 59877 invoked by uid 500); 17 Dec 2014 17:27:14 -0000 Mailing-List: contact dev-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 dev@hive.apache.org Received: (qmail 59864 invoked by uid 500); 17 Dec 2014 17:27:14 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 59861 invoked by uid 99); 17 Dec 2014 17:27:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2014 17:27:14 +0000 Date: Wed, 17 Dec 2014 17:27:14 +0000 (UTC) From: "Sergey Shelukhin (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-9074) add ability to force direct sql usage for perf reasons 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/HIVE-9074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14250161#comment-14250161 ] Sergey Shelukhin commented on HIVE-9074: ---------------------------------------- [~ashutoshc] can you review? Thanks > add ability to force direct sql usage for perf reasons > ------------------------------------------------------ > > Key: HIVE-9074 > URL: https://issues.apache.org/jira/browse/HIVE-9074 > Project: Hive > Issue Type: Bug > Reporter: Sergey Shelukhin > Attachments: HIVE-9074.patch > > > Some people run direct SQL and hit failures (e.g. due to Oracle 1000-in-expressions stupidity, illegal cast "optimization" in Derby and Oracle, or some other Hive and DB bugs). Currently, it falls back to ORM for such cases, however that can have huge impact on perf, and some people would rather have it fail so they can see the problem. > In addition to "off" and "on+fallback" modes, "on or fail" mode needs to be added. The default will remain the same. -- This message was sent by Atlassian JIRA (v6.3.4#6332)