Skip to content

Conversation

@nkvuong
Copy link
Contributor

@nkvuong nkvuong commented Apr 19, 2024

Some SQL queries will error with Database(ucx_shydk,Some(hive_metastore)) does not exist, Function(hive_metastore.ucx_slgfw.ucx_tkrq6) does not exist. We need to classify them as NotFound error messages

@github-actions
Copy link

github-actions bot commented Apr 19, 2024

This PR breaks backwards compatibility for databrickslabs/ucx downstream. See build logs for more details.

Running from downstreams #33

@github-actions
Copy link

github-actions bot commented Apr 19, 2024

✅ 20/20 passed, 2 skipped, 6m50s total

Running from acceptance #68

@nkvuong nkvuong requested a review from nfx April 19, 2024 16:43
@nfx nfx merged commit 30c7d7a into main Apr 19, 2024
@nfx nfx deleted the fix/not_found branch April 19, 2024 17:11
nfx added a commit that referenced this pull request Apr 19, 2024
* Added more `NotFound` error type ([#94](#94)). In the latest update, the `core.py` file in the `databricks/labs/lsql` package has undergone enhancements to the error handling functionality. The `_raise_if_needed` function has been modified to raise a `NotFound` error when the error message includes the phrase "does not exist". This update enables the system to categorize specific SQL query errors as `NotFound` error messages, thereby improving the overall error handling and reporting capabilities. This change was a collaborative effort, as indicated by the co-authored-by statement in the commit.
@nfx nfx mentioned this pull request Apr 19, 2024
nfx added a commit that referenced this pull request Apr 19, 2024
* Added more `NotFound` error type
([#94](#94)). In the latest
update, the `core.py` file in the `databricks/labs/lsql` package has
undergone enhancements to the error handling functionality. The
`_raise_if_needed` function has been modified to raise a `NotFound`
error when the error message includes the phrase "does not exist". This
update enables the system to categorize specific SQL query errors as
`NotFound` error messages, thereby improving the overall error handling
and reporting capabilities. This change was a collaborative effort, as
indicated by the co-authored-by statement in the commit.
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