druid-io / pydruid

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

fix: revert #317 #318

Closed betodealmeida closed 2 months ago

betodealmeida commented 2 months ago

I think #317 was a mistake. The behavior for pyformat when no parameters are passed is undefined, but it seems that Presto, Hive, MySQL, and other databases will take unescaped percent symbols when no parameters are passed. Since the behavior is undefined, I'm reverting this to align with other DB API drivers.