hrbrmstr / sergeant

:guardsman: Tools to Transform and Query Data with 'Apache' 'Drill'
https://hrbrmstr.github.io/sergeant/
Other
126 stars 13 forks source link

Handle zero-row query results #38

Closed scottcame closed 5 years ago

scottcame commented 5 years ago

Currently if you do drill_query() and the underlying query has zero rows, an error is raised underneath dplyr::tbl_df(). This PR exposes the scenario with a test and provides a simple, initial fix.

hrbrmstr commented 5 years ago

take a look at the 0.8.0 branch of the pkg. IIRC I handle that in there.

scottcame commented 5 years ago

Yep! Sorry, should've looked there first. Closing PR...