Skip to content

[fix](nereids)Add catalog/db/table filter info in SchemaScanNode (#46864)#47759

Merged
Jibing-Li merged 1 commit intoapache:branch-2.1from
Jibing-Li:informationschema2.1
Feb 11, 2025
Merged

[fix](nereids)Add catalog/db/table filter info in SchemaScanNode (#46864)#47759
Jibing-Li merged 1 commit intoapache:branch-2.1from
Jibing-Li:informationschema2.1

Conversation

@Jibing-Li
Copy link
Contributor

backport: #46864

…che#46864)

While querying information_schema.tables, we need to filter the
catalogs/dbs/tables if user specify them thought where statement.
Before, we didn't pass the query predicate to BE. This pr pass the
predicate to BE and filter the catalog/db/table in
FrontendServiceImpl.listTableStatus
@Thearas
Copy link
Contributor

Thearas commented Feb 11, 2025

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@Jibing-Li Jibing-Li marked this pull request as ready for review February 11, 2025 07:30
@Jibing-Li
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 36.50% (9610/26327)
Line Coverage: 28.08% (79640/283571)
Region Coverage: 26.75% (40858/152742)
Branch Coverage: 23.51% (20711/88108)
Coverage Report: http://coverage.selectdb-in.cc/coverage/462de8858f4b72e2df9940d4fb76c48836425047_462de8858f4b72e2df9940d4fb76c48836425047/report/index.html

@Jibing-Li Jibing-Li merged commit e2f9b43 into apache:branch-2.1 Feb 11, 2025
18 of 20 checks passed
@Jibing-Li Jibing-Li deleted the informationschema2.1 branch February 28, 2025 07:40
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