-
Notifications
You must be signed in to change notification settings - Fork 80
feature/oracle_profiler #2187
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
lolo115
wants to merge
9
commits into
main
Choose a base branch
from
feature/oracle_profiler
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feature/oracle_profiler #2187
Conversation
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
Updates on sql scripts to remove spooling "decoration"
Updates on sql scripts to remove spooling "decoration"
|
❌ 43/54 passed, 11 failed, 4m35s total ❌ test_validate_table_not_found: duckdb.duckdb.IOException: IO Error: Could not set lock on file "/tmp/data/synapse_assessment/mock_profiler_extract.db": Conflicting lock is held in /opt/hostedtoolcache/Python/3.10.19/x64/bin/python3.10 (PID 3509). See also https://duckdb.org/docs/connect/concurrency (14ms)❌ test_validate_non_empty_tables: duckdb.duckdb.IOException: IO Error: Could not set lock on file "/tmp/data/synapse_assessment/mock_profiler_extract.db": Conflicting lock is held in /opt/hostedtoolcache/Python/3.10.19/x64/bin/python3.10 (PID 3509). See also https://duckdb.org/docs/connect/concurrency (169ms)❌ test_validate_successful_schema_check: duckdb.duckdb.IOException: IO Error: Could not set lock on file "/tmp/data/synapse_assessment/mock_profiler_extract.db": Conflicting lock is held in /opt/hostedtoolcache/Python/3.10.19/x64/bin/python3.10 (PID 3509). See also https://duckdb.org/docs/connect/concurrency (1ms)❌ test_validate_mixed_checks: duckdb.duckdb.IOException: IO Error: Could not set lock on file "/tmp/data/synapse_assessment/mock_profiler_extract.db": Conflicting lock is held in /opt/hostedtoolcache/Python/3.10.19/x64/bin/python3.10 (PID 3509). See also https://duckdb.org/docs/connect/concurrency (1ms)❌ test_Oracle_profile_execution: FileNotFoundError: Configuration file not found for source oracle: Credentials file not found at /home/runner/.databricks/labs/lakebridge/.credentials.yml (43ms)❌ test_validate_invalid_schema_check: duckdb.duckdb.IOException: IO Error: Could not set lock on file "/tmp/data/synapse_assessment/mock_profiler_extract.db": Conflicting lock is held in /opt/hostedtoolcache/Python/3.10.19/x64/bin/python3.10 (PID 3509). See also https://duckdb.org/docs/connect/concurrency (5ms)❌ test_transpiles_informatica_to_sparksql_non_interactive[True]: AssertionError: assert [{'total_files_processed': 1, 'total_queries_processed': 1, 'analysis_error_count': 0, 'parsing_error_count': 1, 'validation_error_count': 0, 'generation_error_count': 0, 'error_log_file': '/tmp/pytest-of-runner/pytest-0/popen-gw4/test_transpiles_informatica_to0/errors.log'}] == [{'total_files_processed': 1, 'total_queries_processed': 1, 'analysis_error_count': 0, 'parsing_error_count': 0, 'validation_error_count': 0, 'generation_error_count': 0, 'error_log_file': None}] (23.863s)❌ test_transpiles_informatica_to_sparksql: AssertionError: assert [{'total_files_processed': 1, 'total_queries_processed': 1, 'analysis_error_count': 0, 'parsing_error_count': 1, 'validation_error_count': 0, 'generation_error_count': 0, 'error_log_file': '/tmp/pytest-of-runner/pytest-0/popen-gw9/test_transpiles_informatica_to0/errors.log'}] == [{'total_files_processed': 1, 'total_queries_processed': 1, 'analysis_error_count': 0, 'parsing_error_count': 0, 'validation_error_count': 0, 'generation_error_count': 0, 'error_log_file': None}] (23.285s)❌ test_transpile_teradata_sql: AssertionError: assert [{'total_files_processed': 2, 'total_queries_processed': 2, 'analysis_error_count': 0, 'parsing_error_count': 2, 'validation_error_count': 2, 'generation_error_count': 0, 'error_log_file': '/tmp/pytest-of-runner/pytest-0/popen-gw3/test_transpile_teradata_sql0/errors.log'}] == [{'total_files_processed': 2, 'total_queries_processed': 2, 'analysis_error_count': 0, 'parsing_error_count': 0, 'validation_error_count': 1, 'generation_error_count': 0, 'error_log_file': '/tmp/pytest-of-runner/pytest-0/popen-gw3/test_transpile_teradata_sql0/errors.log'}] (26.386s)❌ test_transpile_teradata_sql_non_interactive[True]: AssertionError: assert [{'total_files_processed': 2, 'total_queries_processed': 2, 'analysis_error_count': 0, 'parsing_error_count': 1, 'validation_error_count': 1, 'generation_error_count': 0, 'error_log_file': '/tmp/pytest-of-runner/pytest-0/popen-gw6/test_transpile_teradata_sql_no0/errors.log'}] == [{'total_files_processed': 2, 'total_queries_processed': 2, 'analysis_error_count': 0, 'parsing_error_count': 0, 'validation_error_count': 1, 'generation_error_count': 0, 'error_log_file': '/tmp/pytest-of-runner/pytest-0/popen-gw6/test_transpile_teradata_sql_no0/errors.log'}] (30.751s)❌ test_transpile_teradata_sql_non_interactive[False]: AssertionError: assert [{'total_files_processed': 2, 'total_queries_processed': 2, 'analysis_error_count': 0, 'parsing_error_count': 2, 'validation_error_count': 2, 'generation_error_count': 0, 'error_log_file': '/tmp/pytest-of-runner/pytest-0/popen-gw6/test_transpile_teradata_sql_no1/errors.log'}] == [{'total_files_processed': 2, 'total_queries_processed': 2, 'analysis_error_count': 0, 'parsing_error_count': 0, 'validation_error_count': 1, 'generation_error_count': 0, 'error_log_file': '/tmp/pytest-of-runner/pytest-0/popen-gw6/test_transpile_teradata_sql_no1/errors.log'}] (5.864s)Running from acceptance #3159 |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2187 +/- ##
==========================================
- Coverage 63.56% 63.47% -0.10%
==========================================
Files 100 100
Lines 8503 8523 +20
Branches 885 886 +1
==========================================
+ Hits 5405 5410 +5
- Misses 2931 2946 +15
Partials 167 167 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Changes
Creating the oracle extractor.
Unit tests passed for:
What does this PR do?
Oracle profiler data extraction
Relevant implementation details
The data analysis is still WIP.
Caveats/things to watch out for when reviewing:
Linked issues
Resolves #..
Functionality
databricks labs lakebridge ...Tests