xiangfu0 commented on code in PR #16666:
URL: https://github.com/apache/pinot/pull/16666#discussion_r2299425102
##########
pinot-connectors/pinot-spark-common/src/main/scala/org/apache/pinot/connector/spark/common/PinotClusterClient.scala:
##########
@@ -32,17 +32,23 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties
* PinotCusterClient reads metadata from Pinot controller.
*/
private[pinot] object PinotClusterClient extends Logging {
- private val TABLE_SCHEMA_TEMPLATE = "http://%s/tables/%s/schema"
- private val TABLE_BROKER_INSTANCES_TEMPLATE =
"http://%s/v2/brokers/tables/%s"
- private val TIME_BOUNDARY_TEMPLATE = "http://%s/debug/timeBoundary/%s"
- private val ROUTING_TABLE_TEMPLATE =
"http://%s/debug/routingTable/sql?query=%s"
- private val INSTANCES_API_TEMPLATE = "http://%s/instances/%s"
+ private val TABLE_SCHEMA_TEMPLATE = "%s://%s/tables/%s/schema"
Review Comment:
yes, the underlying scheme is set by `useHttps`
--
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]