Skip to content

SEA parameters fix: pass params as ttypes.TSparkParameter to re-use existing parameter processing #612

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

Open
wants to merge 3 commits into
base: sea-migration
Choose a base branch
from

Conversation

varun-edachali-dbx
Copy link
Collaborator

What type of PR is this?

  • Bug Fix

Description

Earlier, execute_command in SeaDatabricksClient was expecting a List[Dict[str, Any]], with the intention of implementing parameter processing later and converting them into a simple List[Dict] to be consumed by the SEA backend.

But, this does not align with the current code which passes a List[ttypes.TSparkParameter]. Also, re-using this Thrift parameter object allows us to re-use the existing parameter processing completely.

How is this tested?

  • Unit tests
  • E2E Tests
  • Manually - running related e2e tests after setting "use_sea": True in the connection params
  • N/A

Related Tickets & Documents

N/A

Signed-off-by: varun-edachali-dbx <[email protected]>
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