Return-Path: X-Original-To: apmail-spark-issues-archive@minotaur.apache.org Delivered-To: apmail-spark-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 D80F7181E6 for ; Tue, 29 Dec 2015 08:45:49 +0000 (UTC) Received: (qmail 77622 invoked by uid 500); 29 Dec 2015 08:45:49 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 77580 invoked by uid 500); 29 Dec 2015 08:45:49 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 77566 invoked by uid 99); 29 Dec 2015 08:45:49 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Dec 2015 08:45:49 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9C3012C1F54 for ; Tue, 29 Dec 2015 08:45:49 +0000 (UTC) Date: Tue, 29 Dec 2015 08:45:49 +0000 (UTC) From: "Huaxin Gao (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SPARK-12506) Push down WHERE clause arithmetic operator to JDBC layer 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/SPARK-12506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15073653#comment-15073653 ] Huaxin Gao commented on SPARK-12506: ------------------------------------ Thanks for the comments. Yes, I changed the code at DataSourceStrategy, but the change is independent to the Cast in 9182. > Push down WHERE clause arithmetic operator to JDBC layer > -------------------------------------------------------- > > Key: SPARK-12506 > URL: https://issues.apache.org/jira/browse/SPARK-12506 > Project: Spark > Issue Type: Improvement > Components: SQL > Reporter: Huaxin Gao > Assignee: Apache Spark > > For arithmetic operator in WHERE clause such as > select * from table where c1 + c2 > 10 > Currently where c1 + c2 >10 is done at spark layer. > Will push this to JDBC layer so it will be done in database. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org