Skip to content

[FEATURE]: Add Switch transpiler CLI integration and testing #2047

@hiroyukinakazato-db

Description

@hiroyukinakazato-db

Is there an existing issue for this?

  • I have searched the existing issues

Category of feature request

Transpiler

Problem statement

Users need to be able to use Switch transpiler through the existing Lakebridge CLI. Switch is an LLM-powered transpiler that runs as Databricks Jobs, but there's no CLI integration to make it accessible to users.

Proposed Solution

Add Switch CLI integration:

  • Add SwitchTranspilerHandler class for CLI routing
  • Integrate with existing lakebridge transpile command
  • Support both sync and async job execution
  • Add parameter mapping from CLI to Switch job parameters
  • Include comprehensive testing (unit and E2E tests)
  • Add sample test resources for different source formats

Additional Context

Depends on Switch installation infrastructure being merged first. Provides complete Switch functionality for end users through familiar CLI interface.

Metadata

Metadata

Labels

feat/cliactions that are visible to the userswitch

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions