Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-3973

Pig CounterColumnFamily support

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 1.0.9, 1.1.0
    • Component/s: None
    • Labels:
    • Environment:

      OSX 10.6.latest, Pig 0.9.2

    • Severity:
      Normal

      Description

      Included a patch to the current test script to demonstrate that CassandraStorage does not support counter columns, as well as a patch to fix the issue.

      The core reason is that CassandraStorage assumes that counters can be unpacked using CounterColumnType, when in fact the column value is already a Long.

        Attachments

        1. testpatch.txt
          1 kB
          Janne Jalkanen
        2. cassandrastorage.txt
          1 kB
          Janne Jalkanen
        3. 3973-v2.txt
          0.8 kB
          Brandon Williams
        4. v3.txt
          2 kB
          Janne Jalkanen

          Activity

            People

            • Assignee:
              jalkanen Janne Jalkanen
              Reporter:
              jalkanen Janne Jalkanen
              Authors:
              Janne Jalkanen
              Reviewers:
              Brandon Williams
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: