Skip to content

Support string literals in EventSet ordering comparisons#441

Open
kiwigitops wants to merge 1 commit into
google:mainfrom
kiwigitops:fix-string-relational-scalars
Open

Support string literals in EventSet ordering comparisons#441
kiwigitops wants to merge 1 commit into
google:mainfrom
kiwigitops:fix-string-relational-scalars

Conversation

@kiwigitops

Copy link
Copy Markdown

Summary

  • allow EventSet ordering magic methods to route string scalar values to the existing scalar comparison operators
  • add regression coverage for <, <=, >, and >= against string literals

Closes #369.

Testing

  • python -m pytest temporian/core/operators/test/test_relational_scalar.py
  • python -m compileall -q temporian/core/event_set_ops.py temporian/core/operators/test/test_relational_scalar.py
  • git diff --check HEAD~1..HEAD

@kiwigitops

Copy link
Copy Markdown
Author

Quick bump here. The string literal ordering comparisons are still current, and the relational scalar coverage is included. Happy to adjust if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extend EventSet's >, <, >=, <= to work with string literals

1 participant