func()

in go/connection.go [259:276]


func (c *Connection) cachedQuery(ctx context.Context, QID string) (driver.Rows, error) {
	if c.connector.config.IsMoneyWise() {
		dataScanned := int64(0)
		printCost(&athena.GetQueryExecutionOutput{
			QueryExecution: &athena.QueryExecution{
				QueryExecutionId: &QID,
				Statistics: &athena.QueryExecutionStatistics{
					DataScannedInBytes: &dataScanned,
				},
			},
		})
	}
	wg := c.connector.config.GetWorkgroup()
	if wg.Name == "" {
		wg.Name = DefaultWGName
	}
	return NewRows(ctx, c.athenaAPI, QID, c.connector.config, c.connector.tracer)
}