-
Notifications
You must be signed in to change notification settings - Fork 3.2k
refactor(ingestion): looker source migration to use SDKv2 entities #14693
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
Merged
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
7096abb
Updated goldens mce -> mcp
askumar27 a46abaa
Migrated to SDKv2, converted to emit only MCPs, bug fix in golden data
askumar27 56d95bf
Updated golden
askumar27 178facc
process_dashboard refactored
askumar27 24fd277
Refactored emitting independent looks
askumar27 7089332
Refactored extract_independent_looks
askumar27 9154655
Refactored chart uniqueness check in LookerDashboardSource to use a s…
askumar27 2610a6c
Updated golden to remove browsepaths no longer emitted in SDKv2, char…
askumar27 6f5916a
Updated golden test for Looker to reflect changes in aspect names and…
askumar27 ec3c50a
Updated golden to remove browsepaths no longer emitted in SDKv2, char…
askumar27 65a942d
Updated golden to remove browsepaths no longer emitted in SDKv2, char…
askumar27 19dc9c5
Updated golden to remove browsepaths no longer emitted in SDKv2, char…
askumar27 82b6f31
Removed redundant check for dashboard patterns
askumar27 f4aed0a
Bug fix in mocking, updated golden to remove browsepaths no longer em…
askumar27 fa918ce
Refactored chart uniqueness check in LookerDashboardSource to utilize…
askumar27 affec1f
Updated golden file and test mocks
askumar27 016431c
Updated test_looker_ingest_stateful test and golden files
askumar27 96264dc
Updates golden for test_independent_looks_ingest_with_personal_folder
askumar27 fc22150
Updated goldens for test_independent_looks_ingest_without_personal_fo…
askumar27 ec498ed
Updated test_file_path_in_view_naming_pattern to mock users and goldens
askumar27 4209ffc
Updates test_looker_ingest_multi_model_explores test goldens and adde…
askumar27 233ec87
Updated test_folder_path_pattern test goldens and mock data
askumar27 d5cc292
Updated test_group_label_tags test goldens and mocked users
askumar27 6e37bfd
Updated goldens for test_file_path_in_view_naming_pattern test
askumar27 9e124d8
Bug fix incorrect set membership check
askumar27 c93d288
Improve type hints for better clarity and type safety
askumar27 cf32a66
Fixed type checks for covarience errors
askumar27 5e5e178
Lint fixes: updated syntax for older py versions
askumar27 6c25aa5
Removed optional fields from golden
askumar27 c10b185
Lint fix: Updated imports from private classes
askumar27 402e057
Lint fixes: organised imports
askumar27 bb3369d
Removed empty browsepaths from golden files
askumar27 5025983
Updated as per TOT SDK changes for invarient types
askumar27 8b5f270
Added comments and streamlined workunit emissions for tags and usage …
askumar27 c327688
review comment fixes
askumar27 8ea3880
Refactor Looker ingestion to utilize Dataset SDK
askumar27 8426cfa
Adjusted tests to reflect changes from SDK and added data platform in…
askumar27 9647402
Removed StatusClass from extra aspects in Looker ingestion and update…
askumar27 f9fb90d
Review comments: moved assigning tags to the constructor and removed …
askumar27 4ad5165
Removed dead code
askumar27 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How is we need to add tags via
extra_aspects
?Dataset
in SDK v2 inherits theHasTags
, so we could useadd_tags
instead.Even we have
tags
field in theDataset
constructorThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! Updated.