Return-Path: X-Original-To: apmail-phoenix-dev-archive@minotaur.apache.org Delivered-To: apmail-phoenix-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 808A017E04 for ; Tue, 10 Mar 2015 18:19:22 +0000 (UTC) Received: (qmail 33004 invoked by uid 500); 10 Mar 2015 18:19:21 -0000 Delivered-To: apmail-phoenix-dev-archive@phoenix.apache.org Received: (qmail 32903 invoked by uid 500); 10 Mar 2015 18:19:21 -0000 Mailing-List: contact dev-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list dev@phoenix.apache.org Received: (qmail 32373 invoked by uid 99); 10 Mar 2015 18:19:20 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Mar 2015 18:19:20 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 62249E1862; Tue, 10 Mar 2015 18:19:20 +0000 (UTC) From: shuxiong To: dev@phoenix.apache.org Reply-To: dev@phoenix.apache.org Message-ID: Subject: [GitHub] phoenix pull request: PHOENIX-1715 Implement Build-in Math functio... Content-Type: text/plain Date: Tue, 10 Mar 2015 18:19:20 +0000 (UTC) GitHub user shuxiong opened a pull request: https://github.com/apache/phoenix/pull/45 PHOENIX-1715 Implement Build-in Math function sign 1. Add Build-in Math Function Sign 2. Add a new Type, PNumericType, which is superclass of all numeric type, such as PInteger, PFloat etc. PNumericType has method getSign 2.1 All integer types, PInteger, PLong etc., will compute sign result by checking the content bytes. 2.2 All float types, PFloat, PDouble etc, will construct objects and compare with zero, for their complex content bytes. I mistakenly close last pull request, sorry for that. Thanks. You can merge this pull request into a Git repository by running: $ git pull https://github.com/shuxiong/phoenix 4.3-shuxiong-gsoc Alternatively you can review and apply these changes as the patch at: https://github.com/apache/phoenix/pull/45.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #45 ---- commit 32089c5db6745aa710f579dcdae32b5fd2f03d51 Author: yesx Date: 2015-03-09T18:13:39Z PHOENIX-1715 Implement Build-in Math function sign commit 21f7aafd10fc3b6052fe14859918f3649b6b6de2 Author: yesx Date: 2015-03-10T15:28:59Z PHOENIX-1715 add PNumericType, being all Integer DataType superclass commit 4abe9c225754f1993eccb45094042c9e79016db6 Author: yesx Date: 2015-03-10T18:05:10Z PHOENIX-1715 add PNumericType, being all Float DataType superclass commit 92c7a3a869e22baf24a5a615bde69fca80698e6d Author: yesx Date: 2015-03-10T18:18:59Z code refinement ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---