Skip to content

Conversation

@hubgeter
Copy link
Contributor

bp #41659

Proposed changes

Because ExternalTable will initialize the previously uninitialized table when getCachedRowCount(), which is unnecessary. So for the uninitialized table, we directly return -1.
This will increase the speed of our query information_schema.tables.

…ount when reading ExternalTable (apache#41659)

Because ExternalTable will initialize the previously uninitialized table
when `getCachedRowCount()`, which is unnecessary. So for the
uninitialized table, we directly return -1.
This will increase the speed of our query `information_schema.tables`.
@doris-robot
Copy link

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

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@hubgeter
Copy link
Contributor Author

run buildall

@yiguolei yiguolei merged commit 1c5c27e into apache:branch-2.1 Oct 17, 2024
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