Skip to content

Conversation

@ghukill
Copy link
Contributor

@ghukill ghukill commented Aug 15, 2025

Purpose and background context

This PR updates TIM to use the new TDA v3.0 release.

Updates include:

  • Remove any TIMDEXDataset.load() calls
  • Where applicable, move read filtering into read methods (instead of deprecated .load())
  • Change .load(current_records=True) to read_*(table="current_records")

NOTE: this PR has a lot of lines of code changing. 99% of this is adding a run_timestamp column to the fixture data, which was overlooked in previous migration work.

The important changes are in cli.py and test_cli.py.

How can a reviewer manually see the effects of these changes?

Successful StepFunction run in Dev.

For the indexing work, TIM used an updated format to stream transformed records via TDA.

Includes new or updated dependencies?

YES

Changes expectations for external applications?

NO

What are the relevant tickets?

Why these changes are being introduced:

With recent TDA updates, we no longer requiring .load() called
on TIMDEXDataset.  This moves some filtering into the read methods.

How this addresses that need:
* Remove .load() usage for TIMDEXDataset
* Update read methods
* Update dataset fixture to reflect new structure

Side effects of this change:
* None

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/TIMX-536
@ghukill ghukill marked this pull request as ready for review August 15, 2025 18:28
@ghukill ghukill requested a review from a team August 15, 2025 18:28
Copy link
Contributor

@ehanson8 ehanson8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome to see how this streamlines the whole workflow!

@ghukill ghukill changed the title TIMX 536 537 - Update TIM for TDA v3.0 release TIMX 536 537 - Update TIM for TDA v3 Aug 15, 2025
@ghukill ghukill merged commit d73f0fc into main Aug 15, 2025
3 checks passed
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.

3 participants