python-pinot-dbapi / pinot-dbapi

Python DB-API and SQLAlchemy dialect for Pinot
MIT License
20 stars 33 forks source link

Fix JSON datatype parsing for empty string #65

Closed abhi19gupta closed 1 year ago

abhi19gupta commented 1 year ago

When the Pinot server returns an empty string ('') for JSON datatype field, json.loads will fail to parse it. Hence, returning None for such fields.