Skip to content

[Tables] Better support for Entity de/serialization #26318

Open
@YalinLi0312

Description

@YalinLi0312

This is an umbrella issue to resolve issues in serialization and deserialization.

We have some customer issues about serialization:

Besides that, we should:

We also have a customer issue about deserialization:

After these sub issues are resolved, we should:

  • Clean up serialize.py and deserialize.py.

Here are some thoughts about current Entity implementations:

  • Comparing with other languages, Python doesn't have a concrete definition of Entity. This will cause a potential problem that the same entity can be used in Python but not in other languages. We should make Entity compatible with other languages after.
  • The current way that we define EntityProperty is not easy to understand.
    EntityProperty = NamedTuple("EntityProperty", [("value", Any), ("edm_type", Union[str, EdmType])])

    For example, there's a customer issue complaining about better support for int64 in serialization layer.

Some resources:

Metadata

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.Tablesauto-close-exemptPrevents the auto-close from closing based on max lifetimefeature-requestThis issue requires a new behavior in the product in order be resolved.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions