Skip to content

Enforce Empty List, Set, Map on Table Rows in  #78

@clun

Description

@clun

The intrinsic "ambiguity" down at the Cassandra level, paired with the Data API omitting nulls, made it possible for clients to decide how to resolve this ambiguity, and we thought it more convenient to reconstruct these types as empty lists/sets/maps (which does not contradict the nulls from DB, yet is more consistent with the column type)

  • Given a row return from the DB,``
  • If the return value is NULL
  • but the type describe in the schema told it is a list, set or map
  • populate the attribute with an empty list

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions