Skip to content

Conversation

@drmingdrmer
Copy link
Member

@drmingdrmer drmingdrmer commented Aug 31, 2025

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

refactor(schema-api): extract DatabaseApi trait from SchemaApi

Extract database operations into a separate trait following single
responsibility principle. This creates cleaner separation between
database and table operations.

  • Create DatabaseApi trait with 9 database operations
  • Add database_util module for database-specific utilities

Tests

  • Unit Test
  • Logic Test
  • Benchmark Test
  • No Test - Explain why

Type of change

  • Other

Related Issues


This change is Reviewable

Extract database operations into a separate trait following single
responsibility principle. This creates cleaner separation between
database and table operations.

- Create DatabaseApi trait with 9 database operations
- Add database_util module for database-specific utilities
@github-actions github-actions bot added the pr-refactor this PR changes the code base without new features or bugfix label Aug 31, 2025
@drmingdrmer drmingdrmer marked this pull request as ready for review August 31, 2025 04:15
@drmingdrmer drmingdrmer requested a review from TCeason August 31, 2025 04:15
@drmingdrmer drmingdrmer merged commit a3bce5a into databendlabs:main Aug 31, 2025
92 checks passed
@drmingdrmer drmingdrmer deleted the extract-database-api branch August 31, 2025 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-refactor this PR changes the code base without new features or bugfix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant