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 D8F019FB8 for ; Tue, 1 May 2012 19:59:13 +0000 (UTC) Received: (qmail 48671 invoked by uid 500); 1 May 2012 19:59:13 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 48634 invoked by uid 500); 1 May 2012 19:59:13 -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 48593 invoked by uid 99); 1 May 2012 19:59:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 May 2012 19:59:13 +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; Tue, 01 May 2012 19:59:11 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 23F9042A0E6 for ; Tue, 1 May 2012 19:58:50 +0000 (UTC) Date: Tue, 1 May 2012 19:58:50 +0000 (UTC) From: "Brandon Williams (JIRA)" To: commits@cassandra.apache.org Message-ID: <1842270213.14239.1335902330148.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1142081906.11766.1335831711958.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-4204) Pig does not work on DateType 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-4204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13266014#comment-13266014 ] Brandon Williams commented on CASSANDRA-4204: --------------------------------------------- Just noticed we're actually returning a byte array here, so I changed this to a long in 2b7672fa11efa6e8c3c5cbc6fa857b3bc8947092 > Pig does not work on DateType > ----------------------------- > > Key: CASSANDRA-4204 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4204 > Project: Cassandra > Issue Type: Bug > Reporter: Jackson Chung > Assignee: Brandon Williams > Fix For: 1.0.10 > > Attachments: 4204.txt, pig_1335816404547.log > > > cqlsh:PigDemo> describe columnfamily test1897; > CREATE COLUMNFAMILY test1897 ( > KEY text PRIMARY KEY, > testcol timestamp > ) WITH > comment='' AND > comparator=text AND > row_cache_provider='SerializingCacheProvider' AND > key_cache_size=200000.000000 AND > row_cache_size=0.000000 AND > read_repair_chance=1.000000 AND > gc_grace_seconds=864000 AND > default_validation=blob AND > min_compaction_threshold=4 AND > max_compaction_threshold=32 AND > row_cache_save_period_in_seconds=0 AND > key_cache_save_period_in_seconds=14400 AND > replicate_on_write=True; > cqlsh:PigDemo> select * from test1897; > KEY | testcol > -----+------------------------- > akey | 2012-01-21 00:14:12+0000 > $ cat test1897.pig > cassandra_data = LOAD 'cassandra://PigDemo/test1897' USING CassandraStorage() AS (name, columns: bag {T: tuple()}); > dump cassandra_data; > there seems problem with the DateType. the above simple pig script fail with the attached err -- 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