Skip to content

ValueError due to Incorrect Date-Time Formatting #3

@LOGITH2003

Description

@LOGITH2003

image

encountered a "ValueError" due to improper date-time formatting while running the "kafka_data_stream" job in the "kafka_spark_dag" DAG. The error occurs in the "get_all_data" function when attempting to parse a timestamp using the format string %Y-%m-%d. The timestamp (T17:18:27+00:00) includes additional time and timezone information that the format string does not account for. This mismatch causes the error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions