uber / athenadriver

A fully-featured AWS Athena database driver (+ athenareader https://github.com/uber/athenadriver/tree/master/athenareader)
https://uber.github.io/athenadriver
MIT License
152 stars 36 forks source link

Expose DriverTracer factory methods #39

Closed andresmgot closed 3 years ago

andresmgot commented 3 years ago

Hi :wave:

I am using this driver but since we have our own implementation to handle AWS connections, I'm just using the Rows struct to parse responses from Athena. In particular, I am using the NewRows function. The problem is that the function requires a *DriverTracer instance but there is no way to create that outside this package.

The methods to create a *DriverTracer are there but they are unexported. Can I send a PR to expose them so I can use NewRows directly?

Thanks!