Skip to content
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

feat(python): Register TPC-H connector #12318

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pedroerp
Copy link
Contributor

Summary:
Enable PyVelox users to register TPC-H connector. Also refactoring the
connector register/unregister methods to a separate compilation unit.

Differential Revision: D69604556

Summary:
Enable PyVelox users to register TPC-H connector. Also refactoring the
connector register/unregister methods to a separate compilation unit.

Differential Revision: D69604556
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 13, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D69604556

Copy link

netlify bot commented Feb 13, 2025

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit a547bb9
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/67ae38f330f207000865e94d


void registerHive(const std::string& connectorId) {
connector::registerConnectorFactory(
std::make_shared<connector::hive::HiveConnectorFactory>(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

at least for these two connectors, looks like the only difference we have currently in implementation is the connector factory? If we see this will be a pattern, can we templatize this so we can reuse?

Copy link
Contributor

@kKPulla kKPulla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm, one minor comment about code duplication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants