Skip to content

Add properties to a collection #3957

@Waffleboy

Description

@Waffleboy

Is your feature request related to a problem? Please describe.
If theres any information that applies table-wide, theres currently no way to add it in unless we add it as a metadata to every row. This causes space wastage

Describe the solution you'd like
Ability to add any properties to the table. eg,

collection = client.get_collection("example_tablename")
print(collection.properties) # --> gives dictionary of properties. default {}

collection.set_property("main_column", "column a") --> sets it in property

print(collection.properties) # --> {"main_column":"column a"}

Describe alternatives you've considered
Currently adding as a column metadata instead (so every row has a static value)

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions