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

fix(ingest): databricks - ingest structs correctly through hive #5223

Merged

Conversation

shirshanka
Copy link
Contributor

The default dbapi implementation doesn't pass through struct types.
This PR patches that function to pass it through.

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
  • For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@shirshanka shirshanka requested a review from mayurinehate June 22, 2022 07:02
@github-actions
Copy link

Unit Test Results (metadata ingestion)

       8 files  ±0         8 suites  ±0   1h 16m 58s ⏱️ -13s
   576 tests ±0     573 ✔️ ±0    3 💤 ±0  0 ±0 
1 090 runs  ±0  1 047 ✔️ ±0  43 💤 ±0  0 ±0 

Results for commit b7cc308. ± Comparison against base commit 82ca92f.

@github-actions
Copy link

Unit Test Results (build & test)

385 tests  ±0   385 ✔️ ±0   10m 48s ⏱️ +37s
  91 suites ±0       0 💤 ±0 
  91 files   ±0       0 ±0 

Results for commit b7cc308. ± Comparison against base commit 82ca92f.

pass
except Exception as e:
logger.warning(f"Failed to patch method due to {e}")
pass
Copy link
Collaborator

Choose a reason for hiding this comment

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

No need of pass here. Everything else looks good to me.

Copy link
Collaborator

@anshbansal anshbansal left a comment

Choose a reason for hiding this comment

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

LGTM

@shirshanka shirshanka merged commit 141f335 into datahub-project:master Jun 22, 2022
@shirshanka
Copy link
Contributor Author

fixes #5194

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.

3 participants