-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
I'm trying to connect to startree cloud hosted Pinot, my code is below
extraHeaders := map[string]string{
"Authorization": cfg.Authorization, //cfg.Authorization
"database": cfg.Database, //cfg.Database
}
pinotConfig := pinot.ClientConfig{
ExtraHTTPHeader: extraHeaders,
BrokerList: []string{cfg.BrokerURL},
HTTPTimeout: cfg.Timeout * time.Millisecond,
UseMultistageEngine: false,
}
client, err := pinot.NewWithConfig(&pinotConfig)
if err != nil {
return nil, fmt.Errorf("failed to create pinot client: %w", err)
}
return &QueryRepository{
client: client,
config: cfg,
}, nil
}
i always get 403 "Caught exception to execute SQL query SELECT * FROM TableName LIMIT 10, Error: caught http exception when querying Pinot: 404 Not Found"
Metadata
Metadata
Assignees
Labels
No labels