JohnOmernik / sqlalchemy-drill

Apache Drill Dialect for SQL Alchemy
Other
53 stars 35 forks source link

Fixed Error with Drill Arrays #52

Closed cgivre closed 4 years ago

cgivre commented 4 years ago

A recent PR which attempted to map Drill data types introduced many errors including this one in which caused an error when Drill returned an array. The metadata Drill returned would indicate the primitive type of the array, however, when Pandas attempted to parse something like [1,2,3] as an INT it would clearly break that.

This PR also coverts some of the print() statements to logging.debug()