Skip to content

Sagark/optimizations#643

Draft
sagarswamirao wants to merge 4 commits intomainfrom
sagark/optimizations
Draft

Sagark/optimizations#643
sagarswamirao wants to merge 4 commits intomainfrom
sagark/optimizations

Conversation

@sagarswamirao
Copy link
Copy Markdown
Collaborator

No description provided.

- Enhanced the `testConnectionConfig` function to handle DuckLake connections using an in-memory DuckDB instance, improving testing efficiency without creating persistent files.
- Added error handling for missing DuckLake connection configurations.
- Streamlined the connection testing process for DuckDB and other connection types, ensuring clearer error messages and improved maintainability.
- Removed unnecessary cleanup for DuckLake files during testing.

These changes improve the robustness and clarity of the connection testing functionality.

Signed-off-by: Sagar Swami Rao Kulkarni <sagarswamirao@gmail.com>
- Optimized the `getSchemasForConnection` function to reduce API calls by directly returning dataset information without fetching metadata, improving performance.
- Enhanced the `Model` class to defer source info extraction until explicitly requested, reducing initial load times and improving memory management.
- Updated the `Package` class to utilize a shared DuckDB connection for database info retrieval, minimizing redundant connections and improving efficiency.
- Improved error handling in the `ProjectStore` class to provide clearer messages and ensure proper resource cleanup during initialization failures.

These changes enhance performance, maintainability, and error handling across the database and model management functionalities.

Signed-off-by: Sagar Swami Rao Kulkarni <sagarswamirao@gmail.com>
- Simplified the schema mapping logic by replacing asynchronous metadata retrieval with a synchronous mapping, improving performance and readability.
- Removed unnecessary error logging related to DuckLake connection parameters in listTablesForSchema function.

These changes enhance the efficiency of schema handling and clean up the codebase.

Signed-off-by: Sagar Swami Rao Kulkarni <sagarswamirao@gmail.com>
…publisher into sagark/optimizations

Signed-off-by: Sagar Swami Rao Kulkarni <sagarswamirao@gmail.com>
@sagarswamirao sagarswamirao marked this pull request as draft March 16, 2026 21:45
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.

1 participant