Feat/issue 28620 exasol add access to comments#28621
Conversation
…or Exasol. It is supsected that there are further errors related to this feature which OMD committed
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
| schema: str | None = None, | ||
| **kw: Any, | ||
| ) -> list[ReflectedColumn]: | ||
| """ |
There was a problem hiding this comment.
This is needed as currently sqlalchemy-exasol does not provide the comments with the returned columns.
| from metadata.utils.service_spec.default import DefaultDatabaseSpec | ||
|
|
||
| ServiceSpec = DefaultDatabaseSpec( | ||
| profiler_class=ExasolProfilerInterface, # pyright: ignore[reportArgumentType] |
There was a problem hiding this comment.
We don't want to otherwise activate profiler yet, as not all the components are ready based on our local testing.
This was mostly to resolve this test from failing test_create_table_with_profiler, and we believe is a result of the work done by another OMD developer in #27912
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
Code Review ✅ Approved 4 resolved / 4 findingsEnables Exasol column-level comment ingestion and system metric computation, addressing previous issues with parameterized SQL, caching, and table matching filters. No issues found. ✅ 4 resolved✅ Security: EXASOL_SYSTEM_METRICS_QUERY uses string formatting, not parameterized SQL
✅ Performance: Double @reflection.cache on get_columns may cause stale results
✅ Edge Case: LIKE-based table matching in system metrics may match wrong tables
✅ Bug: NOT LIKE filters broken after removing .format() escaping
OptionsDisplay: compact → Showing less information. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
Describe your changes:
Fixes #28620
I worked on:
Type of change:
High-level design:
N/A
Tests:
Use cases covered
Unit tests
Backend integration tests
Ingestion integration tests
Playwright (UI) tests
Manual testing performed
UI screen recording / screenshots:
Not applicable.
Checklist:
Fixes <issue-number>: <short explanation>Fixes #<issue-number>above.Summary by Gitar
EXA_ALL_COLUMNS.sqla_utils.pyandmetadata.pyto integrate column comment reflection into the Exasol inspector.ExasolSystemMetricsComputerto track DML operations (INSERT, UPDATE, DELETE) using system audit logs.ExasolProfilerInterfaceand updatedservice_spec.pyto support system metrics computation.ExasolTableMetricComputerto improve view handling and catalog query accuracy.tests/integration/sources/database/exasol/.tests/cli_e2e/test_cli_exasol.pyto verify metadata and comment extraction.ModuloFnfor the Exasol dialect inmodulo.py.exasol.jsontest connection configuration to include audit table requirements.This will update automatically on new commits.