Skip to content

refactor: Migrate production code to ConnectorRegistry API and deprecate free functions (#16986)#16986

Closed
mbasmanova wants to merge 1 commit intofacebookincubator:mainfrom
mbasmanova:export-D98963405
Closed

refactor: Migrate production code to ConnectorRegistry API and deprecate free functions (#16986)#16986
mbasmanova wants to merge 1 commit intofacebookincubator:mainfrom
mbasmanova:export-D98963405

Conversation

@mbasmanova
Copy link
Copy Markdown
Contributor

@mbasmanova mbasmanova commented Mar 31, 2026

Summary:

Replace legacy free functions (registerConnector, unregisterConnector,
getConnector, hasConnector) with ConnectorRegistry methods in all
remaining velox/ production code: TableScan, TableWriter,
IndexLookupJoin, TraceReplayRunner, PyConnectors, and experimental
operators.

Mark the free functions [[deprecated]] to prevent new usages.

Reviewed By: jagill

Differential Revision: D98963405

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 31, 2026

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 8c6f030
🔍 Latest deploy log https://app.netlify.com/projects/meta-velox/deploys/69cfeada0a4f0d0008a9f512

@meta-cla meta-cla 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 Mar 31, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Mar 31, 2026

@mbasmanova has exported this pull request. If you are a Meta employee, you can view the originating Diff in D98963405.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 31, 2026

Build Impact Analysis

Full build recommended. Files outside the dependency graph changed:

  • velox/experimental/cudf/exec/OperatorAdapters.cpp
  • velox/experimental/wave/exec/TableScan.h
  • velox/experimental/wave/exec/WaveHiveDataSource.cpp

These directories are not fully covered by the dependency graph. A full build is the safest option.

cmake --build _build/release

Fast path • Graph from main@65800681f99ac53fe2cb3d5c121dd8ba611e385b

mbasmanova added a commit to mbasmanova/velox that referenced this pull request Mar 31, 2026
…ate free functions (facebookincubator#16986)

Summary:
Pull Request resolved: facebookincubator#16986

Replace legacy free functions (registerConnector, unregisterConnector,
getConnector, hasConnector) with ConnectorRegistry methods in all
remaining velox/ production code: TableScan, TableWriter,
IndexLookupJoin, TraceReplayRunner, PyConnectors, and experimental
operators.

Mark the free functions [[deprecated]] to prevent new usages.

Differential Revision: D98963405
@meta-codesync meta-codesync bot changed the title refactor: Migrate production code to ConnectorRegistry API and deprecate free functions refactor: Migrate production code to ConnectorRegistry API and deprecate free functions (#16986) Mar 31, 2026
mbasmanova added a commit to mbasmanova/velox that referenced this pull request Mar 31, 2026
…ate free functions (facebookincubator#16986)

Summary:
Pull Request resolved: facebookincubator#16986

Replace legacy free functions (registerConnector, unregisterConnector,
getConnector, hasConnector) with ConnectorRegistry methods in all
remaining velox/ production code: TableScan, TableWriter,
IndexLookupJoin, TraceReplayRunner, PyConnectors, and experimental
operators.

Mark the free functions [[deprecated]] to prevent new usages.

Differential Revision: D98963405
mbasmanova added a commit to mbasmanova/velox that referenced this pull request Apr 1, 2026
…ate free functions (facebookincubator#16986)

Summary:
Pull Request resolved: facebookincubator#16986

Replace legacy free functions (registerConnector, unregisterConnector,
getConnector, hasConnector) with ConnectorRegistry methods in all
remaining velox/ production code: TableScan, TableWriter,
IndexLookupJoin, TraceReplayRunner, PyConnectors, and experimental
operators.

Mark the free functions [[deprecated]] to prevent new usages.

Differential Revision: D98963405
@mbasmanova mbasmanova force-pushed the export-D98963405 branch 2 times, most recently from 9b85cb7 to 4a3dcf0 Compare April 1, 2026 09:17
mbasmanova added a commit to mbasmanova/velox that referenced this pull request Apr 1, 2026
…ate free functions (facebookincubator#16986)

Summary:
Pull Request resolved: facebookincubator#16986

Replace legacy free functions (registerConnector, unregisterConnector,
getConnector, hasConnector) with ConnectorRegistry methods in all
remaining velox/ production code: TableScan, TableWriter,
IndexLookupJoin, TraceReplayRunner, PyConnectors, and experimental
operators.

Mark the free functions [[deprecated]] to prevent new usages.

Differential Revision: D98963405
mbasmanova added a commit to mbasmanova/velox that referenced this pull request Apr 1, 2026
…ate free functions (facebookincubator#16986)

Summary:
Pull Request resolved: facebookincubator#16986

Replace legacy free functions (registerConnector, unregisterConnector,
getConnector, hasConnector) with ConnectorRegistry methods in all
remaining velox/ production code: TableScan, TableWriter,
IndexLookupJoin, TraceReplayRunner, PyConnectors, and experimental
operators.

Mark the free functions [[deprecated]] to prevent new usages.

Differential Revision: D98963405
Copy link
Copy Markdown
Contributor

@jagill jagill left a comment

Choose a reason for hiding this comment

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

Modulo lints, LGTM

mbasmanova added a commit to mbasmanova/velox that referenced this pull request Apr 2, 2026
…ate free functions (facebookincubator#16986)

Summary:
Pull Request resolved: facebookincubator#16986

Replace legacy free functions (registerConnector, unregisterConnector,
getConnector, hasConnector) with ConnectorRegistry methods in all
remaining velox/ production code: TableScan, TableWriter,
IndexLookupJoin, TraceReplayRunner, PyConnectors, and experimental
operators.

Mark the free functions [[deprecated]] to prevent new usages.

Reviewed By: jagill

Differential Revision: D98963405
mbasmanova added a commit to mbasmanova/velox that referenced this pull request Apr 2, 2026
…ate free functions (facebookincubator#16986)

Summary:
Pull Request resolved: facebookincubator#16986

Replace legacy free functions (registerConnector, unregisterConnector,
getConnector, hasConnector) with ConnectorRegistry methods in all
remaining velox/ production code: TableScan, TableWriter,
IndexLookupJoin, TraceReplayRunner, PyConnectors, and experimental
operators.

Mark the free functions [[deprecated]] to prevent new usages.

Reviewed By: jagill

Differential Revision: D98963405
mbasmanova added a commit to mbasmanova/velox that referenced this pull request Apr 2, 2026
…ate free functions (facebookincubator#16986)

Summary:
Pull Request resolved: facebookincubator#16986

Replace legacy free functions (registerConnector, unregisterConnector,
getConnector, hasConnector) with ConnectorRegistry methods in all
remaining velox/ production code: TableScan, TableWriter,
IndexLookupJoin, TraceReplayRunner, PyConnectors, and experimental
operators.

Mark the free functions [[deprecated]] to prevent new usages.

Reviewed By: jagill

Differential Revision: D98963405
mbasmanova added a commit to mbasmanova/velox that referenced this pull request Apr 2, 2026
…ate free functions (facebookincubator#16986)

Summary:
Pull Request resolved: facebookincubator#16986

Replace legacy free functions (registerConnector, unregisterConnector,
getConnector, hasConnector) with ConnectorRegistry methods in all
remaining velox/ production code: TableScan, TableWriter,
IndexLookupJoin, TraceReplayRunner, PyConnectors, and experimental
operators.

Mark the free functions [[deprecated]] to prevent new usages.

Reviewed By: jagill

Differential Revision: D98963405
mbasmanova added a commit to mbasmanova/velox that referenced this pull request Apr 2, 2026
…ate free functions (facebookincubator#16986)

Summary:
Pull Request resolved: facebookincubator#16986

Replace legacy free functions (registerConnector, unregisterConnector,
getConnector, hasConnector) with ConnectorRegistry methods in all
remaining velox/ production code: TableScan, TableWriter,
IndexLookupJoin, TraceReplayRunner, PyConnectors, and experimental
operators.

Mark the free functions [[deprecated]] to prevent new usages.

Reviewed By: jagill

Differential Revision: D98963405
@mbasmanova mbasmanova force-pushed the export-D98963405 branch 2 times, most recently from f98b381 to bd3cdb6 Compare April 3, 2026 09:16
mbasmanova added a commit to mbasmanova/velox that referenced this pull request Apr 3, 2026
…ate free functions (facebookincubator#16986)

Summary:
Pull Request resolved: facebookincubator#16986

Replace legacy free functions (registerConnector, unregisterConnector,
getConnector, hasConnector) with ConnectorRegistry methods in all
remaining velox/ production code: TableScan, TableWriter,
IndexLookupJoin, TraceReplayRunner, PyConnectors, and experimental
operators.

Mark the free functions [[deprecated]] to prevent new usages.

Reviewed By: jagill

Differential Revision: D98963405
mbasmanova added a commit to mbasmanova/velox that referenced this pull request Apr 3, 2026
…ate free functions (facebookincubator#16986)

Summary:
Pull Request resolved: facebookincubator#16986

Replace legacy free functions (registerConnector, unregisterConnector,
getConnector, hasConnector) with ConnectorRegistry methods in all
remaining velox/ production code: TableScan, TableWriter,
IndexLookupJoin, TraceReplayRunner, PyConnectors, and experimental
operators.

Mark the free functions [[deprecated]] to prevent new usages.

Reviewed By: jagill

Differential Revision: D98963405
mbasmanova added a commit to mbasmanova/velox that referenced this pull request Apr 3, 2026
…ate free functions (facebookincubator#16986)

Summary:

Replace legacy free functions (registerConnector, unregisterConnector,
getConnector, hasConnector) with ConnectorRegistry methods in all
remaining velox/ production code: TableScan, TableWriter,
IndexLookupJoin, TraceReplayRunner, PyConnectors, and experimental
operators.

Mark the free functions [[deprecated]] to prevent new usages.

Reviewed By: jagill

Differential Revision: D98963405
…ate free functions (facebookincubator#16986)

Summary:

Replace legacy free functions (registerConnector, unregisterConnector,
getConnector, hasConnector) with ConnectorRegistry methods in all
remaining velox/ production code: TableScan, TableWriter,
IndexLookupJoin, TraceReplayRunner, PyConnectors, and experimental
operators.

Mark the free functions [[deprecated]] to prevent new usages.

Reviewed By: jagill

Differential Revision: D98963405
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Apr 3, 2026

This pull request has been merged in 3385988.

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 Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants