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

[Analytics] Invalid mapping when timestamp is used as a partition key during bulk writes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • NA
    • Analytics Library
    • None

    Description

      When Cassandra has a table with a schema that includes a timestamp PK, i.e CREATE TABLE (a timestamp, b text, c text, PRIMARY KEY (a)), bulk writer maps the timestamp to a LongType. This causes the bulk writer job to produce a class cast exception when building the composite key during repartition and sorting of data in the spark job

      Attachments

        Issue Links

          Activity

            People

              frankgh Francisco Guerrero
              frankgh Francisco Guerrero
              Francisco Guerrero
              Francisco Guerrero, Yifan Cai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h