Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
631 B
3
Indexable
Never
from cassandra.cqlengine import columns
from cassandra.cqlengine.models import Model

class HosCartDetails(Model):
    __keyspace__ = 'hobs_ods_staging'

    hoscd_event_date = columns.Date(primary_key=True)
    hoscd_businessid = columns.Text(primary_key=True)
    hoscd_key = columns.Text(primary_key=True)
    hoscd_buid = columns.Text()
    hoscd_createdtime = columns.DateTime()
    hoscd_opid = columns.Text()
    hoscd_status = columns.Text()
    hoscd_type = columns.Text()
    hoscd_updatedtime = columns.DateTime()
    hoscd_username = columns.Text()
    hoscd_value = columns.Blob()
    hoscd_valuetype = columns.Text()