Skip to content

Conversation

@david-mamani
Copy link
Contributor

@david-mamani david-mamani commented Jan 13, 2026

Hackathon Track

Track D: External Tool / Database Integration (3 Points)

Description

Implemented Microsoft SQL Server (MSSQL) support as a memory storage backend for MemU using the mssql+pyodbc driver.

Key Changes

  • Added mssql provider to DatabaseConfig and factory logic.
  • Created dedicated SQLModel definitions for MSSQL to ensure dialect independence.
  • Implemented automatic JSON serialization for embedding vectors to handle SQL Server compatibility.
  • Added lazy-loading for pyodbc dependencies with descriptive error handling.

Testing & Quality

  • Validated via tests/test_mssql_mock.py using Bunker Mode for isolated database testing.
  • Verified schema creation and resource persistence (create_resource).
  • Full setup documentation added in docs/mssql_integration.md.

Checklist

  • Code follows PEP 8/Ruff standards.
  • Unit tests passed.
  • Documentation added.

Resolves #164

@david-mamani david-mamani force-pushed the feat/mssql-integration branch from 5a24070 to eae805c Compare January 13, 2026 05:27
@david-mamani david-mamani force-pushed the feat/mssql-integration branch from eae805c to e38594c Compare January 13, 2026 05:36
@Jununn
Copy link
Contributor

Jununn commented Jan 13, 2026

Hi, the build for this PR is not passing yet. Please make the necessary updates, and we’ll review again after that. Thanks! @david-mamani

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.

[2026NewYearChallenge]Database Integration——MSSQL

2 participants