OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

Incorrect filter effect on Column Bulk Operations for Completeness

Open teabbs opened this issue 8 months ago • 18 comments

Affected module UI/Backend

Describe the bug In the section "Column Bulk Operations" application of "Has / Missing Metadata" filter with value "Complete" or "Incomplete", it doesn't hide all other records from the view. If we apply values "Missing" or "Inconsistent", it seems to show only what we choose. However for all choices the page count in the bottom seem to be incorrect. And the number of items per page effectively differs from page to page.

To Reproduce

You need to have enough columns with all metadata statuses in Column Bulk Operations view. Go there and apply filter with "Complete" or "Incomplete", - you will see that in the same view it has "Missing" and "Incosistent" in the Description field, too.

Expected behavior I we choose only one value as filter, we see only that exact value in the list, and it works for all variants in the list.

Version:

  • OS: Oracle Linux 8
  • Python version: 3.11
  • OpenMetadata version: 1.12.1
  • OpenMetadata Ingestion package version: 1.12.1

Additional context I tried to find a fixed issue in the later release of 1.12.3, but didn't find any. Is this issue already fixed?

teabbs avatar Mar 27 '26 15:03 teabbs

hi sir I’ve reviewed the issue and have an idea for the fix. I’d like to work on this. Please assign it to me.

jatinmasaram avatar Apr 04 '26 09:04 jatinmasaram

@jatinmasaram assigned it to you

harshach avatar Apr 08 '26 19:04 harshach

@jatinmasaram assigned it to you

Thanks sir for assigning this issue. I will take ownership of investigating and fixing the filtering behavior in Column Bulk Operations, specifically for the "Has / Missing Metadata" filter Based on the report: "Complete" and "Incomplete" filters are not correctly restricting the results Pagination count and items per page appear inconsistent "Missing" and "Inconsistent" behave differently I will reproduce this on OpenMetadata 1.12.1, verify behavior in the latest version, and identify the root cause across both UI and backend if applicable. I’ll update this thread with findings and proceed with a fix.

jatinmasaram avatar Apr 09 '26 02:04 jatinmasaram

hi @harshach sir I have reviewed the particular issue , so could you plz assign me to solve it ?

Ashwin445160 avatar Apr 12 '26 14:04 Ashwin445160

hey i am new here i wanna fix my first issue can u assign me pls so i can fix this , thank you

xlordx-bit avatar Apr 13 '26 15:04 xlordx-bit

Hi @harshach @teabbs may i please work on this issue i got an idea to fix this can you please assign it to me I will be also uploading the screenshots after execution

mohitjeswani01 avatar Apr 14 '26 16:04 mohitjeswani01

@jatinmasaram any updates on a fix here? It looks like we have others looking to address this. When you submit a PR please provide a screen recording how your updated functionality looks in the UI

PubChimps avatar Apr 16 '26 00:04 PubChimps

Hi @PubChimps , I would like to contribute to resolve this issue after RCA, if get assigned.

jaya6400 avatar Apr 16 '26 07:04 jaya6400

Hi @harshach @teabbs may i please work on this issue i got an idea to fix this can you please assign it to me I will be also uploading the screenshots after execution

Yashsainani123 avatar Apr 16 '26 10:04 Yashsainani123

Hi, @PubChimps I’ve implemented the fix for the incorrect column filter and validated it locally I am doing final round testing right now, and I’ll push the PR shortly with a screen recording showing the updated UI behavior Thanks!

jatinmasaram avatar Apr 16 '26 17:04 jatinmasaram

@jatinmasaram any updates on a fix here? It looks like we have others looking to address this. When you submit a PR please provide a screen recording how your updated functionality looks in the UI

@PubChimps I have already submitted the PR fix for this, i will just attach a screen recording for it.

kartikangiras avatar Apr 16 '26 20:04 kartikangiras

@kartikangiras please do not submit PR's unless you are assigned the issue

PubChimps avatar Apr 21 '26 23:04 PubChimps

@PubChimps The assigned contributor was inactive on the issue and did not raise a PR, so thats the reason I did push my changes. I will keep that in mind.

@kartikangiras please do not submit PR's unless you are assigned the issue

kartikangiras avatar Apr 22 '26 00:04 kartikangiras

@PubChimps could you PTAL into the PR.

kartikangiras avatar Apr 23 '26 22:04 kartikangiras

Hi OpenMetadata team,

we can reproduce this issue on OpenMetadata 1.12.5 with a large Teradata metadata catalog.

Example column: acct_id

Observed behavior:

  • The column exists in OpenMetadata and is visible on the table detail page.
  • It is also present in Column Bulk Operations as a grouped column, e.g. acct_id (10).
  • When the row is manually reached/loaded in the Column Bulk Operations list, the group can be expanded and the individual occurrences are visible.
  • However, the Column Bulk Operations search does not reliably return the column when searching for acct_id.

Expected behavior:

  • Searching for acct_id in Column Bulk Operations should return the matching column group regardless of pagination, current page, or whether the row has already been loaded in the UI.

Impact:

  • For large catalogs, users cannot reliably find and govern columns through Column Bulk Operations, even though the columns are already ingested and visible elsewhere in OpenMetadata.
  • This makes the feature hard to use for enterprise-wide column description/tag/glossary standardization.

This looks like the same pagination/search issue described here. Please let us know if any fix is planned for the next 1.12.x patch or if there is a recommended workaround.

brozroman-max avatar Apr 27 '26 14:04 brozroman-max

Small clarification: our main reproducible issue is probably closer to #27227, because the column exists in Column Bulk Operations but the search does not reliably return it unless the row is already loaded/reached manually.

I added our detailed reproduction there as well. I am leaving this comment here only because the behavior may be related to pagination/filtering issues in Column Bulk Operations.

brozroman-max avatar Apr 27 '26 14:04 brozroman-max

@PubChimps @harshach Can i work on this issue, i see there is no active involvment from 2 weeks, so want to give it a try

nexpectArpit avatar May 10 '26 14:05 nexpectArpit

@nexpectArpit assigned it to you

harshach avatar May 10 '26 14:05 harshach