Skip to content

Conversation

lukaszkolodziejczyk
Copy link
Contributor

No description provided.

@lukaszkolodziejczyk lukaszkolodziejczyk changed the title feat: AI Smart Select feat: FK Models Oct 2, 2025
lukaszkolodziejczyk and others added 14 commits October 2, 2025 21:38
…management

- Add PartitionedDataset class with LRU caching and fast metadata reading
- Refactor step_finalize_generation.py to use unified processing pipeline
- Implement sequential parent cache clearing after each FK relationship
- Add comprehensive test coverage for PartitionedDataset (22 tests)
- Maintain backward compatibility for both FK and non-FK processing
- Optimize memory usage through batch processing and cache management
- Fix test compatibility with new partitioned data processing

Key improvements:
- Addresses quadratic complexity in FK matching through efficient sampling
- Memory-bounded processing with configurable LRU cache (default: 3 partitions)
- Fast row counting using PyArrow parquet metadata
- Sequential cache clearing prevents memory accumulation during FK processing

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Support max_cached_partitions=-1 to keep all partitions in memory
without LRU eviction. This enables optimal performance for scenarios
where memory usage is not a constraint.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
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.

2 participants