Skip to content

py: DataFrames with Timestamp columns fail in connect_source_pandas #1840

@abhizer

Description

@abhizer

DataFrames that have Timestamp / Date columns raise an exception in connect_source_pandas.

This is because these types aren't JSON serializable in python and raise the following error:

TypeError: Object of type Timestamp is not JSON serializable

One way to solve this is to cast such types to str using df["col"].astype(str).

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpython-sdkIssues related to the feldera python sdk

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions