Details
-
Sub-task
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
1.2.0
Description
GetTableSchema calls TableInfo::IsCreateTableDone. This method checks each tablet for whether it is in the correct state, which requires acquiring the RWC lock for every tablet. This is somewhat slow for large tables with thousands of tablets, and this is actually a relatively hot path because every task in an Impala query ends up calling GetTableSchema() when it opens its scanner.