Skip to content

polars 1.36 breaks tests/test_validate.py::test_polars_datetime_non_midnight_conversion #336

@MarcoGorelli

Description

@MarcoGorelli

This changes

pointblank/pointblank/validate.py

Lines 18044 to 18045 in 32657ce

# Try to extract the literal value from various Polars expression patterns
segment_str = str(segment)

segment_str:

  • before: "2016-01-04 00:00:01 UTC.strict_cast(Datetime('μs'))"
  • after: '2016-01-04 00:00:01'

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