GabrielCWT commented on code in PR #18692:
URL: https://github.com/apache/druid/pull/18692#discussion_r2468303077
##########
sql/src/main/java/org/apache/druid/sql/calcite/schema/SystemSchema.java:
##########
@@ -234,29 +236,29 @@ public SystemSchema(
final CoordinatorClient coordinatorClient,
final OverlordClient overlordClient,
final DruidNodeDiscoveryProvider druidNodeDiscoveryProvider,
- final ObjectMapper jsonMapper
+ final ObjectMapper jsonMapper,
+ final @EscalatedClient HttpClient httpClient
)
{
Preconditions.checkNotNull(serverView, "serverView");
- this.tableMap = ImmutableMap.of(
- SEGMENTS_TABLE,
- new SegmentsTable(druidSchema, metadataView, jsonMapper,
authorizerMapper),
- SERVERS_TABLE,
- new ServersTable(
- druidNodeDiscoveryProvider,
- serverInventoryView,
- authorizerMapper,
- overlordClient,
- coordinatorClient,
- jsonMapper
- ),
- SERVER_SEGMENTS_TABLE,
- new ServerSegmentsTable(serverView, authorizerMapper),
- TASKS_TABLE,
- new TasksTable(overlordClient, authorizerMapper),
- SUPERVISOR_TABLE,
- new SupervisorsTable(overlordClient, authorizerMapper)
- );
+ this.tableMap = ImmutableMap.<String, Table>builder()
Review Comment:
Sorry I meant 5 entries, 10 arguments (5 of each)
`of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5)`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]