dropbox / dropbox/PyHive

Decimal type support is missing

Open
#408 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.7k
Forks
545
PR merge metrics
No merged PRs in 30d

Description

Support for decimal type is missing from ParamEscaper.escape_item

Reproduce:
```
engine = create_engine(url)
q = text('select * from test where a = :param')
q = q.bindparams(bindparam('param', Decimal('1.0')))
# Raises exc.ProgrammingError "Unsupported object 1.0"
engine.execute(q)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.