Skip to content

[Feature Request]: Support for efficient serialization of more built-in types #38549

@mattalbr

Description

@mattalbr

What would you like to happen?

Some very commonly used builtin types fallback to picklecoder right now, namely:
frozenset
datetime.datetime
datetime.date

It would be great to handle these specifically in FastPrimitivesCoder. I'm happy to contribute the code if the idea is OKed.

Also, if PEP 814 finds its way into python 3.15, it would be great to support frozendict as well. How does Beam generally handle something like that with a new python version?

Issue Priority

Priority: 2 (default / most feature requests should be filed as P2)

Issue Components

  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • Component: Beam YAML
  • Component: Beam examples
  • Component: Beam playground
  • Component: Beam katas
  • Component: Website
  • Component: Infrastructure
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Prism Runner
  • Component: Twister2 Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions