-
Notifications
You must be signed in to change notification settings - Fork 78
Introduced Profiler Skeleton #2021
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 18 commits
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
9e56b8e
Initial Commit of configure assessment
sundarshankar89 a230739
Fixed unnecessary exclude lists
sundarshankar89 be9b358
Merged UX Recommendation
sundarshankar89 dcf8ee9
Added more comments
sundarshankar89 aeb2e00
Merge branch 'main' into feature/configure-assessment
sundarshankar89 18ff36c
Merge branch 'main' into feature/configure-assessment
gueniai 26fc1ed
Merge branch 'main' into feature/configure-assessment
sundarshankar89 eee4c24
Updated with custom gen ai
sundarshankar89 ffc33aa
Merge branch 'main' into feature/configure-assessment
sundarshankar89 ac77f81
Merge branch 'main' into feature/configure-assessment
sundarshankar89 afd8272
Scripts for Synapse Profiling re-imagined from existing profiler
sundarshankar89 75c5b5b
Introduced Profiler Skeleton
sundarshankar89 8a631ed
Merge branch 'feature/configure-assessment' into feature/add_profiler…
sundarshankar89 26fd78a
Addressed review comments
sundarshankar89 11e38d3
Merge branch 'main' into feature/configure-assessment
sundarshankar89 e1e23f2
Merge branch 'main' into feature/synapse_profiler_scripts
sundarshankar89 baef44e
Merge branch 'feature/configure-assessment' into feature/add_profiler…
sundarshankar89 9111c31
Addressed review comments
sundarshankar89 6d0de29
Merge branch 'main' into feature/configure-assessment
sundarshankar89 a604e0b
Merge branch 'main' into feature/synapse_profiler_scripts
sundarshankar89 ec2c1e4
Merge branch 'feature/configure-assessment' into feature/add_profiler…
sundarshankar89 599cbf5
fixed review comment
sundarshankar89 baf0eb3
fmt fixes
sundarshankar89 da0c85c
update pyproject.toml
sundarshankar89 e8f59a4
bump blueprint
sundarshankar89 b8a6c70
bump blueprint and fmt fixes
sundarshankar89 ae841e7
addressing review comments
sundarshankar89 354a461
Merge branch 'bump/blueprint-0.11.4' into feature/configure-assessment
sundarshankar89 d56958c
Merge branch 'feature/configure-assessment' into feature/add_profiler…
sundarshankar89 9925b44
Merge branch 'main' into feature/synapse_profiler_scripts
sundarshankar89 d305754
Merge branch 'main' into feature/add_profiler_skeleton
sundarshankar89 eac40a3
Merge branch 'main' into feature/synapse_profiler_scripts
sundarshankar89 c79c01a
fixing review comments
sundarshankar89 2195df6
fixing review comments-2
sundarshankar89 ccba2df
fixing review comments-3
sundarshankar89 9a9e909
fixing review comments-3
sundarshankar89 635b84a
fixed failing tests
sundarshankar89 c23cb0e
Merge branch 'main' into feature/synapse_profiler_scripts
sundarshankar89 53b3fa9
Merge branch 'main' into feature/add_profiler_skeleton
sundarshankar89 be777f6
Merge branch 'feature/synapse_profiler_scripts' into feature/add_prof…
sundarshankar89 4763885
fix a typo
sundarshankar89 6f8997c
Merge branch 'feature/synapse_profiler_scripts' into feature/add_prof…
sundarshankar89 4992e6b
added close connection
sundarshankar89 1a5288f
Merge branch 'feature/synapse_profiler_scripts' into feature/add_prof…
sundarshankar89 9df6d0b
fixes review comments
sundarshankar89 9e55fe8
fixes review comments
sundarshankar89 393dbe9
Merge branch 'main' into feature/synapse_profiler_scripts
sundarshankar89 11da6d9
Merge branch 'main' into feature/synapse_profiler_scripts
sundarshankar89 3dc6f88
added context manager
sundarshankar89 6085fca
Merge branch 'feature/synapse_profiler_scripts' into feature/add_prof…
sundarshankar89 cb38bf5
added connection close
sundarshankar89 13417bf
Merge branch 'feature/synapse_profiler_scripts' into feature/add_prof…
sundarshankar89 53429c4
Merge branch 'main' into feature/synapse_profiler_scripts
sundarshankar89 b660e4a
addressed merge conflicts
sundarshankar89 3dd7455
Merge branch 'feature/synapse_profiler_scripts' into feature/add_prof…
sundarshankar89 5dbb664
removed print
sundarshankar89 b262013
Merge branch 'feature/synapse_profiler_scripts' into feature/add_prof…
sundarshankar89 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| from ._constants import ( | ||
| PRODUCT_NAME, | ||
| PRODUCT_PATH_PREFIX, | ||
| PROFILER_SOURCE_SYSTEM, | ||
| PLATFORM_TO_SOURCE_TECHNOLOGY_CFG, | ||
| CONNECTOR_REQUIRED, | ||
| ) | ||
|
|
||
| __all__ = [ | ||
| "PRODUCT_NAME", | ||
| "PRODUCT_PATH_PREFIX", | ||
| "PROFILER_SOURCE_SYSTEM", | ||
| "PLATFORM_TO_SOURCE_TECHNOLOGY_CFG", | ||
| "CONNECTOR_REQUIRED", | ||
| ] |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| from pathlib import Path | ||
|
|
||
| PRODUCT_NAME = "lakebridge" | ||
| PRODUCT_PATH_PREFIX = Path.home() / ".databricks" / "labs" / PRODUCT_NAME / "lib" | ||
|
|
||
| PLATFORM_TO_SOURCE_TECHNOLOGY_CFG = { | ||
| "synapse": "src/databricks/labs/lakebridge/resources/assessments/synapse/pipeline_config.yml", | ||
| } | ||
|
|
||
| # TODO modify this PLATFORM_TO_SOURCE_TECHNOLOGY.keys() once all platforms are supported | ||
| PROFILER_SOURCE_SYSTEM = ["mssql", "synapse"] | ||
|
|
||
|
|
||
| # This flag indicates whether a connector is required for the source system when pipeline is trigger | ||
| # For example in the case of synapse no connector is required and the python scripts | ||
| # manage the connection by directly reading the credentials files | ||
| # Revisit this when more source systems are added to standardize the approach | ||
| CONNECTOR_REQUIRED = { | ||
| "synapse": False, | ||
| "mssql": True, | ||
| } | ||
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.
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.
+1