druid-io / pydruid

A Python connector for Druid
Other
506 stars 194 forks source link

Why do you check type and raise error here??? #272

Open nguyenminhduc9988 opened 2 years ago

nguyenminhduc9988 commented 2 years ago

Everything that has problem should be return as a String, this client cannot control Druid returned data right, so just return a string to caller, the query succeeded.

The caller has the right to get the result if the query has already been return from Druid. He can make further processing. Why hamper the result with this check?

Screenshot from 2021-09-07 19-06-13