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 96D9C90CB for ; Mon, 23 Jan 2012 09:13:15 +0000 (UTC) Received: (qmail 35685 invoked by uid 500); 23 Jan 2012 09:13:14 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 35503 invoked by uid 500); 23 Jan 2012 09:13:04 -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 35494 invoked by uid 99); 23 Jan 2012 09:13:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2012 09:13:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2012 09:12:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6EBA915D3A4 for ; Mon, 23 Jan 2012 09:12:38 +0000 (UTC) Date: Mon, 23 Jan 2012 09:12:38 +0000 (UTC) From: "Jawahar Prasad JP (Created) (JIRA)" To: commits@cassandra.apache.org Message-ID: <523682024.65835.1327309958455.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (CASSANDRA-3770) Timestamp datatype in CQL gets weird value? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Timestamp datatype in CQL gets weird value? ------------------------------------------- Key: CASSANDRA-3770 URL: https://issues.apache.org/jira/browse/CASSANDRA-3770 Project: Cassandra Issue Type: Bug Environment: MacOS, Java Reporter: Jawahar Prasad JP Hi.. I have created a columnfamily through CQL, having datatype as timestamp, I generate timestamp like this in Java: System.currentTimeMillis() (or) System.currentTimeMillis()*1000 When I see the output through CQL, I get the data like below: 1.32725062505e+12 Also, I am not able to use any operators against this (like > '01 January 2012' etc.,), I get the below error: No indexed columns present in by-columns clause with "equals" operator But, I have created an index for the timestamp column. Any help ? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira