Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1B8F51796A for ; Tue, 28 Oct 2014 15:40:35 +0000 (UTC) Received: (qmail 70463 invoked by uid 500); 28 Oct 2014 15:40:34 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 70427 invoked by uid 500); 28 Oct 2014 15:40:34 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 70411 invoked by uid 99); 28 Oct 2014 15:40:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Oct 2014 15:40:34 +0000 Date: Tue, 28 Oct 2014 15:40:34 +0000 (UTC) From: "Tyler Hobbs (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-8139) The WRITETIME function returns null for negative timestamp values 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/CASSANDRA-8139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14186975#comment-14186975 ] Tyler Hobbs commented on CASSANDRA-8139: ---------------------------------------- +1 > The WRITETIME function returns null for negative timestamp values > ----------------------------------------------------------------- > > Key: CASSANDRA-8139 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8139 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Richard Bremner > Assignee: Sylvain Lebresne > Priority: Minor > Fix For: 2.0.12 > > Attachments: 8139-2.1.txt, 8139.txt > > > Insert a column with a negative timestamp value: > {code} > INSERT INTO my_table (col1, col2, col3) > VALUES ('val1', 'val2', 'val3') > USING TIMESTAMP -1413614886750020; > {code} > Then attempt to read the *writetime*: > {code} > SELECT WRITETIME(col3) FROM my_table WHERE col1 = 'val1' > {code} > The result is *null*. -- This message was sent by Atlassian JIRA (v6.3.4#6332)