Deleting of FC port is not ported to Elasticsearch

Probably due to miscommunication, part of the code that was supposed to be deleting fc-port from Elasticsearch, is still trying to remove fc-port from load file. This causes every delete-ltp-and-dependants request from any testsuite to fail.

delete-fc-port service is working as expected . can we edit the issue only for delete-ltp-and-dependents

Closed, already implemented in the PR.


Rip out jaskpot and replace with genric-pool

#12  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @pablo-statsig and the rest of your teammates on  Graphite


don't add -prerelease to nuspec dependency nodes for project references

Pack is adding -prerelease to the end of project reference dependency nodes, e.g:
<dependency id="BlahBlah.BlahBlah" version="1.0.0-prerelease" />

when that project has been packed correctly as 1.0.0.
Fairly easy to repro - have two projects, both with paket.template files (type project), and one referencing the other.   Paket pack version 1.0.0 will generate the above.

thanks. That's a bad bug!


[CS2113T]-sinteary-FixBugInAssignmentInput

Remember to close the relevant issues that you are solving and issues that you have solved. Please help practice SE principles and use the Issue tracker


Multiple async calls to get token returns only one response

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Browser:

[x] Chrome version 77.0.3865.120
[ ] Firefox version XX
[ ] IE version XX
[ ] Edge version XX
[ ] Safari version XX

Library version

Library version: msal v1.1.3 2019-08-14

Current behavior

multiple async calls made to msal.js to get tokens result into only 1 response and all other responses are lost.
Expected behavior

async calls should result into corresponding async responses, returning access token for each call.
Minimal reproduction of the problem with instructions

Below code returns only 1 response instead of 2.
function getAccessToken(msalConfig){
var userAgentApplication= new Msal.UserAgentApplication(msalConfig);
userAgentApplication.acquireTokenSilent(tokenRequest).then(function (tokenResponse) {
//control goes here only once.
console.log("Token for " + tokenResponse.scopes[0] + " : " + tokenResponse.accessToken);
}
}
getAccessToken(msalConfigWIthClientId1);
getAccessToken(msalConfigWIthClientId2);

@zoperohan MSAL currently only supports one account => only one clientId is supported. multiple accounts supports is in the pipeline, unfortunately we do not have a specific date yet.
Having said that, for the same clientId multiple tokens can be fetched concurrently. We have added more optimization on the same in our latest beta: msal-1.2.0-beta.1 which is in npm now. We will be announcing the release notes today on the same. Please try the beta and let us know how it works for you.

Closing this issue, as it's been some time and I'm assuming the issue has been resolved. Feel free to open a new issue if you have further questions.

Concurrent requests are now supported in the latest msal js beta.4 in npm. Please test it and let us know if this is still an issue.


[Refactor]Refactor hive meta cache and connector framework

What type of PR is this：

[ ] BugFix
[ ] Feature
[ ] Enhancement
[x] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
https://github.com/StarRocks/starrocks/issues/11349
Problem Summary(Required) ：

This patch includes the major changes for the refactoring hive meta cache and connector.
https://github.com/StarRocks/starrocks/issues/11349 include the pre patch of this commit.
Newly added components in this patch:

CacheUpdateProcess: used to update catalog-level meta cache.
TableFactory: used to create hive/hudi external table. Delete the original "validate" and "init" code in hive/hudi table.
Implement the refresh partition and refresh table statement.

major changes:

Support query level metadata cache
Delete HiveReposity completely and delete most interfaces of HiveMetastoreTable. Use CachingHiveMetastore and CachingRemoteFileIO instead.
All logic where HiveTable or HudiTable is called is migrated to MetadataMgr.
Adapt to all changes。

TODO:

Adapt to auto sync hive meta cache.
refactor query dump.
Add the latency profile of the thrift api
Elegant retry component

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

run starrocks_admit_test

run starrocks_fe_unittest

run starrocks_admit_test

run starrocks_admit_test

run starrocks_fe_unittest

run starrocks_fe_unittest

run starrocks_admit_test

run starrocks_fe_unittest

run starrocks_admit_test

[FE PR Coverage Check]
:disappointed: fail : 486 / 1199 (40.53%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/operator/logical/LogicalScanOperator.java
0
3
00.00%
[79, 83, 84]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEventFactory.java
0
3
00.00%
[60, 73, 74]

:large_blue_circle:
com/starrocks/scheduler/PartitionBasedMaterializedViewRefreshProcessor.java
0
5
00.00%
[261, 512, 513, 514, 515]

:large_blue_circle:
com/starrocks/external/RemoteFileInfo.java
0
6
00.00%
[42, 43, 44, 45, 46, 47]

:large_blue_circle:
com/starrocks/connector/hudi/HudiMetadata.java
0
44
00.00%
[41, 42, 43, 44, 45, 46, 50, 55, 60, 67, 68, 69, 73, 80, 81, 82, 90, 91, 92, 93, 95, 96, 98, 101, 108, 110, 111, 113, 114, 117, 118, 120, 121, 122, 123, 124, 128, 129, 130, 131, 133, 137, 138, 139]

:large_blue_circle:
com/starrocks/common/proc/HMSTablePartitionsProcDir.java
0
6
00.00%
[40, 44, 45, 46, 47, 49]

:large_blue_circle:
com/starrocks/service/FrontendServiceImpl.java
0
1
00.00%
[1269]

:large_blue_circle:
com/starrocks/sql/optimizer/operator/ScanOperatorPredicates.java
0
5
00.00%
[43, 44, 45, 46, 47]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEventsProcessor.java
0
1
00.00%
[209]

:large_blue_circle:
com/starrocks/sql/optimizer/operator/logical/LogicalHudiScanOperator.java
0
3
00.00%
[72, 76, 77]

:large_blue_circle:
com/starrocks/external/hive/events/DropTableEvent.java
0
2
00.00%
[47, 58]

:large_blue_circle:
com/starrocks/sql/optimizer/Utils.java
0
3
00.00%
[349, 350, 352]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEvent.java
0
1
00.00%
[43]

:large_blue_circle:
com/starrocks/external/hive/events/AddPartitionEvent.java
0
1
00.00%
[92]

:large_blue_circle:
com/starrocks/sql/optimizer/dump/QueryDumpInfo.java
0
2
00.00%
[140, 141]

:large_blue_circle:
com/starrocks/external/hive/events/InsertEvent.java
0
1
00.00%
[74]

:large_blue_circle:
com/starrocks/connector/jdbc/MysqlSchemaResolver.java
0
1
00.00%
[37]

:large_blue_circle:
com/starrocks/external/hive/events/AlterPartitionEvent.java
0
1
00.00%
[67]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreTableEvent.java
0
1
00.00%
[34]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCSchemaResolver.java
0
1
00.00%
[35]

:large_blue_circle:
com/starrocks/sql/optimizer/dump/HiveTableDumpInfo.java
0
13
00.00%
[26, 31, 63, 70, 71, 72, 73, 75, 109, 110, 111, 112, 114]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCConnector.java
0
1
00.00%
[82]

:large_blue_circle:
com/starrocks/external/hive/events/AlterTableEvent.java
0
1
00.00%
[92]

:large_blue_circle:
com/starrocks/external/hive/IHiveMetastore.java
0
3
00.00%
[32, 35, 39]

:large_blue_circle:
com/starrocks/external/RemotePathKey.java
0
3
00.00%
[30, 31, 32]

:large_blue_circle:
com/starrocks/external/hive/HiveMetaClient.java
0
3
00.00%
[158, 160, 162]

:large_blue_circle:
com/starrocks/connector/ConnectorMetadata.java
0
2
00.00%
[106, 109]

:large_blue_circle:
com/starrocks/external/RemoteScanRangeLocations.java
0
6
00.00%
[160, 161, 162, 168, 172, 190]

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/StatisticsCalculator.java
1
20
05.00%
[281, 282, 284, 286, 288, 289, 290, 291, 293, 294, 295, 296, 297, 298, 299, 303, 304, 305, 306]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/RemoteScanPartitionPruneRule.java
1
17
05.88%
[83, 84, 93, 94, 95, 96, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107]

:large_blue_circle:
com/starrocks/catalog/HudiTable.java
8
65
12.31%
[113, 117, 143, 148, 149, 150, 169, 194, 223, 224, 225, 250, 261, 271, 272, 306, 307, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 369, 381, 382, 383, 385, 386, 389, 390, 394, 395, 399, 400, 404, 405, 409, 410, 414, 415, 419, 420, 424, 425, 429, 430, 434, 435, 439, 440, 444]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastoreApiConverter.java
12
93
12.90%
[86, 87, 89, 90, 91, 94, 95, 96, 97, 99, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 141, 142, 143, 144, 145, 146, 147, 148, 159, 160, 162, 163, 164, 165, 166, 167, 168, 170, 174, 175, 176, 177, 179, 180, 186, 188, 189, 190, 192, 193, 194, 196, 197, 198, 201, 203, 204, 205, 206, 208, 209, 210, 211, 212, 215, 216, 217, 218, 221, 222, 223, 224, 225, 226, 227, 229, 296, 300, 306]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCMetadata.java
1
6
16.67%
[37, 45, 61, 73, 90]

:large_blue_circle:
com/starrocks/connector/hive/CacheUpdateProcessor.java
12
68
17.65%
[53, 54, 56, 57, 58, 59, 60, 61, 62, 64, 66, 67, 68, 69, 70, 71, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 87, 89, 90, 93, 96, 97, 98, 99, 100, 101, 103, 105, 106, 107, 108, 109, 110, 112, 113, 114, 115, 117, 119, 120, 121, 123, 124, 125, 127]

:large_blue_circle:
com/starrocks/external/hive/HiveColumnStats.java
24
116
20.69%
[40, 41, 43, 44, 45, 50, 52, 53, 54, 55, 57, 59, 60, 71, 72, 73, 74, 75, 76, 79, 80, 81, 82, 83, 84, 87, 88, 89, 90, 91, 92, 95, 96, 97, 98, 99, 100, 104, 107, 108, 109, 110, 111, 112, 113, 114, 116, 117, 142, 146, 147, 149, 153, 164, 168, 180, 184, 185, 186, 187, 189, 191, 196, 197, 198, 199, 200, 201, 202, 203, 204, 208, 211, 212, 213, 214, 215, 216, 217, 220, 221, 225, 226, 230, 231, 235, 236, 240, 241, 245, 246, 250]

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
2
10
20.00%
[3033, 3039, 3040, 3041, 3043, 3048, 3049, 3052]

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
5
18
27.78%
[2423, 2424, 2425, 2461, 2462, 2463, 2464, 2479, 2485, 2503, 2505, 2507, 2509]

:large_blue_circle:
com/starrocks/external/CachingRemoteFileIO.java
2
7
28.57%
[71, 72, 73, 77, 78]

:large_blue_circle:
com/starrocks/external/hive/HivePartitionStats.java
6
12
50.00%
[16, 34, 35, 36, 37, 38]

:large_blue_circle:
com/starrocks/external/iceberg/IcebergUtil.java
1
2
50.00%
[312]

:large_blue_circle:
com/starrocks/external/RemoteFileBlockDesc.java
1
2
50.00%
[36]

:large_blue_circle:
com/starrocks/qe/HDFSBackendSelector.java
1
2
50.00%
[84]

:large_blue_circle:
com/starrocks/server/MetadataMgr.java
29
56
51.79%
[54, 65, 66, 78, 101, 102, 103, 105, 106, 107, 108, 109, 111, 129, 130, 131, 135, 136, 137, 139, 140, 141, 142, 143, 145, 149, 150]

:large_blue_circle:
com/starrocks/external/PartitionUtil.java
48
93
51.61%
[36, 48, 98, 99, 100, 114, 115, 116, 117, 119, 121, 122, 123, 125, 126, 128, 129, 130, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 147, 149, 150, 152, 153, 154, 155, 156, 157, 158, 159, 160, 162]

:large_blue_circle:
com/starrocks/external/hive/CachingHiveMetastore.java
25
49
51.02%
[253, 276, 278, 279, 280, 282, 283, 284, 285, 286, 288, 289, 291, 292, 293, 294, 295, 296, 298, 301, 302, 304, 305, 306]

:large_blue_circle:
com/starrocks/catalog/HiveTable.java
20
37
54.05%
[192, 193, 194, 198, 203, 204, 205, 207, 208, 209, 225, 254, 255, 256, 295, 296, 334]

:large_blue_circle:
com/starrocks/external/hive/HivePartitionName.java
10
18
55.56%
[58, 83, 84, 85, 86, 87, 88, 89]

:large_blue_circle:
com/starrocks/external/RemoteFileOperations.java
4
7
57.14%
[90, 121, 122]

:large_blue_circle:
com/starrocks/server/TableFactory.java
75
127
59.06%
[33, 47, 48, 50, 88, 113, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 130, 133, 134, 135, 137, 139, 150, 156, 165, 166, 169, 170, 171, 172, 174, 175, 176, 177, 179, 180, 181, 183, 184, 186, 188, 189, 190, 191, 193, 194, 203, 213]

:large_blue_circle:
com/starrocks/connector/hudi/HudiMetadataFactory.java
9
15
60.00%
[45, 46, 47, 48, 52, 54]

:large_blue_circle:
com/starrocks/external/ColumnTypeConverter.java
36
55
65.45%
[113, 115, 121, 122, 123, 125, 127, 129, 143, 144, 149, 150, 151, 152, 154, 155, 157, 170, 171]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetadata.java
15
22
68.18%
[139, 140, 142, 144, 147, 148, 149]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastore.java
12
15
80.00%
[53, 59, 109]

:large_blue_circle:
com/starrocks/external/hive/HiveStatisticsProvider.java
14
17
82.35%
[68, 184, 351]

:large_blue_circle:
com/starrocks/connector/hudi/HudiConnector.java
14
17
82.35%
[39, 61, 62]

:large_blue_circle:
com/starrocks/connector/hudi/HudiConnectorInternalMgr.java
46
55
83.64%
[58, 59, 61, 62, 64, 65, 67, 75, 98]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetadataFactory.java
6
7
85.71%
[66]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastoreOperations.java
13
15
86.67%
[88, 95]

:large_blue_circle:
com/starrocks/connector/hive/HiveConnectorInternalMgr.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/proc/ExternalTablesProcDir.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/CreateTableAnalyzer.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/IcebergTable.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/server/CatalogMgr.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/connector/hive/HiveConnector.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/external/hive/HiveRemoteFileIO.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/qe/StmtExecutor.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/proc/ExternalDbsProcDir.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/ResourceMgr.java
15
15
100.00%
[]

:large_blue_circle:
com/starrocks/connector/ConnectorMgr.java
5
5
100.00%
[]

run starrocks_admit_test

run starrocks_fe_unittest

run starrocks_fe_unittest

[FE PR Coverage Check]
:disappointed: fail : 643 / 1176 (54.68%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/operator/logical/LogicalScanOperator.java
0
3
00.00%
[79, 83, 84]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEventFactory.java
0
3
00.00%
[60, 73, 74]

:large_blue_circle:
com/starrocks/scheduler/PartitionBasedMaterializedViewRefreshProcessor.java
0
5
00.00%
[261, 512, 513, 514, 515]

:large_blue_circle:
com/starrocks/common/proc/HMSTablePartitionsProcDir.java
0
6
00.00%
[40, 44, 45, 46, 47, 49]

:large_blue_circle:
com/starrocks/service/FrontendServiceImpl.java
0
1
00.00%
[1269]

:large_blue_circle:
com/starrocks/sql/optimizer/operator/ScanOperatorPredicates.java
0
5
00.00%
[43, 44, 45, 46, 47]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEventsProcessor.java
0
1
00.00%
[209]

:large_blue_circle:
com/starrocks/sql/optimizer/operator/logical/LogicalHudiScanOperator.java
0
3
00.00%
[72, 76, 77]

:large_blue_circle:
com/starrocks/external/hive/events/DropTableEvent.java
0
2
00.00%
[47, 58]

:large_blue_circle:
com/starrocks/sql/optimizer/Utils.java
0
3
00.00%
[349, 350, 352]

:large_blue_circle:
com/starrocks/sql/optimizer/OptimizerTraceUtil.java
0
2
00.00%
[198, 407]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEvent.java
0
1
00.00%
[43]

:large_blue_circle:
com/starrocks/external/hive/events/AddPartitionEvent.java
0
1
00.00%
[92]

:large_blue_circle:
com/starrocks/sql/Explain.java
0
1
00.00%
[226]

:large_blue_circle:
com/starrocks/sql/optimizer/dump/QueryDumpInfo.java
0
2
00.00%
[140, 141]

:large_blue_circle:
com/starrocks/external/hive/events/InsertEvent.java
0
1
00.00%
[74]

:large_blue_circle:
com/starrocks/connector/jdbc/MysqlSchemaResolver.java
0
1
00.00%
[37]

:large_blue_circle:
com/starrocks/external/hive/events/AlterPartitionEvent.java
0
1
00.00%
[67]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreTableEvent.java
0
1
00.00%
[34]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCSchemaResolver.java
0
1
00.00%
[35]

:large_blue_circle:
com/starrocks/sql/optimizer/dump/HiveTableDumpInfo.java
0
13
00.00%
[26, 31, 63, 70, 71, 72, 73, 75, 109, 110, 111, 112, 114]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCConnector.java
0
1
00.00%
[82]

:large_blue_circle:
com/starrocks/external/hive/events/AlterTableEvent.java
0
1
00.00%
[92]

:large_blue_circle:
com/starrocks/external/hive/IHiveMetastore.java
0
3
00.00%
[32, 35, 39]

:large_blue_circle:
com/starrocks/external/RemotePathKey.java
0
3
00.00%
[30, 31, 32]

:large_blue_circle:
com/starrocks/external/hive/HiveMetaClient.java
0
3
00.00%
[158, 160, 162]

:large_blue_circle:
com/starrocks/connector/ConnectorMetadata.java
0
2
00.00%
[106, 109]

:large_blue_circle:
com/starrocks/external/RemoteScanRangeLocations.java
0
6
00.00%
[160, 161, 162, 168, 172, 190]

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/StatisticsCalculator.java
1
20
05.00%
[281, 282, 284, 286, 288, 289, 290, 291, 293, 294, 295, 296, 297, 298, 299, 303, 304, 305, 306]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/RemoteScanPartitionPruneRule.java
1
17
05.88%
[83, 84, 93, 94, 95, 96, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCMetadata.java
1
6
16.67%
[37, 45, 61, 73, 90]

:large_blue_circle:
com/starrocks/connector/hive/CacheUpdateProcessor.java
12
68
17.65%
[53, 54, 56, 57, 58, 59, 60, 61, 62, 64, 66, 67, 68, 69, 70, 71, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 87, 89, 90, 93, 96, 97, 98, 99, 100, 101, 103, 105, 106, 107, 108, 109, 110, 112, 113, 114, 115, 117, 119, 120, 121, 123, 124, 125, 127]

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
2
11
18.18%
[2256, 3033, 3039, 3040, 3041, 3043, 3048, 3049, 3052]

:large_blue_circle:
com/starrocks/connector/hudi/HudiMetadata.java
11
44
25.00%
[68, 69, 80, 81, 82, 90, 91, 92, 93, 95, 96, 98, 101, 108, 110, 111, 113, 114, 117, 118, 120, 121, 122, 123, 124, 128, 129, 130, 131, 133, 137, 138, 139]

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
5
18
27.78%
[2423, 2424, 2425, 2461, 2462, 2463, 2464, 2479, 2485, 2503, 2505, 2507, 2509]

:large_blue_circle:
com/starrocks/external/CachingRemoteFileIO.java
2
7
28.57%
[71, 72, 73, 77, 78]

:large_blue_circle:
com/starrocks/external/hive/HivePartitionStats.java
6
12
50.00%
[16, 34, 35, 36, 37, 38]

:large_blue_circle:
com/starrocks/external/iceberg/IcebergUtil.java
1
2
50.00%
[312]

:large_blue_circle:
com/starrocks/external/RemoteFileBlockDesc.java
1
2
50.00%
[36]

:large_blue_circle:
com/starrocks/qe/HDFSBackendSelector.java
1
2
50.00%
[84]

:large_blue_circle:
com/starrocks/server/MetadataMgr.java
29
56
51.79%
[54, 65, 66, 78, 101, 102, 103, 105, 106, 107, 108, 109, 111, 129, 130, 131, 135, 136, 137, 139, 140, 141, 142, 143, 145, 149, 150]

:large_blue_circle:
com/starrocks/external/hive/CachingHiveMetastore.java
25
49
51.02%
[253, 276, 278, 279, 280, 282, 283, 284, 285, 286, 288, 289, 291, 292, 293, 294, 295, 296, 298, 301, 302, 304, 305, 306]

:large_blue_circle:
com/starrocks/catalog/HiveTable.java
20
37
54.05%
[192, 193, 194, 198, 203, 204, 205, 207, 208, 209, 225, 254, 255, 256, 295, 296, 334]

:large_blue_circle:
com/starrocks/external/PartitionUtil.java
52
93
55.91%
[36, 114, 115, 116, 117, 119, 121, 122, 123, 125, 126, 128, 129, 130, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 147, 149, 150, 152, 153, 154, 155, 156, 157, 158, 159, 160, 162]

:large_blue_circle:
com/starrocks/external/RemoteFileOperations.java
4
7
57.14%
[90, 121, 122]

:large_blue_circle:
com/starrocks/server/TableFactory.java
75
127
59.06%
[33, 47, 48, 50, 88, 113, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 130, 133, 134, 135, 137, 139, 150, 156, 165, 166, 169, 170, 171, 172, 174, 175, 176, 177, 179, 180, 181, 183, 184, 186, 188, 189, 190, 191, 193, 194, 203, 213]

:large_blue_circle:
com/starrocks/connector/hudi/HudiMetadataFactory.java
9
15
60.00%
[45, 46, 47, 48, 52, 54]

:large_blue_circle:
com/starrocks/external/hive/HiveColumnStats.java
58
90
64.44%
[41, 43, 44, 45, 46, 48, 50, 51, 95, 107, 108, 133, 137, 138, 140, 144, 155, 159, 171, 176, 177, 178, 180, 187, 188, 189, 190, 191, 192, 193, 194, 195]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastoreApiConverter.java
60
93
64.52%
[86, 87, 89, 90, 91, 94, 95, 96, 97, 99, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 159, 160, 162, 163, 164, 165, 166, 167, 168, 170, 218]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetadata.java
15
22
68.18%
[139, 140, 142, 144, 147, 148, 149]

:large_blue_circle:
com/starrocks/external/ColumnTypeConverter.java
40
55
72.73%
[113, 115, 122, 125, 143, 144, 149, 150, 151, 152, 154, 155, 157, 170, 171]

:large_blue_circle:
com/starrocks/catalog/HudiTable.java
51
64
79.69%
[144, 145, 146, 190, 219, 220, 221, 246, 257, 267, 268, 302, 303]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastore.java
12
15
80.00%
[53, 59, 109]

:large_blue_circle:
com/starrocks/external/hive/HiveStatisticsProvider.java
14
17
82.35%
[68, 184, 351]

:large_blue_circle:
com/starrocks/connector/hudi/HudiConnector.java
14
17
82.35%
[39, 61, 62]

:large_blue_circle:
com/starrocks/connector/hudi/HudiConnectorInternalMgr.java
46
55
83.64%
[58, 59, 61, 62, 64, 65, 67, 75, 98]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetadataFactory.java
6
7
85.71%
[66]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastoreOperations.java
13
15
86.67%
[89, 96]

:large_blue_circle:
com/starrocks/external/hive/HivePartitionName.java
17
18
94.44%
[58]

:large_blue_circle:
com/starrocks/connector/hive/HiveConnectorInternalMgr.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/proc/ExternalTablesProcDir.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/CreateTableAnalyzer.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/external/RemoteFileInfo.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/IcebergTable.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/server/CatalogMgr.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/connector/hive/HiveConnector.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/external/hive/HiveRemoteFileIO.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/qe/StmtExecutor.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/proc/ExternalDbsProcDir.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/ResourceMgr.java
15
15
100.00%
[]

:large_blue_circle:
com/starrocks/connector/ConnectorMgr.java
5
5
100.00%
[]

run starrocks_admit_test

run starrocks_admit_test

run starrocks_fe_unittest

run starrocks_admit_test

run starrocks_fe_unittest

[FE PR Coverage Check]
:disappointed: fail : 642 / 1176 (54.59%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/operator/logical/LogicalScanOperator.java
0
3
00.00%
[79, 83, 84]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEventFactory.java
0
3
00.00%
[60, 73, 74]

:large_blue_circle:
com/starrocks/scheduler/PartitionBasedMaterializedViewRefreshProcessor.java
0
5
00.00%
[261, 512, 513, 514, 515]

:large_blue_circle:
com/starrocks/common/proc/HMSTablePartitionsProcDir.java
0
6
00.00%
[40, 44, 45, 46, 47, 49]

:large_blue_circle:
com/starrocks/service/FrontendServiceImpl.java
0
1
00.00%
[1269]

:large_blue_circle:
com/starrocks/sql/optimizer/operator/ScanOperatorPredicates.java
0
5
00.00%
[43, 44, 45, 46, 47]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEventsProcessor.java
0
1
00.00%
[209]

:large_blue_circle:
com/starrocks/sql/optimizer/operator/logical/LogicalHudiScanOperator.java
0
3
00.00%
[72, 76, 77]

:large_blue_circle:
com/starrocks/external/hive/events/DropTableEvent.java
0
2
00.00%
[47, 58]

:large_blue_circle:
com/starrocks/sql/optimizer/Utils.java
0
3
00.00%
[349, 350, 352]

:large_blue_circle:
com/starrocks/sql/optimizer/OptimizerTraceUtil.java
0
2
00.00%
[198, 407]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEvent.java
0
1
00.00%
[43]

:large_blue_circle:
com/starrocks/external/hive/events/AddPartitionEvent.java
0
1
00.00%
[92]

:large_blue_circle:
com/starrocks/sql/Explain.java
0
1
00.00%
[226]

:large_blue_circle:
com/starrocks/sql/optimizer/dump/QueryDumpInfo.java
0
2
00.00%
[140, 141]

:large_blue_circle:
com/starrocks/external/hive/events/InsertEvent.java
0
1
00.00%
[74]

:large_blue_circle:
com/starrocks/connector/jdbc/MysqlSchemaResolver.java
0
1
00.00%
[37]

:large_blue_circle:
com/starrocks/external/hive/events/AlterPartitionEvent.java
0
1
00.00%
[67]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreTableEvent.java
0
1
00.00%
[34]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCSchemaResolver.java
0
1
00.00%
[35]

:large_blue_circle:
com/starrocks/sql/optimizer/dump/HiveTableDumpInfo.java
0
13
00.00%
[26, 31, 63, 70, 71, 72, 73, 75, 109, 110, 111, 112, 114]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCConnector.java
0
1
00.00%
[82]

:large_blue_circle:
com/starrocks/external/hive/events/AlterTableEvent.java
0
1
00.00%
[92]

:large_blue_circle:
com/starrocks/external/hive/IHiveMetastore.java
0
3
00.00%
[32, 35, 39]

:large_blue_circle:
com/starrocks/external/RemotePathKey.java
0
3
00.00%
[30, 31, 32]

:large_blue_circle:
com/starrocks/external/hive/HiveMetaClient.java
0
3
00.00%
[158, 160, 162]

:large_blue_circle:
com/starrocks/connector/ConnectorMetadata.java
0
2
00.00%
[106, 109]

:large_blue_circle:
com/starrocks/external/RemoteScanRangeLocations.java
0
6
00.00%
[160, 161, 162, 168, 172, 190]

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/StatisticsCalculator.java
1
20
05.00%
[281, 282, 284, 286, 288, 289, 290, 291, 293, 294, 295, 296, 297, 298, 299, 303, 304, 305, 306]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/RemoteScanPartitionPruneRule.java
1
17
05.88%
[83, 84, 93, 94, 95, 96, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCMetadata.java
1
6
16.67%
[37, 45, 61, 73, 90]

:large_blue_circle:
com/starrocks/connector/hive/CacheUpdateProcessor.java
12
68
17.65%
[53, 54, 56, 57, 58, 59, 60, 61, 62, 64, 66, 67, 68, 69, 70, 71, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 87, 89, 90, 93, 96, 97, 98, 99, 100, 101, 103, 105, 106, 107, 108, 109, 110, 112, 113, 114, 115, 117, 119, 120, 121, 123, 124, 125, 127]

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
2
11
18.18%
[2256, 3033, 3039, 3040, 3041, 3043, 3048, 3049, 3052]

:large_blue_circle:
com/starrocks/connector/hudi/HudiMetadata.java
11
44
25.00%
[68, 69, 80, 81, 82, 90, 91, 92, 93, 95, 96, 98, 101, 108, 110, 111, 113, 114, 117, 118, 120, 121, 122, 123, 124, 128, 129, 130, 131, 133, 137, 138, 139]

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
5
18
27.78%
[2423, 2424, 2425, 2461, 2462, 2463, 2464, 2479, 2485, 2503, 2505, 2507, 2509]

:large_blue_circle:
com/starrocks/external/CachingRemoteFileIO.java
2
7
28.57%
[71, 72, 73, 77, 78]

:large_blue_circle:
com/starrocks/external/hive/HivePartitionStats.java
6
12
50.00%
[16, 34, 35, 36, 37, 38]

:large_blue_circle:
com/starrocks/external/iceberg/IcebergUtil.java
1
2
50.00%
[312]

:large_blue_circle:
com/starrocks/external/RemoteFileBlockDesc.java
1
2
50.00%
[36]

:large_blue_circle:
com/starrocks/qe/HDFSBackendSelector.java
1
2
50.00%
[84]

:large_blue_circle:
com/starrocks/server/MetadataMgr.java
29
56
51.79%
[54, 65, 66, 78, 101, 102, 103, 105, 106, 107, 108, 109, 111, 129, 130, 131, 135, 136, 137, 139, 140, 141, 142, 143, 145, 149, 150]

:large_blue_circle:
com/starrocks/external/hive/CachingHiveMetastore.java
25
49
51.02%
[253, 276, 278, 279, 280, 282, 283, 284, 285, 286, 288, 289, 291, 292, 293, 294, 295, 296, 298, 301, 302, 304, 305, 306]

:large_blue_circle:
com/starrocks/catalog/HiveTable.java
20
37
54.05%
[192, 193, 194, 198, 203, 204, 205, 207, 208, 209, 225, 254, 255, 256, 295, 296, 334]

:large_blue_circle:
com/starrocks/external/PartitionUtil.java
52
93
55.91%
[36, 114, 115, 116, 117, 119, 121, 122, 123, 125, 126, 128, 129, 130, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 147, 149, 150, 152, 153, 154, 155, 156, 157, 158, 159, 160, 162]

:large_blue_circle:
com/starrocks/external/RemoteFileOperations.java
4
7
57.14%
[90, 121, 122]

:large_blue_circle:
com/starrocks/server/TableFactory.java
75
127
59.06%
[33, 47, 48, 50, 88, 113, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 130, 133, 134, 135, 137, 139, 150, 156, 165, 166, 169, 170, 171, 172, 174, 175, 176, 177, 179, 180, 181, 183, 184, 186, 188, 189, 190, 191, 193, 194, 203, 213]

:large_blue_circle:
com/starrocks/connector/hudi/HudiMetadataFactory.java
9
15
60.00%
[45, 46, 47, 48, 52, 54]

:large_blue_circle:
com/starrocks/external/hive/HiveColumnStats.java
58
90
64.44%
[41, 43, 44, 45, 46, 48, 50, 51, 95, 107, 108, 133, 137, 138, 140, 144, 155, 159, 171, 176, 177, 178, 180, 187, 188, 189, 190, 191, 192, 193, 194, 195]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastoreApiConverter.java
60
93
64.52%
[86, 87, 89, 90, 91, 94, 95, 96, 97, 99, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 159, 160, 162, 163, 164, 165, 166, 167, 168, 170, 218]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetadata.java
15
22
68.18%
[139, 140, 142, 144, 147, 148, 149]

:large_blue_circle:
com/starrocks/external/ColumnTypeConverter.java
40
55
72.73%
[113, 115, 122, 125, 143, 144, 149, 150, 151, 152, 154, 155, 157, 170, 171]

:large_blue_circle:
com/starrocks/catalog/HudiTable.java
51
65
78.46%
[124, 146, 147, 148, 192, 221, 222, 223, 248, 259, 269, 270, 304, 305]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastore.java
12
15
80.00%
[53, 59, 109]

:large_blue_circle:
com/starrocks/external/hive/HiveStatisticsProvider.java
14
17
82.35%
[68, 184, 351]

:large_blue_circle:
com/starrocks/connector/hudi/HudiConnector.java
14
17
82.35%
[39, 61, 62]

:large_blue_circle:
com/starrocks/connector/hudi/HudiConnectorInternalMgr.java
46
55
83.64%
[58, 59, 61, 62, 64, 65, 67, 75, 98]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetadataFactory.java
6
7
85.71%
[66]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastoreOperations.java
13
15
86.67%
[89, 96]

:large_blue_circle:
com/starrocks/external/hive/HivePartitionName.java
17
18
94.44%
[58]

:large_blue_circle:
com/starrocks/connector/hive/HiveConnectorInternalMgr.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/proc/ExternalTablesProcDir.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/CreateTableAnalyzer.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/external/RemoteFileInfo.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/IcebergTable.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/server/CatalogMgr.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/connector/hive/HiveConnector.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/external/hive/HiveRemoteFileIO.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/proc/ExternalDbsProcDir.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/ResourceMgr.java
15
15
100.00%
[]

:large_blue_circle:
com/starrocks/connector/ConnectorMgr.java
5
5
100.00%
[]

run starrocks_admit_test

[FE PR Coverage Check]
:disappointed: fail : 643 / 1177 (54.63%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/operator/logical/LogicalScanOperator.java
0
3
00.00%
[79, 83, 84]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEventFactory.java
0
3
00.00%
[60, 73, 74]

:large_blue_circle:
com/starrocks/scheduler/PartitionBasedMaterializedViewRefreshProcessor.java
0
5
00.00%
[261, 512, 513, 514, 515]

:large_blue_circle:
com/starrocks/common/proc/HMSTablePartitionsProcDir.java
0
6
00.00%
[40, 44, 45, 46, 47, 49]

:large_blue_circle:
com/starrocks/service/FrontendServiceImpl.java
0
1
00.00%
[1272]

:large_blue_circle:
com/starrocks/sql/optimizer/operator/ScanOperatorPredicates.java
0
5
00.00%
[43, 44, 45, 46, 47]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEventsProcessor.java
0
1
00.00%
[209]

:large_blue_circle:
com/starrocks/sql/optimizer/operator/logical/LogicalHudiScanOperator.java
0
3
00.00%
[72, 76, 77]

:large_blue_circle:
com/starrocks/external/hive/events/DropTableEvent.java
0
2
00.00%
[47, 58]

:large_blue_circle:
com/starrocks/sql/optimizer/Utils.java
0
3
00.00%
[349, 350, 352]

:large_blue_circle:
com/starrocks/sql/optimizer/OptimizerTraceUtil.java
0
2
00.00%
[198, 407]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEvent.java
0
1
00.00%
[43]

:large_blue_circle:
com/starrocks/external/hive/events/AddPartitionEvent.java
0
1
00.00%
[92]

:large_blue_circle:
com/starrocks/sql/Explain.java
0
1
00.00%
[226]

:large_blue_circle:
com/starrocks/sql/optimizer/dump/QueryDumpInfo.java
0
2
00.00%
[140, 141]

:large_blue_circle:
com/starrocks/external/hive/events/InsertEvent.java
0
1
00.00%
[74]

:large_blue_circle:
com/starrocks/connector/jdbc/MysqlSchemaResolver.java
0
1
00.00%
[37]

:large_blue_circle:
com/starrocks/external/hive/events/AlterPartitionEvent.java
0
1
00.00%
[67]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreTableEvent.java
0
1
00.00%
[34]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCSchemaResolver.java
0
1
00.00%
[35]

:large_blue_circle:
com/starrocks/sql/optimizer/dump/HiveTableDumpInfo.java
0
13
00.00%
[26, 31, 63, 70, 71, 72, 73, 75, 109, 110, 111, 112, 114]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCConnector.java
0
1
00.00%
[82]

:large_blue_circle:
com/starrocks/external/hive/events/AlterTableEvent.java
0
1
00.00%
[92]

:large_blue_circle:
com/starrocks/external/hive/IHiveMetastore.java
0
3
00.00%
[32, 35, 39]

:large_blue_circle:
com/starrocks/external/RemotePathKey.java
0
3
00.00%
[30, 31, 32]

:large_blue_circle:
com/starrocks/external/hive/HiveMetaClient.java
0
3
00.00%
[158, 160, 162]

:large_blue_circle:
com/starrocks/connector/ConnectorMetadata.java
0
2
00.00%
[106, 109]

:large_blue_circle:
com/starrocks/external/RemoteScanRangeLocations.java
0
6
00.00%
[160, 161, 162, 168, 172, 190]

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/StatisticsCalculator.java
1
20
05.00%
[281, 282, 284, 286, 288, 289, 290, 291, 293, 294, 295, 296, 297, 298, 299, 303, 304, 305, 306]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/RemoteScanPartitionPruneRule.java
1
17
05.88%
[83, 84, 93, 94, 95, 96, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCMetadata.java
1
6
16.67%
[37, 45, 61, 73, 90]

:large_blue_circle:
com/starrocks/connector/hive/CacheUpdateProcessor.java
12
68
17.65%
[53, 54, 56, 57, 58, 59, 60, 61, 62, 64, 66, 67, 68, 69, 70, 71, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 87, 89, 90, 93, 96, 97, 98, 99, 100, 101, 103, 105, 106, 107, 108, 109, 110, 112, 113, 114, 115, 117, 119, 120, 121, 123, 124, 125, 127]

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
2
11
18.18%
[2256, 3033, 3039, 3040, 3041, 3043, 3048, 3049, 3052]

:large_blue_circle:
com/starrocks/connector/hudi/HudiMetadata.java
11
44
25.00%
[68, 69, 80, 81, 82, 90, 91, 92, 93, 95, 96, 98, 101, 108, 110, 111, 113, 114, 117, 118, 120, 121, 122, 123, 124, 128, 129, 130, 131, 133, 137, 138, 139]

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
5
18
27.78%
[2423, 2424, 2425, 2461, 2462, 2463, 2464, 2479, 2485, 2503, 2505, 2507, 2509]

:large_blue_circle:
com/starrocks/external/CachingRemoteFileIO.java
2
7
28.57%
[71, 72, 73, 77, 78]

:large_blue_circle:
com/starrocks/external/hive/HivePartitionStats.java
6
12
50.00%
[16, 34, 35, 36, 37, 38]

:large_blue_circle:
com/starrocks/external/iceberg/IcebergUtil.java
1
2
50.00%
[312]

:large_blue_circle:
com/starrocks/external/RemoteFileBlockDesc.java
1
2
50.00%
[36]

:large_blue_circle:
com/starrocks/qe/HDFSBackendSelector.java
1
2
50.00%
[84]

:large_blue_circle:
com/starrocks/server/MetadataMgr.java
29
56
51.79%
[52, 63, 64, 76, 99, 100, 101, 103, 104, 105, 106, 107, 109, 127, 128, 129, 133, 134, 135, 137, 138, 139, 140, 141, 143, 147, 148]

:large_blue_circle:
com/starrocks/external/hive/CachingHiveMetastore.java
25
49
51.02%
[253, 276, 278, 279, 280, 282, 283, 284, 285, 286, 288, 289, 291, 292, 293, 294, 295, 296, 298, 301, 302, 304, 305, 306]

:large_blue_circle:
com/starrocks/catalog/HiveTable.java
20
37
54.05%
[192, 193, 194, 198, 203, 204, 205, 207, 208, 209, 225, 254, 255, 256, 295, 296, 334]

:large_blue_circle:
com/starrocks/external/PartitionUtil.java
52
93
55.91%
[36, 114, 115, 116, 117, 119, 121, 122, 123, 125, 126, 128, 129, 130, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 147, 149, 150, 152, 153, 154, 155, 156, 157, 158, 159, 160, 162]

:large_blue_circle:
com/starrocks/external/RemoteFileOperations.java
4
7
57.14%
[90, 121, 122]

:large_blue_circle:
com/starrocks/server/TableFactory.java
75
127
59.06%
[33, 47, 48, 50, 88, 113, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 130, 133, 134, 135, 137, 139, 150, 156, 165, 166, 169, 170, 171, 172, 174, 175, 176, 177, 179, 180, 181, 183, 184, 186, 188, 189, 190, 191, 193, 194, 203, 213]

:large_blue_circle:
com/starrocks/connector/hudi/HudiMetadataFactory.java
9
15
60.00%
[45, 46, 47, 48, 52, 54]

:large_blue_circle:
com/starrocks/external/hive/HiveColumnStats.java
58
90
64.44%
[41, 43, 44, 45, 46, 48, 50, 51, 95, 107, 108, 133, 137, 138, 140, 144, 155, 159, 171, 176, 177, 178, 180, 187, 188, 189, 190, 191, 192, 193, 194, 195]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastoreApiConverter.java
60
93
64.52%
[86, 87, 89, 90, 91, 94, 95, 96, 97, 99, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 159, 160, 162, 163, 164, 165, 166, 167, 168, 170, 218]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetadata.java
15
22
68.18%
[139, 140, 142, 144, 147, 148, 149]

:large_blue_circle:
com/starrocks/external/ColumnTypeConverter.java
40
55
72.73%
[113, 115, 122, 125, 143, 144, 149, 150, 151, 152, 154, 155, 157, 170, 171]

:large_blue_circle:
com/starrocks/catalog/HudiTable.java
51
65
78.46%
[124, 146, 147, 148, 192, 221, 222, 223, 248, 259, 269, 270, 304, 305]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastore.java
12
15
80.00%
[53, 59, 109]

:large_blue_circle:
com/starrocks/external/hive/HiveStatisticsProvider.java
14
17
82.35%
[68, 184, 351]

:large_blue_circle:
com/starrocks/connector/hudi/HudiConnector.java
14
17
82.35%
[39, 61, 62]

:large_blue_circle:
com/starrocks/connector/hudi/HudiConnectorInternalMgr.java
46
55
83.64%
[58, 59, 61, 62, 64, 65, 67, 75, 98]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetadataFactory.java
6
7
85.71%
[66]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastoreOperations.java
13
15
86.67%
[89, 96]

:large_blue_circle:
com/starrocks/external/hive/HivePartitionName.java
17
18
94.44%
[58]

:large_blue_circle:
com/starrocks/connector/hive/HiveConnectorInternalMgr.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/proc/ExternalTablesProcDir.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/CreateTableAnalyzer.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/external/RemoteFileInfo.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/IcebergTable.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/server/CatalogMgr.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/connector/hive/HiveConnector.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/external/hive/HiveRemoteFileIO.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/qe/StmtExecutor.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/proc/ExternalDbsProcDir.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/ResourceMgr.java
15
15
100.00%
[]

:large_blue_circle:
com/starrocks/connector/ConnectorMgr.java
5
5
100.00%
[]

run starrocks_admit_test

run starrocks_admit_test

run starrocks_admit_test

run starrocks_admit_test

run starrocks_fe_unittest

[FE PR Coverage Check]
:disappointed: fail : 644 / 1199 (53.71%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEventFactory.java
0
3
00.00%
[60, 73, 74]

:large_blue_circle:
com/starrocks/scheduler/PartitionBasedMaterializedViewRefreshProcessor.java
0
5
00.00%
[261, 512, 513, 514, 515]

:large_blue_circle:
com/starrocks/common/proc/HMSTablePartitionsProcDir.java
0
6
00.00%
[40, 44, 45, 46, 47, 49]

:large_blue_circle:
com/starrocks/service/FrontendServiceImpl.java
0
1
00.00%
[1272]

:large_blue_circle:
com/starrocks/sql/optimizer/operator/ScanOperatorPredicates.java
0
5
00.00%
[43, 44, 45, 46, 47]

:large_blue_circle:
com/starrocks/sql/optimizer/operator/logical/LogicalHiveScanOperator.java
0
3
00.00%
[72, 76, 77]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEventsProcessor.java
0
1
00.00%
[209]

:large_blue_circle:
com/starrocks/sql/optimizer/operator/logical/LogicalHudiScanOperator.java
0
3
00.00%
[72, 76, 77]

:large_blue_circle:
com/starrocks/external/hive/events/DropTableEvent.java
0
2
00.00%
[47, 58]

:large_blue_circle:
com/starrocks/sql/optimizer/Utils.java
0
3
00.00%
[349, 350, 352]

:large_blue_circle:
com/starrocks/sql/optimizer/OptimizerTraceUtil.java
0
2
00.00%
[198, 407]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEvent.java
0
1
00.00%
[43]

:large_blue_circle:
com/starrocks/external/hive/events/AddPartitionEvent.java
0
1
00.00%
[92]

:large_blue_circle:
com/starrocks/sql/Explain.java
0
1
00.00%
[226]

:large_blue_circle:
com/starrocks/sql/optimizer/dump/QueryDumpInfo.java
0
2
00.00%
[140, 141]

:large_blue_circle:
com/starrocks/external/hive/events/InsertEvent.java
0
1
00.00%
[74]

:large_blue_circle:
com/starrocks/connector/jdbc/MysqlSchemaResolver.java
0
1
00.00%
[37]

:large_blue_circle:
com/starrocks/external/hive/events/AlterPartitionEvent.java
0
1
00.00%
[67]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreTableEvent.java
0
1
00.00%
[34]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCSchemaResolver.java
0
1
00.00%
[35]

:large_blue_circle:
com/starrocks/sql/optimizer/dump/HiveTableDumpInfo.java
0
13
00.00%
[26, 31, 63, 70, 71, 72, 73, 75, 109, 110, 111, 112, 114]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCConnector.java
0
1
00.00%
[82]

:large_blue_circle:
com/starrocks/external/hive/events/AlterTableEvent.java
0
1
00.00%
[92]

:large_blue_circle:
com/starrocks/external/hive/IHiveMetastore.java
0
3
00.00%
[32, 35, 39]

:large_blue_circle:
com/starrocks/external/RemotePathKey.java
0
3
00.00%
[30, 31, 32]

:large_blue_circle:
com/starrocks/external/hive/HiveMetaClient.java
0
3
00.00%
[158, 160, 162]

:large_blue_circle:
com/starrocks/connector/ConnectorMetadata.java
0
2
00.00%
[106, 109]

:large_blue_circle:
com/starrocks/external/RemoteScanRangeLocations.java
0
6
00.00%
[160, 161, 162, 168, 172, 190]

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/StatisticsCalculator.java
1
20
05.00%
[281, 282, 284, 286, 288, 289, 290, 291, 293, 294, 295, 296, 297, 298, 299, 303, 304, 305, 306]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/RemoteScanPartitionPruneRule.java
1
17
05.88%
[83, 84, 93, 94, 95, 96, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCMetadata.java
1
6
16.67%
[37, 45, 61, 73, 90]

:large_blue_circle:
com/starrocks/connector/hive/CacheUpdateProcessor.java
12
68
17.65%
[53, 54, 56, 57, 58, 59, 60, 61, 62, 64, 66, 67, 68, 69, 70, 71, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 87, 89, 90, 93, 96, 97, 98, 99, 100, 101, 103, 105, 106, 107, 108, 109, 110, 112, 113, 114, 115, 117, 119, 120, 121, 123, 124, 125, 127]

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
2
11
18.18%
[2256, 3033, 3039, 3040, 3041, 3043, 3048, 3049, 3052]

:large_blue_circle:
com/starrocks/connector/hudi/HudiMetadata.java
12
49
24.49%
[72, 73, 84, 85, 86, 94, 95, 96, 97, 99, 100, 102, 105, 112, 114, 115, 117, 118, 121, 122, 124, 125, 126, 127, 128, 132, 133, 134, 135, 137, 141, 142, 144, 146, 149, 150, 151]

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
5
18
27.78%
[2423, 2424, 2425, 2461, 2462, 2463, 2464, 2479, 2485, 2503, 2505, 2507, 2509]

:large_blue_circle:
com/starrocks/external/CachingRemoteFileIO.java
2
7
28.57%
[71, 72, 73, 77, 78]

:large_blue_circle:
com/starrocks/external/hive/CachingHiveMetastore.java
25
57
43.86%
[253, 276, 278, 279, 280, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 297, 298, 300, 301, 302, 303, 304, 305, 306, 309, 312, 313, 315, 316, 317]

:large_blue_circle:
com/starrocks/connector/hudi/HudiMetadataFactory.java
9
20
45.00%
[47, 48, 49, 50, 54, 55, 57, 63, 64, 67, 70]

:large_blue_circle:
com/starrocks/external/hive/HivePartitionStats.java
6
12
50.00%
[16, 34, 35, 36, 37, 38]

:large_blue_circle:
com/starrocks/external/iceberg/IcebergUtil.java
1
2
50.00%
[312]

:large_blue_circle:
com/starrocks/external/RemoteFileBlockDesc.java
1
2
50.00%
[36]

:large_blue_circle:
com/starrocks/qe/HDFSBackendSelector.java
1
2
50.00%
[84]

:large_blue_circle:
com/starrocks/server/MetadataMgr.java
29
56
51.79%
[52, 63, 64, 76, 99, 100, 101, 103, 104, 105, 106, 107, 109, 127, 128, 129, 133, 134, 135, 137, 138, 139, 140, 141, 143, 147, 148]

:large_blue_circle:
com/starrocks/catalog/HiveTable.java
20
37
54.05%
[192, 193, 194, 198, 203, 204, 205, 207, 208, 209, 225, 254, 255, 256, 295, 296, 334]

:large_blue_circle:
com/starrocks/external/PartitionUtil.java
52
93
55.91%
[36, 114, 115, 116, 117, 119, 121, 122, 123, 125, 126, 128, 129, 130, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 147, 149, 150, 152, 153, 154, 155, 156, 157, 158, 159, 160, 162]

:large_blue_circle:
com/starrocks/server/TableFactory.java
74
130
56.92%
[33, 47, 48, 50, 86, 111, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 126, 129, 130, 131, 133, 135, 146, 150, 151, 157, 166, 167, 170, 171, 172, 173, 175, 176, 177, 178, 180, 181, 182, 184, 186, 187, 190, 191, 192, 194, 196, 197, 198, 199, 201, 202, 211, 221]

:large_blue_circle:
com/starrocks/external/RemoteFileOperations.java
4
7
57.14%
[90, 121, 122]

:large_blue_circle:
com/starrocks/external/hive/HiveColumnStats.java
58
90
64.44%
[41, 43, 44, 45, 46, 48, 50, 51, 95, 107, 108, 133, 137, 138, 140, 144, 155, 159, 171, 176, 177, 178, 180, 187, 188, 189, 190, 191, 192, 193, 194, 195]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastoreApiConverter.java
61
94
64.89%
[86, 87, 89, 90, 91, 94, 95, 96, 97, 99, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 159, 160, 162, 163, 164, 165, 166, 167, 168, 170, 218]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetadata.java
15
22
68.18%
[139, 140, 142, 144, 147, 148, 149]

:large_blue_circle:
com/starrocks/external/ColumnTypeConverter.java
40
55
72.73%
[113, 115, 122, 125, 143, 144, 149, 150, 151, 152, 154, 155, 157, 170, 171]

:large_blue_circle:
com/starrocks/catalog/HudiTable.java
51
65
78.46%
[124, 146, 147, 148, 192, 221, 222, 223, 248, 259, 269, 270, 304, 305]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastore.java
12
15
80.00%
[53, 59, 109]

:large_blue_circle:
com/starrocks/external/hive/HiveStatisticsProvider.java
14
17
82.35%
[68, 184, 351]

:large_blue_circle:
com/starrocks/connector/hudi/HudiConnector.java
14
17
82.35%
[39, 61, 62]

:large_blue_circle:
com/starrocks/connector/hudi/HudiConnectorInternalMgr.java
46
55
83.64%
[58, 59, 61, 62, 64, 65, 67, 75, 98]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetadataFactory.java
6
7
85.71%
[66]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastoreOperations.java
13
15
86.67%
[89, 96]

:large_blue_circle:
com/starrocks/external/hive/HivePartitionName.java
17
18
94.44%
[58]

:large_blue_circle:
com/starrocks/connector/hive/HiveConnectorInternalMgr.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/proc/ExternalTablesProcDir.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/CreateTableAnalyzer.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/external/RemoteFileInfo.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/IcebergTable.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/server/CatalogMgr.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/connector/hive/HiveConnector.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/external/hive/HiveRemoteFileIO.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/qe/StmtExecutor.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/proc/ExternalDbsProcDir.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/ResourceMgr.java
15
15
100.00%
[]

:large_blue_circle:
com/starrocks/connector/ConnectorMgr.java
5
5
100.00%
[]

shouldn't delete these ut

run starrocks_admit_test

[FE PR Coverage Check]
:disappointed: fail : 658 / 1216 (54.11%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEventFactory.java
0
3
00.00%
[60, 73, 74]

:large_blue_circle:
com/starrocks/scheduler/PartitionBasedMaterializedViewRefreshProcessor.java
0
5
00.00%
[261, 512, 513, 514, 515]

:large_blue_circle:
com/starrocks/common/proc/HMSTablePartitionsProcDir.java
0
6
00.00%
[40, 44, 45, 46, 47, 49]

:large_blue_circle:
com/starrocks/service/FrontendServiceImpl.java
0
1
00.00%
[1272]

:large_blue_circle:
com/starrocks/sql/optimizer/operator/ScanOperatorPredicates.java
0
5
00.00%
[43, 44, 45, 46, 47]

:large_blue_circle:
com/starrocks/sql/optimizer/operator/logical/LogicalHiveScanOperator.java
0
3
00.00%
[72, 76, 77]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEventsProcessor.java
0
1
00.00%
[209]

:large_blue_circle:
com/starrocks/sql/optimizer/operator/logical/LogicalHudiScanOperator.java
0
3
00.00%
[72, 76, 77]

:large_blue_circle:
com/starrocks/external/hive/events/DropTableEvent.java
0
2
00.00%
[47, 58]

:large_blue_circle:
com/starrocks/sql/optimizer/Utils.java
0
3
00.00%
[349, 350, 352]

:large_blue_circle:
com/starrocks/sql/optimizer/OptimizerTraceUtil.java
0
2
00.00%
[198, 407]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEvent.java
0
1
00.00%
[43]

:large_blue_circle:
com/starrocks/external/hive/events/AddPartitionEvent.java
0
1
00.00%
[92]

:large_blue_circle:
com/starrocks/sql/Explain.java
0
1
00.00%
[226]

:large_blue_circle:
com/starrocks/sql/optimizer/dump/QueryDumpInfo.java
0
2
00.00%
[140, 141]

:large_blue_circle:
com/starrocks/external/hive/events/InsertEvent.java
0
1
00.00%
[74]

:large_blue_circle:
com/starrocks/connector/jdbc/MysqlSchemaResolver.java
0
1
00.00%
[37]

:large_blue_circle:
com/starrocks/external/hive/events/AlterPartitionEvent.java
0
1
00.00%
[67]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreTableEvent.java
0
1
00.00%
[34]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCSchemaResolver.java
0
1
00.00%
[35]

:large_blue_circle:
com/starrocks/sql/optimizer/dump/HiveTableDumpInfo.java
0
13
00.00%
[26, 31, 63, 70, 71, 72, 73, 75, 109, 110, 111, 112, 114]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCConnector.java
0
1
00.00%
[82]

:large_blue_circle:
com/starrocks/external/hive/events/AlterTableEvent.java
0
1
00.00%
[92]

:large_blue_circle:
com/starrocks/external/hive/IHiveMetastore.java
0
3
00.00%
[32, 35, 39]

:large_blue_circle:
com/starrocks/external/RemotePathKey.java
0
3
00.00%
[30, 31, 32]

:large_blue_circle:
com/starrocks/external/hive/HiveMetaClient.java
0
3
00.00%
[158, 160, 162]

:large_blue_circle:
com/starrocks/connector/ConnectorMetadata.java
0
2
00.00%
[106, 109]

:large_blue_circle:
com/starrocks/external/RemoteScanRangeLocations.java
0
6
00.00%
[160, 161, 162, 168, 172, 190]

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/StatisticsCalculator.java
1
20
05.00%
[281, 282, 284, 286, 288, 289, 290, 291, 293, 294, 295, 296, 297, 298, 299, 303, 304, 305, 306]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/RemoteScanPartitionPruneRule.java
1
17
05.88%
[83, 84, 93, 94, 95, 96, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCMetadata.java
1
6
16.67%
[37, 45, 61, 73, 90]

:large_blue_circle:
com/starrocks/connector/hive/CacheUpdateProcessor.java
12
68
17.65%
[53, 54, 56, 57, 58, 59, 60, 61, 62, 64, 66, 67, 68, 69, 70, 71, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 87, 89, 90, 93, 96, 97, 98, 99, 100, 101, 103, 105, 106, 107, 108, 109, 110, 112, 113, 114, 115, 117, 119, 120, 121, 123, 124, 125, 127]

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
2
11
18.18%
[2261, 3038, 3044, 3045, 3046, 3048, 3053, 3054, 3057]

:large_blue_circle:
com/starrocks/connector/hudi/HudiMetadata.java
12
49
24.49%
[72, 73, 84, 85, 86, 94, 95, 96, 97, 99, 100, 102, 105, 112, 114, 115, 117, 118, 121, 122, 124, 125, 126, 127, 128, 132, 133, 134, 135, 137, 141, 142, 144, 146, 149, 150, 151]

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
5
18
27.78%
[2423, 2424, 2425, 2461, 2462, 2463, 2464, 2479, 2485, 2503, 2505, 2507, 2509]

:large_blue_circle:
com/starrocks/external/CachingRemoteFileIO.java
2
7
28.57%
[71, 72, 73, 77, 78]

:large_blue_circle:
com/starrocks/external/hive/CachingHiveMetastore.java
25
57
43.86%
[253, 276, 278, 279, 280, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 297, 298, 300, 301, 302, 303, 304, 305, 306, 309, 312, 313, 315, 316, 317]

:large_blue_circle:
com/starrocks/connector/hudi/HudiMetadataFactory.java
9
20
45.00%
[47, 48, 49, 50, 54, 55, 57, 63, 64, 67, 70]

:large_blue_circle:
com/starrocks/external/hive/HivePartitionStats.java
6
12
50.00%
[16, 34, 35, 36, 37, 38]

:large_blue_circle:
com/starrocks/external/iceberg/IcebergUtil.java
1
2
50.00%
[312]

:large_blue_circle:
com/starrocks/external/RemoteFileBlockDesc.java
1
2
50.00%
[36]

:large_blue_circle:
com/starrocks/qe/HDFSBackendSelector.java
1
2
50.00%
[84]

:large_blue_circle:
com/starrocks/server/MetadataMgr.java
29
56
51.79%
[52, 63, 64, 76, 99, 100, 101, 103, 104, 105, 106, 107, 109, 127, 128, 129, 133, 134, 135, 137, 138, 139, 140, 141, 143, 147, 148]

:large_blue_circle:
com/starrocks/catalog/HiveTable.java
20
37
54.05%
[192, 193, 194, 198, 203, 204, 205, 207, 208, 209, 225, 254, 255, 256, 295, 296, 334]

:large_blue_circle:
com/starrocks/external/PartitionUtil.java
50
91
54.95%
[36, 109, 110, 111, 112, 114, 116, 117, 118, 120, 121, 123, 124, 125, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 142, 144, 145, 147, 148, 149, 150, 151, 152, 153, 154, 155, 157]

:large_blue_circle:
com/starrocks/server/TableFactory.java
74
130
56.92%
[33, 47, 48, 50, 86, 111, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 126, 129, 130, 131, 133, 135, 146, 150, 151, 157, 166, 167, 170, 171, 172, 173, 175, 176, 177, 178, 180, 181, 182, 184, 186, 187, 190, 191, 192, 194, 196, 197, 198, 199, 201, 202, 211, 221]

:large_blue_circle:
com/starrocks/external/hive/HiveColumnStats.java
58
90
64.44%
[41, 43, 44, 45, 46, 48, 50, 51, 95, 107, 108, 133, 137, 138, 140, 144, 155, 159, 171, 176, 177, 178, 180, 187, 188, 189, 190, 191, 192, 193, 194, 195]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastoreApiConverter.java
61
94
64.89%
[86, 87, 89, 90, 91, 94, 95, 96, 97, 99, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 159, 160, 162, 163, 164, 165, 166, 167, 168, 170, 218]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetadata.java
23
33
69.70%
[99, 109, 110, 151, 152, 154, 156, 159, 160, 161]

:large_blue_circle:
com/starrocks/external/ColumnTypeConverter.java
40
55
72.73%
[113, 115, 122, 125, 143, 144, 149, 150, 151, 152, 154, 155, 157, 170, 171]

:large_blue_circle:
com/starrocks/external/RemoteFileOperations.java
9
12
75.00%
[92, 123, 124]

:large_blue_circle:
com/starrocks/catalog/HudiTable.java
51
65
78.46%
[124, 146, 147, 148, 192, 221, 222, 223, 248, 259, 269, 270, 304, 305]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastore.java
12
15
80.00%
[53, 59, 109]

:large_blue_circle:
com/starrocks/connector/hudi/HudiConnector.java
14
17
82.35%
[39, 61, 62]

:large_blue_circle:
com/starrocks/connector/hudi/HudiConnectorInternalMgr.java
46
55
83.64%
[58, 59, 61, 62, 64, 65, 67, 75, 98]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetadataFactory.java
6
7
85.71%
[66]

:large_blue_circle:
com/starrocks/external/hive/HiveStatisticsProvider.java
17
20
85.00%
[68, 184, 351]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastoreOperations.java
13
15
86.67%
[89, 96]

:large_blue_circle:
com/starrocks/external/hive/HivePartitionName.java
17
18
94.44%
[58]

:large_blue_circle:
com/starrocks/connector/hive/HiveConnectorInternalMgr.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/proc/ExternalTablesProcDir.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/CreateTableAnalyzer.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/external/RemoteFileInfo.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/IcebergTable.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/server/CatalogMgr.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/connector/hive/HiveConnector.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/external/hive/HiveRemoteFileIO.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/qe/StmtExecutor.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/proc/ExternalDbsProcDir.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/ResourceMgr.java
15
15
100.00%
[]

:large_blue_circle:
com/starrocks/connector/ConnectorMgr.java
5
5
100.00%
[]

shouldn't delete these ut

These unit tests are constructed based on deleted structures of this patch, I will refactor these later.

run starrocks_admit_test

[FE PR Coverage Check]
:disappointed: fail : 658 / 1216 (54.11%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEventFactory.java
0
3
00.00%
[60, 73, 74]

:large_blue_circle:
com/starrocks/scheduler/PartitionBasedMaterializedViewRefreshProcessor.java
0
5
00.00%
[261, 512, 513, 514, 515]

:large_blue_circle:
com/starrocks/common/proc/HMSTablePartitionsProcDir.java
0
6
00.00%
[40, 44, 45, 46, 47, 49]

:large_blue_circle:
com/starrocks/service/FrontendServiceImpl.java
0
1
00.00%
[1272]

:large_blue_circle:
com/starrocks/sql/optimizer/operator/ScanOperatorPredicates.java
0
5
00.00%
[43, 44, 45, 46, 47]

:large_blue_circle:
com/starrocks/sql/optimizer/operator/logical/LogicalHiveScanOperator.java
0
3
00.00%
[72, 76, 77]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEventsProcessor.java
0
1
00.00%
[209]

:large_blue_circle:
com/starrocks/sql/optimizer/operator/logical/LogicalHudiScanOperator.java
0
3
00.00%
[72, 76, 77]

:large_blue_circle:
com/starrocks/external/hive/events/DropTableEvent.java
0
2
00.00%
[47, 58]

:large_blue_circle:
com/starrocks/sql/optimizer/Utils.java
0
3
00.00%
[349, 350, 352]

:large_blue_circle:
com/starrocks/sql/optimizer/OptimizerTraceUtil.java
0
2
00.00%
[198, 407]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEvent.java
0
1
00.00%
[43]

:large_blue_circle:
com/starrocks/external/hive/events/AddPartitionEvent.java
0
1
00.00%
[92]

:large_blue_circle:
com/starrocks/sql/Explain.java
0
1
00.00%
[226]

:large_blue_circle:
com/starrocks/sql/optimizer/dump/QueryDumpInfo.java
0
2
00.00%
[140, 141]

:large_blue_circle:
com/starrocks/external/hive/events/InsertEvent.java
0
1
00.00%
[74]

:large_blue_circle:
com/starrocks/connector/jdbc/MysqlSchemaResolver.java
0
1
00.00%
[37]

:large_blue_circle:
com/starrocks/external/hive/events/AlterPartitionEvent.java
0
1
00.00%
[67]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreTableEvent.java
0
1
00.00%
[34]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCSchemaResolver.java
0
1
00.00%
[35]

:large_blue_circle:
com/starrocks/sql/optimizer/dump/HiveTableDumpInfo.java
0
13
00.00%
[26, 31, 63, 70, 71, 72, 73, 75, 109, 110, 111, 112, 114]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCConnector.java
0
1
00.00%
[82]

:large_blue_circle:
com/starrocks/external/hive/events/AlterTableEvent.java
0
1
00.00%
[92]

:large_blue_circle:
com/starrocks/external/hive/IHiveMetastore.java
0
3
00.00%
[32, 35, 39]

:large_blue_circle:
com/starrocks/external/RemotePathKey.java
0
3
00.00%
[30, 31, 32]

:large_blue_circle:
com/starrocks/external/hive/HiveMetaClient.java
0
3
00.00%
[158, 160, 162]

:large_blue_circle:
com/starrocks/connector/ConnectorMetadata.java
0
2
00.00%
[106, 109]

:large_blue_circle:
com/starrocks/external/RemoteScanRangeLocations.java
0
6
00.00%
[160, 161, 162, 168, 172, 190]

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/StatisticsCalculator.java
1
20
05.00%
[281, 282, 284, 286, 288, 289, 290, 291, 293, 294, 295, 296, 297, 298, 299, 303, 304, 305, 306]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/RemoteScanPartitionPruneRule.java
1
17
05.88%
[83, 84, 93, 94, 95, 96, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCMetadata.java
1
6
16.67%
[37, 45, 61, 73, 90]

:large_blue_circle:
com/starrocks/connector/hive/CacheUpdateProcessor.java
12
68
17.65%
[53, 54, 56, 57, 58, 59, 60, 61, 62, 64, 66, 67, 68, 69, 70, 71, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 87, 89, 90, 93, 96, 97, 98, 99, 100, 101, 103, 105, 106, 107, 108, 109, 110, 112, 113, 114, 115, 117, 119, 120, 121, 123, 124, 125, 127]

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
2
11
18.18%
[2261, 3038, 3044, 3045, 3046, 3048, 3053, 3054, 3057]

:large_blue_circle:
com/starrocks/connector/hudi/HudiMetadata.java
12
49
24.49%
[72, 73, 84, 85, 86, 94, 95, 96, 97, 99, 100, 102, 105, 112, 114, 115, 117, 118, 121, 122, 124, 125, 126, 127, 128, 132, 133, 134, 135, 137, 141, 142, 144, 146, 149, 150, 151]

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
5
18
27.78%
[2423, 2424, 2425, 2461, 2462, 2463, 2464, 2479, 2485, 2503, 2505, 2507, 2509]

:large_blue_circle:
com/starrocks/external/CachingRemoteFileIO.java
2
7
28.57%
[71, 72, 73, 77, 78]

:large_blue_circle:
com/starrocks/external/hive/CachingHiveMetastore.java
25
57
43.86%
[253, 276, 278, 279, 280, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 297, 298, 300, 301, 302, 303, 304, 305, 306, 309, 312, 313, 315, 316, 317]

:large_blue_circle:
com/starrocks/connector/hudi/HudiMetadataFactory.java
9
20
45.00%
[47, 48, 49, 50, 54, 55, 57, 63, 64, 67, 70]

:large_blue_circle:
com/starrocks/external/hive/HivePartitionStats.java
6
12
50.00%
[16, 34, 35, 36, 37, 38]

:large_blue_circle:
com/starrocks/external/iceberg/IcebergUtil.java
1
2
50.00%
[312]

:large_blue_circle:
com/starrocks/external/RemoteFileBlockDesc.java
1
2
50.00%
[36]

:large_blue_circle:
com/starrocks/qe/HDFSBackendSelector.java
1
2
50.00%
[84]

:large_blue_circle:
com/starrocks/server/MetadataMgr.java
29
56
51.79%
[52, 63, 64, 76, 99, 100, 101, 103, 104, 105, 106, 107, 109, 127, 128, 129, 133, 134, 135, 137, 138, 139, 140, 141, 143, 147, 148]

:large_blue_circle:
com/starrocks/catalog/HiveTable.java
20
37
54.05%
[192, 193, 194, 198, 203, 204, 205, 207, 208, 209, 225, 254, 255, 256, 295, 296, 334]

:large_blue_circle:
com/starrocks/external/PartitionUtil.java
50
91
54.95%
[36, 109, 110, 111, 112, 114, 116, 117, 118, 120, 121, 123, 124, 125, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 142, 144, 145, 147, 148, 149, 150, 151, 152, 153, 154, 155, 157]

:large_blue_circle:
com/starrocks/server/TableFactory.java
74
130
56.92%
[33, 47, 48, 50, 86, 111, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 126, 129, 130, 131, 133, 135, 146, 150, 151, 157, 166, 167, 170, 171, 172, 173, 175, 176, 177, 178, 180, 181, 182, 184, 186, 187, 190, 191, 192, 194, 196, 197, 198, 199, 201, 202, 211, 221]

:large_blue_circle:
com/starrocks/external/hive/HiveColumnStats.java
58
90
64.44%
[41, 43, 44, 45, 46, 48, 50, 51, 95, 107, 108, 133, 137, 138, 140, 144, 155, 159, 171, 176, 177, 178, 180, 187, 188, 189, 190, 191, 192, 193, 194, 195]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastoreApiConverter.java
61
94
64.89%
[86, 87, 89, 90, 91, 94, 95, 96, 97, 99, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 159, 160, 162, 163, 164, 165, 166, 167, 168, 170, 218]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetadata.java
23
33
69.70%
[99, 109, 110, 151, 152, 154, 156, 159, 160, 161]

:large_blue_circle:
com/starrocks/external/ColumnTypeConverter.java
40
55
72.73%
[113, 115, 122, 125, 143, 144, 149, 150, 151, 152, 154, 155, 157, 170, 171]

:large_blue_circle:
com/starrocks/external/RemoteFileOperations.java
9
12
75.00%
[92, 123, 124]

:large_blue_circle:
com/starrocks/catalog/HudiTable.java
51
65
78.46%
[124, 146, 147, 148, 192, 221, 222, 223, 248, 259, 269, 270, 304, 305]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastore.java
12
15
80.00%
[53, 59, 109]

:large_blue_circle:
com/starrocks/connector/hudi/HudiConnector.java
14
17
82.35%
[39, 61, 62]

:large_blue_circle:
com/starrocks/connector/hudi/HudiConnectorInternalMgr.java
46
55
83.64%
[58, 59, 61, 62, 64, 65, 67, 75, 98]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetadataFactory.java
6
7
85.71%
[66]

:large_blue_circle:
com/starrocks/external/hive/HiveStatisticsProvider.java
17
20
85.00%
[68, 184, 351]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastoreOperations.java
13
15
86.67%
[89, 96]

:large_blue_circle:
com/starrocks/external/hive/HivePartitionName.java
17
18
94.44%
[58]

:large_blue_circle:
com/starrocks/connector/hive/HiveConnectorInternalMgr.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/proc/ExternalTablesProcDir.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/CreateTableAnalyzer.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/external/RemoteFileInfo.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/IcebergTable.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/server/CatalogMgr.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/connector/hive/HiveConnector.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/external/hive/HiveRemoteFileIO.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/qe/StmtExecutor.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/proc/ExternalDbsProcDir.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/ResourceMgr.java
15
15
100.00%
[]

:large_blue_circle:
com/starrocks/connector/ConnectorMgr.java
5
5
100.00%
[]

run starrocks_admit_test

[FE PR Coverage Check]
:disappointed: fail : 655 / 1217 (53.82%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEventFactory.java
0
3
00.00%
[60, 73, 74]

:large_blue_circle:
com/starrocks/scheduler/PartitionBasedMaterializedViewRefreshProcessor.java
0
5
00.00%
[261, 512, 513, 514, 515]

:large_blue_circle:
com/starrocks/common/proc/HMSTablePartitionsProcDir.java
0
6
00.00%
[40, 44, 45, 46, 47, 49]

:large_blue_circle:
com/starrocks/service/FrontendServiceImpl.java
0
1
00.00%
[1272]

:large_blue_circle:
com/starrocks/sql/optimizer/operator/ScanOperatorPredicates.java
0
5
00.00%
[43, 44, 45, 46, 47]

:large_blue_circle:
com/starrocks/sql/optimizer/operator/logical/LogicalHiveScanOperator.java
0
3
00.00%
[72, 76, 77]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEventsProcessor.java
0
1
00.00%
[209]

:large_blue_circle:
com/starrocks/sql/optimizer/operator/logical/LogicalHudiScanOperator.java
0
3
00.00%
[72, 76, 77]

:large_blue_circle:
com/starrocks/external/hive/events/DropTableEvent.java
0
2
00.00%
[47, 58]

:large_blue_circle:
com/starrocks/sql/optimizer/Utils.java
0
3
00.00%
[349, 350, 352]

:large_blue_circle:
com/starrocks/sql/optimizer/OptimizerTraceUtil.java
0
2
00.00%
[198, 407]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEvent.java
0
1
00.00%
[43]

:large_blue_circle:
com/starrocks/external/hive/events/AddPartitionEvent.java
0
1
00.00%
[92]

:large_blue_circle:
com/starrocks/sql/Explain.java
0
1
00.00%
[226]

:large_blue_circle:
com/starrocks/sql/optimizer/dump/QueryDumpInfo.java
0
2
00.00%
[140, 141]

:large_blue_circle:
com/starrocks/external/hive/events/InsertEvent.java
0
1
00.00%
[74]

:large_blue_circle:
com/starrocks/connector/jdbc/MysqlSchemaResolver.java
0
1
00.00%
[37]

:large_blue_circle:
com/starrocks/external/hive/events/AlterPartitionEvent.java
0
1
00.00%
[67]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreTableEvent.java
0
1
00.00%
[34]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCSchemaResolver.java
0
1
00.00%
[35]

:large_blue_circle:
com/starrocks/sql/optimizer/dump/HiveTableDumpInfo.java
0
13
00.00%
[26, 31, 63, 70, 71, 72, 73, 75, 109, 110, 111, 112, 114]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCConnector.java
0
1
00.00%
[82]

:large_blue_circle:
com/starrocks/external/hive/events/AlterTableEvent.java
0
1
00.00%
[92]

:large_blue_circle:
com/starrocks/external/hive/IHiveMetastore.java
0
3
00.00%
[32, 35, 39]

:large_blue_circle:
com/starrocks/external/RemotePathKey.java
0
3
00.00%
[30, 31, 32]

:large_blue_circle:
com/starrocks/external/hive/HiveMetaClient.java
0
3
00.00%
[158, 160, 162]

:large_blue_circle:
com/starrocks/connector/ConnectorMetadata.java
0
2
00.00%
[106, 109]

:large_blue_circle:
com/starrocks/external/RemoteScanRangeLocations.java
0
6
00.00%
[160, 161, 162, 168, 172, 190]

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/StatisticsCalculator.java
1
20
05.00%
[281, 282, 284, 286, 288, 289, 290, 291, 293, 294, 295, 296, 297, 298, 299, 303, 304, 305, 306]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/RemoteScanPartitionPruneRule.java
1
17
05.88%
[83, 84, 93, 94, 95, 96, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107]

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
1
10
10.00%
[2261, 3032, 3038, 3044, 3045, 3046, 3053, 3054, 3057]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCMetadata.java
1
6
16.67%
[37, 45, 61, 73, 90]

:large_blue_circle:
com/starrocks/connector/hive/CacheUpdateProcessor.java
12
68
17.65%
[53, 54, 56, 57, 58, 59, 60, 61, 62, 64, 66, 67, 68, 69, 70, 71, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 87, 89, 90, 93, 96, 97, 98, 99, 100, 101, 103, 105, 106, 107, 108, 109, 110, 112, 113, 114, 115, 117, 119, 120, 121, 123, 124, 125, 127]

:large_blue_circle:
com/starrocks/connector/hudi/HudiMetadata.java
12
56
21.43%
[74, 75, 86, 87, 88, 96, 97, 99, 100, 102, 103, 104, 105, 106, 107, 108, 110, 111, 113, 116, 123, 125, 126, 128, 129, 132, 133, 135, 136, 137, 138, 139, 143, 144, 145, 146, 148, 152, 153, 155, 157, 160, 161, 162]

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
3
13
23.08%
[2423, 2461, 2464, 2465, 2469, 2471, 2481, 2493, 2505, 2509]

:large_blue_circle:
com/starrocks/external/CachingRemoteFileIO.java
2
7
28.57%
[71, 72, 73, 77, 78]

:large_blue_circle:
com/starrocks/external/hive/CachingHiveMetastore.java
25
57
43.86%
[253, 276, 278, 279, 280, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 297, 298, 300, 301, 302, 303, 304, 305, 306, 309, 312, 313, 315, 316, 317]

:large_blue_circle:
com/starrocks/connector/hudi/HudiMetadataFactory.java
9
20
45.00%
[47, 48, 49, 50, 54, 55, 57, 63, 64, 67, 70]

:large_blue_circle:
com/starrocks/external/hive/HivePartitionStats.java
6
12
50.00%
[16, 34, 35, 36, 37, 38]

:large_blue_circle:
com/starrocks/external/iceberg/IcebergUtil.java
1
2
50.00%
[312]

:large_blue_circle:
com/starrocks/external/RemoteFileBlockDesc.java
1
2
50.00%
[36]

:large_blue_circle:
com/starrocks/qe/HDFSBackendSelector.java
1
2
50.00%
[84]

:large_blue_circle:
com/starrocks/server/MetadataMgr.java
29
56
51.79%
[52, 63, 64, 76, 99, 100, 101, 103, 104, 105, 106, 107, 109, 127, 128, 129, 133, 134, 135, 137, 138, 139, 140, 141, 143, 147, 148]

:large_blue_circle:
com/starrocks/catalog/HiveTable.java
20
37
54.05%
[192, 193, 194, 198, 203, 204, 205, 207, 208, 209, 225, 254, 255, 256, 295, 296, 334]

:large_blue_circle:
com/starrocks/external/PartitionUtil.java
50
91
54.95%
[36, 109, 110, 111, 112, 114, 116, 117, 118, 120, 121, 123, 124, 125, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 142, 144, 145, 147, 148, 149, 150, 151, 152, 153, 154, 155, 157]

:large_blue_circle:
com/starrocks/server/TableFactory.java
74
130
56.92%
[33, 47, 48, 50, 86, 111, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 126, 129, 130, 131, 133, 135, 146, 150, 151, 157, 166, 167, 170, 171, 172, 173, 175, 176, 177, 178, 180, 181, 182, 184, 186, 187, 190, 191, 192, 194, 196, 197, 198, 199, 201, 202, 211, 221]

:large_blue_circle:
com/starrocks/external/hive/HiveColumnStats.java
58
90
64.44%
[41, 43, 44, 45, 46, 48, 50, 51, 95, 107, 108, 133, 137, 138, 140, 144, 155, 159, 171, 176, 177, 178, 180, 187, 188, 189, 190, 191, 192, 193, 194, 195]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastoreApiConverter.java
61
94
64.89%
[86, 87, 89, 90, 91, 94, 95, 96, 97, 99, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 159, 160, 162, 163, 164, 165, 166, 167, 168, 170, 218]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetadata.java
23
33
69.70%
[99, 109, 110, 151, 152, 154, 156, 159, 160, 161]

:large_blue_circle:
com/starrocks/external/ColumnTypeConverter.java
40
55
72.73%
[113, 115, 122, 125, 143, 144, 149, 150, 151, 152, 154, 155, 157, 170, 171]

:large_blue_circle:
com/starrocks/external/RemoteFileOperations.java
9
12
75.00%
[92, 123, 124]

:large_blue_circle:
com/starrocks/catalog/HudiTable.java
51
65
78.46%
[124, 146, 147, 148, 192, 221, 222, 223, 248, 259, 269, 270, 304, 305]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastore.java
12
15
80.00%
[53, 59, 109]

:large_blue_circle:
com/starrocks/connector/hudi/HudiConnector.java
14
17
82.35%
[39, 61, 62]

:large_blue_circle:
com/starrocks/connector/hudi/HudiConnectorInternalMgr.java
46
55
83.64%
[58, 59, 61, 62, 64, 65, 67, 75, 98]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetadataFactory.java
6
7
85.71%
[66]

:large_blue_circle:
com/starrocks/external/hive/HiveStatisticsProvider.java
17
20
85.00%
[68, 184, 351]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastoreOperations.java
13
15
86.67%
[89, 96]

:large_blue_circle:
com/starrocks/external/hive/HivePartitionName.java
17
18
94.44%
[58]

:large_blue_circle:
com/starrocks/connector/hive/HiveConnectorInternalMgr.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/proc/ExternalTablesProcDir.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/CreateTableAnalyzer.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/external/RemoteFileInfo.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/IcebergTable.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/server/CatalogMgr.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/connector/hive/HiveConnector.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/external/hive/HiveRemoteFileIO.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/qe/StmtExecutor.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/proc/ExternalDbsProcDir.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/ResourceMgr.java
15
15
100.00%
[]

:large_blue_circle:
com/starrocks/connector/ConnectorMgr.java
5
5
100.00%
[]

run starrocks_admit_test

run starrocks_admit_test

[FE PR Coverage Check]
:disappointed: fail : 667 / 1245 (53.57%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEventFactory.java
0
3
00.00%
[60, 73, 74]

:large_blue_circle:
com/starrocks/scheduler/PartitionBasedMaterializedViewRefreshProcessor.java
0
5
00.00%
[261, 512, 513, 514, 515]

:large_blue_circle:
com/starrocks/common/proc/HMSTablePartitionsProcDir.java
0
6
00.00%
[40, 44, 45, 46, 47, 49]

:large_blue_circle:
com/starrocks/service/FrontendServiceImpl.java
0
1
00.00%
[1272]

:large_blue_circle:
com/starrocks/sql/optimizer/operator/ScanOperatorPredicates.java
0
5
00.00%
[43, 44, 45, 46, 47]

:large_blue_circle:
com/starrocks/sql/optimizer/operator/logical/LogicalHiveScanOperator.java
0
3
00.00%
[72, 76, 77]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEventsProcessor.java
0
1
00.00%
[209]

:large_blue_circle:
com/starrocks/sql/optimizer/operator/logical/LogicalHudiScanOperator.java
0
3
00.00%
[72, 76, 77]

:large_blue_circle:
com/starrocks/external/hive/events/DropTableEvent.java
0
2
00.00%
[47, 58]

:large_blue_circle:
com/starrocks/sql/optimizer/Utils.java
0
3
00.00%
[349, 350, 352]

:large_blue_circle:
com/starrocks/sql/optimizer/OptimizerTraceUtil.java
0
2
00.00%
[198, 407]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreEvent.java
0
1
00.00%
[43]

:large_blue_circle:
com/starrocks/external/hive/events/AddPartitionEvent.java
0
1
00.00%
[92]

:large_blue_circle:
com/starrocks/sql/Explain.java
0
1
00.00%
[226]

:large_blue_circle:
com/starrocks/sql/optimizer/dump/QueryDumpInfo.java
0
2
00.00%
[140, 141]

:large_blue_circle:
com/starrocks/external/hive/events/InsertEvent.java
0
1
00.00%
[74]

:large_blue_circle:
com/starrocks/connector/jdbc/MysqlSchemaResolver.java
0
1
00.00%
[37]

:large_blue_circle:
com/starrocks/external/hive/events/AlterPartitionEvent.java
0
1
00.00%
[67]

:large_blue_circle:
com/starrocks/external/hive/events/MetastoreTableEvent.java
0
1
00.00%
[34]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCSchemaResolver.java
0
1
00.00%
[35]

:large_blue_circle:
com/starrocks/sql/optimizer/dump/HiveTableDumpInfo.java
0
13
00.00%
[26, 31, 63, 70, 71, 72, 73, 75, 109, 110, 111, 112, 114]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCConnector.java
0
1
00.00%
[82]

:large_blue_circle:
com/starrocks/external/hive/events/AlterTableEvent.java
0
1
00.00%
[92]

:large_blue_circle:
com/starrocks/external/hive/IHiveMetastore.java
0
3
00.00%
[32, 35, 39]

:large_blue_circle:
com/starrocks/external/RemotePathKey.java
0
3
00.00%
[30, 31, 32]

:large_blue_circle:
com/starrocks/external/hive/HiveMetaClient.java
0
3
00.00%
[158, 160, 162]

:large_blue_circle:
com/starrocks/connector/ConnectorMetadata.java
0
2
00.00%
[106, 109]

:large_blue_circle:
com/starrocks/external/RemoteScanRangeLocations.java
0
6
00.00%
[160, 161, 162, 168, 172, 190]

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/StatisticsCalculator.java
1
20
05.00%
[281, 282, 284, 286, 288, 289, 290, 291, 293, 294, 295, 296, 297, 298, 299, 303, 304, 305, 306]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/RemoteScanPartitionPruneRule.java
1
17
05.88%
[83, 84, 93, 94, 95, 96, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107]

:large_blue_circle:
com/starrocks/connector/jdbc/JDBCMetadata.java
1
6
16.67%
[37, 45, 61, 73, 90]

:large_blue_circle:
com/starrocks/connector/hive/CacheUpdateProcessor.java
12
68
17.65%
[53, 54, 56, 57, 58, 59, 60, 61, 62, 64, 66, 67, 68, 69, 70, 71, 74, 75, 76, 77, 78, 79, 80, 81, 83, 84, 85, 87, 89, 90, 93, 96, 97, 98, 99, 100, 101, 103, 105, 106, 107, 108, 109, 110, 112, 113, 114, 115, 117, 119, 120, 121, 123, 124, 125, 127]

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
2
11
18.18%
[2270, 3047, 3053, 3054, 3055, 3057, 3062, 3063, 3066]

:large_blue_circle:
com/starrocks/connector/hudi/HudiMetadata.java
12
56
21.43%
[74, 75, 86, 87, 88, 96, 97, 99, 100, 102, 103, 104, 105, 106, 107, 108, 110, 111, 113, 116, 123, 125, 126, 128, 129, 132, 133, 135, 136, 137, 138, 139, 143, 144, 145, 146, 148, 152, 153, 155, 157, 160, 161, 162]

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
5
18
27.78%
[2430, 2431, 2432, 2468, 2469, 2470, 2471, 2486, 2492, 2510, 2512, 2514, 2516]

:large_blue_circle:
com/starrocks/external/CachingRemoteFileIO.java
2
7
28.57%
[71, 72, 73, 77, 78]

:large_blue_circle:
com/starrocks/external/hive/CachingHiveMetastore.java
25
57
43.86%
[253, 276, 278, 279, 280, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 297, 298, 300, 301, 302, 303, 304, 305, 306, 309, 312, 313, 315, 316, 317]

:large_blue_circle:
com/starrocks/connector/hudi/HudiMetadataFactory.java
9
20
45.00%
[47, 48, 49, 50, 54, 55, 57, 63, 64, 67, 70]

:large_blue_circle:
com/starrocks/external/hive/HivePartitionStats.java
6
12
50.00%
[16, 34, 35, 36, 37, 38]

:large_blue_circle:
com/starrocks/external/iceberg/IcebergUtil.java
1
2
50.00%
[312]

:large_blue_circle:
com/starrocks/external/RemoteFileBlockDesc.java
1
2
50.00%
[36]

:large_blue_circle:
com/starrocks/qe/HDFSBackendSelector.java
1
2
50.00%
[84]

:large_blue_circle:
com/starrocks/server/MetadataMgr.java
29
56
51.79%
[52, 63, 64, 76, 99, 100, 101, 103, 104, 105, 106, 107, 109, 127, 128, 129, 133, 134, 135, 137, 138, 139, 140, 141, 143, 147, 148]

:large_blue_circle:
com/starrocks/catalog/HiveTable.java
20
37
54.05%
[192, 193, 194, 198, 203, 204, 205, 207, 208, 209, 225, 254, 255, 256, 295, 296, 334]

:large_blue_circle:
com/starrocks/external/PartitionUtil.java
50
91
54.95%
[36, 109, 110, 111, 112, 114, 116, 117, 118, 120, 121, 123, 124, 125, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 142, 144, 145, 147, 148, 149, 150, 151, 152, 153, 154, 155, 157]

:large_blue_circle:
com/starrocks/server/TableFactory.java
74
130
56.92%
[34, 48, 49, 51, 87, 112, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 127, 130, 131, 132, 134, 136, 147, 151, 152, 158, 167, 168, 171, 172, 173, 174, 176, 177, 178, 179, 181, 182, 183, 185, 187, 188, 191, 192, 193, 195, 197, 198, 199, 200, 202, 203, 212, 222]

:large_blue_circle:
com/starrocks/external/hive/HiveColumnStats.java
58
90
64.44%
[41, 43, 44, 45, 46, 48, 50, 51, 95, 107, 108, 133, 137, 138, 140, 144, 155, 159, 171, 176, 177, 178, 180, 187, 188, 189, 190, 191, 192, 193, 194, 195]

:large_blue_circle:
com/starrocks/external/ColumnTypeConverter.java
49
76
64.47%
[113, 115, 122, 125, 143, 144, 149, 150, 151, 152, 154, 155, 157, 170, 171, 284, 288, 292, 293, 295, 300, 301, 302, 304, 323, 328, 330]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastoreApiConverter.java
61
94
64.89%
[86, 87, 89, 90, 91, 94, 95, 96, 97, 99, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 159, 160, 162, 163, 164, 165, 166, 167, 168, 170, 218]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetadata.java
23
33
69.70%
[99, 109, 110, 151, 152, 154, 156, 159, 160, 161]

:large_blue_circle:
com/starrocks/external/RemoteFileOperations.java
9
12
75.00%
[92, 123, 124]

:large_blue_circle:
com/starrocks/catalog/HudiTable.java
51
66
77.27%
[124, 146, 147, 148, 188, 196, 225, 226, 227, 252, 263, 273, 274, 308, 309]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastore.java
12
15
80.00%
[53, 59, 109]

:large_blue_circle:
com/starrocks/connector/hudi/HudiConnector.java
14
17
82.35%
[39, 61, 62]

:large_blue_circle:
com/starrocks/connector/hudi/HudiConnectorInternalMgr.java
46
55
83.64%
[58, 59, 61, 62, 64, 65, 67, 75, 98]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetadataFactory.java
6
7
85.71%
[66]

:large_blue_circle:
com/starrocks/external/hive/HiveStatisticsProvider.java
17
20
85.00%
[68, 184, 351]

:large_blue_circle:
com/starrocks/external/hive/HiveMetastoreOperations.java
13
15
86.67%
[89, 96]

:large_blue_circle:
com/starrocks/external/hive/HivePartitionName.java
17
18
94.44%
[58]

:large_blue_circle:
com/starrocks/connector/hive/HiveConnectorInternalMgr.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/proc/ExternalTablesProcDir.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/CreateTableAnalyzer.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/external/RemoteFileInfo.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/IcebergTable.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/server/CatalogMgr.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/connector/hive/HiveConnector.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/external/hive/HiveRemoteFileIO.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/qe/StmtExecutor.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/proc/ExternalDbsProcDir.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/ResourceMgr.java
15
15
100.00%
[]

:large_blue_circle:
com/starrocks/connector/ConnectorMgr.java
5
5
100.00%
[]

LGTM

run starrocks_admit_test

run starrocks_admit_test


[materialized view]not rewrite when inner join

Steps to reproduce the behavior (Required)
CREATE TABLE `aggregate_table_with_null` (
    `k1` date,
    `k2` datetime,
    `k3` char(20),
    `k4` varchar(20),
    `k5` boolean,
    `v1` bigint sum,
    `v2` bigint sum,
    `v3` bigint sum,
    `v4` bigint max,
    `v5` largeint max,
    `v6` float min,
    `v7` double min,
    `v8` decimal(27,9) sum
) ENGINE=OLAP
AGGREGATE KEY(`k1`, `k2`, `k3`, `k4`, `k5`)
COMMENT "OLAP"
DISTRIBUTED BY HASH(`k1`, `k2`, `k3`, `k4`, `k5`) BUCKETS 3
PROPERTIES (
    "replication_num" = "3",
    "storage_format" = "v2"
);
CREATE TABLE `duplicate_table_with_null_partition` (
    `k1` date,
    `k2` datetime,
    `k3` char(20),
    `k4` varchar(20),
    `k5` boolean,
    `k6` tinyint,
    `k7` smallint,
    `k8` int,
    `k9` bigint,
    `k10` largeint,
    `k11` float,
    `k12` double,
    `k13` decimal(27,9)
) ENGINE=OLAP
DUPLICATE KEY(`k1`, `k2`, `k3`, `k4`, `k5`)
COMMENT "OLAP"
PARTITION BY RANGE(`k1`)
(
    PARTITION `p202006` VALUES LESS THAN ("2020-07-01"),
    PARTITION `p202007` VALUES LESS THAN ("2020-08-01"),
    PARTITION `p202008` VALUES LESS THAN ("2020-09-01")
)
DISTRIBUTED BY HASH(`k1`, `k2`, `k3`, `k4`, `k5`) BUCKETS 3
PROPERTIES (
    "replication_num" = "3",
    "storage_format" = "v2"
);
INSERT INTO duplicate_table_with_null_partition VALUES
("2020-06-23","2020-06-23 00:00:00","beijing","haidian",-1,-128,-32768,-2147483648,-9223372036854775808,-18446744073709551616,-3.1,-3.14,-3.141),
("2020-07-23","2020-07-23 00:00:00","shanghai","pudong",0,0,0,0,0,0,-3.1,-3.14,-3.141),
("2020-07-23","2020-07-24 00:00:00","shanghai1","pudong1",1,1,1,1,1,1,-3.2,-3.44,-3.441),
("2020-08-23","2020-08-23 00:00:00","xian","zhonglou",1,127,32767,2147483647,9223372036854775807,18446744073709551615,-3.1,-3.14,-3.141),
(NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO aggregate_table_with_null VALUES
("2020-06-23","2020-06-23 00:00:00","beijing","haidian",-1,-128,-32768,-2147483648,-9223372036854775808,-18446744073709551616,-3.1,-3.14,-3.141),
("2020-07-23","2020-07-23 00:00:00","shanghai","pudong",0,0,0,0,0,0,-3.1,-3.14,-3.141),
("2020-07-23","2020-07-24 00:00:00","shanghai1","pudong1",1,1,1,1,1,1,-3.2,-3.44,-3.441),
("2020-08-23","2020-08-23 00:00:00","xian","zhonglou",1,127,32767,2147483647,9223372036854775807,18446744073709551615,-3.1,-3.14,-3.141),
(NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
CREATE MATERIALIZED VIEW mv1 DISTRIBUTED BY HASH(k1) BUCKETS 10 REFRESH ASYNC AS SELECT k1 from duplicate_table_with_null_partition;
CREATE MATERIALIZED VIEW mv19
                             DISTRIBUTED BY HASH(k1) BUCKETS 10
                             REFRESH ASYNC
                             AS SELECT t1.k1 k1, t2.k2 k2 from duplicate_table_with_null_partition t1 join aggregate_table_with_null t2 on t1.k1 = t2.k1;

explain SELECT t1.k1 k1, t2.k2 k2 from duplicate_table_with_null_partition t1 join aggregate_table_with_null t2 on t1.k1 = t2.k1;
Expected behavior (Required)
TABLE: mv19
Real behavior (Required)
TABLE: mv1
StarRocks version (Required)

You can get the StarRocks version by executing SQL select current_version()

+----------------------------+
| current_version()          |
+----------------------------+
| BRANCH-2.5-RELEASE 5aecbfd |
+----------------------------+

This is as expected, mv1 has higher priority.


docs: Format options as literals

This makes the output a little prettier.
 :) But then again, Pull Request check is green, I think it's safe to merge.


[SELinux] verify cloud-config customization works when SELinux is in Enforcing mode

Check Security Context with basic cloud-config commands (e.g, file creations) and more elaborated cloud-config customizations (e.g, Longhorn integration).

too broad, we rely on CI here (and on user feedback)


SelectWordLeft selects characters to the RIGHT of the cursor

Description of the problem or steps to reproduce

Type this:

[]

Put the cursor here:

 [ ]
^

Perform the action SelectWordLeft

Expected result: Nothing is selected, as SelectWordLeft should only select characters to the left of the cursor
Actual result: [ is selected
Note: This bug impacts the default "Alt-Backspace": "DeleteWordLeft" keybinding, causing it to delete characters to the right of the cursor.
Specifications
Commit hash: 68d88b57
OS: macOS Sonoma 14.5
Terminal: Ghostty

Note that this bug impacts the default "Alt-Backspace": "DeleteWordLeft" keybinding, causing it to delete characters to the right of the cursor.

This seems to be fixed in the commit I mentioned in this comment: https://github.com/zyedidia/micro/issues/3381#issuecomment-2225928391

Confirmed fixed on version 2.0.14-dev.227 (commit hash: a10624cc)

@zyedidia Is it possible to cut a release soon with this bug fix?

There has been a lot more commits added compared to previous releases so I think a new release already has to be made, but I do not know if v2.0.14 has been discussed with @zyedidia. There may still be bugs the other maintainers decided to fix before releasing v2.0.14 but there is a discussion with comments about it: #3254
@zyedidia asked the maintainers to send an email message when making a new release in this comment: https://github.com/zyedidia/micro/issues/2956#issuecomment-1986789162
I do not think you are trying to rush them, but I think the maintainers (and others) helped a lot so I will just say that I do not want them to rush.

I think @JoeKar already have permissions to make releases. At the very least, there is a long due pending PR #3127 which fixes a lot of major syntax highlighting bugs, and I think we should at least merge this PR before the next release (but I'm constantly struggling to carve out some free time to properly review it).
And besides that, since we know there is still a number of major bugs, shouldn't we first at least try to fix as many of them as possible, instead of just releasing something that we know still sucks in so many ways?

And besides that, since we know there is still a number of major bugs, shouldn't we first at least try to fix as many of them as possible, instead of just releasing something that we know still sucks in so many ways?

I think looking at issues closed since last release is a better metric to look at than open issues. There have already been several issues opened for bugs that are already fixed in master which is a pretty good indicator that users would get value from a new release. The open issues can always be fixed in the next one (which hopefully doesn't take multiple years like this one).
Delaying the release further to sneak in some major fixes that are close to completion is fine but IMO the release should have already happened a long time ago.

I can understand all of your positions, but please let us leave this issue closed unless something really related comes up.
Let us all continue in #3254. :wink:


Next version (2.6.3) release?

When do you expect to publish version 2.6.3? If there isn't a definite date, a rough timeline would be helpful as well.
We are in need of the fixes from #532 , which has already been merged but has not yet been packaged to npm.

I can do it as soon as possible.  I'd like to have a second opinion on the code in master to make sure that it works.  Last time we merged in a PR to the export stuff it broke everything, so I'm a little hesitant to make another release just for that.
This is where tests would come in handy, but I just don't have the time that I used to have.

Makes sense. Thank you for the response!


WIP: Remove distributed builds and manifest generation...

Signed-off-by: Matthias Wessendorf<EMAIL_ADDRESS>Do not yet merge (CI nightly should be back before we should merge this)
/assign @lberk

And... this needs to also be aligned w/ updates on the "build image" cfg in openshift/release

see also https://github.com/openshift/release/pull/23730

/lgtm

/cherry-pick release-v1.0

/cherry-pick release-v0.26

/cherry-pick release-v0.25

/cherry-pick release-v0.26


[5.3] Proposal - Change the way controller middlewares are registered

Currently:
public function __construct()
{
     $this->middleware('auth', [/** options **/]);
}

Problem:
In order to collect the middleware of a specific routes, we currently check the routes registered in routes.php for the route and use ControllerDispatcher to collect the middleware registered within the controller constructor, this is done by creating an actual instance of the controller which means all the code in the constructor will be executed, some of this code assumes the requested route already passed the middleware registered in routes.php, but during collection the middlewares are not actually handled.
Currently there are two cases where you need to collect a route middleware:

route:list command.
The case with Terminable Middlewares as in here https://github.com/laravel/framework/pull/12899.

PR #12899 was reverted in https://github.com/laravel/framework/pull/12991 as it caused the Controller to be instantiated twice, once while the router is dispatching the request to the route, and another when the controller is being actually dispatched.
Proposal:
Instead of registering controller middleware through a method call, we do that using a static method inside the controller:
class HomeController extends Controller
{
    static function middleware()
    {
        return [
            'auth' => ['only' => 'show'],
            'web'
        ];
    }
}

That way we can collect controller middlewares without creating an instance.

Note I understand that this will make registering middlewares from the controller not dynamic, it's also less elegant than $this->middleware(), but I think discussing the matter is useful.

This will just be too big of a breaking change.

Yes I guess, then I think we need to add a hint about that in the docs.