baztian / jaydebeapi

JayDeBeApi module allows you to connect from Python code to databases using Java JDBC. It provides a Python DB-API v2.0 to that database.
GNU Lesser General Public License v3.0
365 stars 148 forks source link

cursor.fetchall() removes trailing zeros of float values #210

Open bhatpramod opened 2 years ago

bhatpramod commented 2 years ago

Whenever I fetch data from cursor it automatically strip trailing zeros. Ex: 1.20 to 1.2 0.00 to 0.0 Is there any way to fetch cursor data unaltered from Hive database