-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ORA-803] Add dw-connector for Nitro-Trino intergration #311
base: main
Are you sure you want to change the base?
Conversation
A change to documentation files was detected in your PR. Please visit this link to preview changes: https://portal-staging.powerapp.cloud/docs?filters[kind]=all&filters[user]=all&filters[namespaceFilter]=ora-dw-connector |
packages/dw-connector/lib/dw-connector/adapters/trino_repository.rb
Outdated
Show resolved
Hide resolved
Co-authored-by: Garett Arrowood <[email protected]>
@xjunior Could you please review it again? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Overview
A new Ruby gem ("dw_connector") is being introduced to standardize querying across data warehouse engines with built‐in support for Trino and an extensible adapter system.
- Added build, test, lint, and release tasks in the Rakefile
- Implemented the Trino adapter and updated the RepositoryFactory to register and create adapters
- Included comprehensive tests and documentation updates for the connector
Reviewed Changes
File | Description |
---|---|
packages/dw_connector/Rakefile | Added tasks for spec, rubocop, and gem release procedures |
packages/dw_connector/Gemfile | Defined development and test dependencies for the connector |
packages/dw_connector/spec/** | Added tests for repository functions and adapter behavior |
packages/dw_connector/docs/** | Updated documentation and contributing guidelines |
packages/dw_connector/lib/dw_connector/adapters/trino_repository.rb | Introduced the Trino adapter with query execution and pagination handling |
packages/dw_connector/lib/dw_connector/repository_factory.rb | Defined dynamic adapter registration and instantiation |
packages/dw_connector/lib/dw_connector/data_warehouse_repository.rb | Added default transformation options and methods for query response transformation |
packages/dw_connector/lib/dw_connector.rb | Condensed setup by requiring necessary files and registering the default adapter |
packages/dw_connector/lib/dw_connector/version.rb | Set the gem version |
Copilot reviewed 23 out of 23 changed files in this pull request and generated 1 comment.
Runway story
A flexible Ruby data warehouse connector library that provides a standardized interface for querying different data warehouse engines. Currently supports Trino with an extensible architecture for adding other engines.
Features