Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2C8D0200BB1 for ; Thu, 3 Nov 2016 23:03:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2B39D160AFF; Thu, 3 Nov 2016 22:03:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6BCBD160AE5 for ; Thu, 3 Nov 2016 23:02:59 +0100 (CET) Received: (qmail 51922 invoked by uid 500); 3 Nov 2016 22:02:58 -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 51911 invoked by uid 99); 3 Nov 2016 22:02:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2016 22:02:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 53F6A2C0057 for ; Thu, 3 Nov 2016 22:02:58 +0000 (UTC) Date: Thu, 3 Nov 2016 22:02:58 +0000 (UTC) From: "Eric Lomore (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (PHOENIX-3440) Calcite doesn't allow numbers to be subtracted from dates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 03 Nov 2016 22:03:00 -0000 Eric Lomore created PHOENIX-3440: ------------------------------------ Summary: Calcite doesn't allow numbers to be subtracted from dates Key: PHOENIX-3440 URL: https://issues.apache.org/jira/browse/PHOENIX-3440 Project: Phoenix Issue Type: Sub-task Reporter: Eric Lomore Priority: Minor This popped up just today in the Calcite mailing list, and I noticed some test failures in Phoenix due to it. testDateSubtractExpressionMetaData1 testDateSubtractExpressionMetaData1 testDateSubtractExpressionMetaData1 These tests fail due to the difference in support. Summary of the exception: {code} Caused by: org.apache.calcite.sql.validate.SqlValidatorException: Cannot apply '-' to arguments of type ' - '. Supported form(s): ' - ' ' - ' ' - ' {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)