Skip to content

Feature: support creating elastic tables in tables.create() (table_type parameter) #212

Open

Description

@ranjith7022

client.tables.create() has no way to set EntityMetadata.TableType. _create_entity builds a fixed payload with OwnershipType: UserOwned, so only Standard tables can be created.

Proposal

  • Add table_type: Literal["Standard","Elastic"] = "Standard" to tables.create() (sync and async), mapped to "TableType" in the payload.
  • After creation, verify the result and raise or warn if the server returns a different type (we observed a silent downgrade to Standard).
  • Optionally, add_columns could support the "json" string format for elastic tables.

Related: PR #41 (DeleteMultiple for elastic tables, deferred).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions