Is it possible to execute query for hive using jinjasql and pyhive? When I tried it I got following error.
pyhive.exc.ProgrammingError: Unsupported param format:
odict_values(['XXXXXXX'])
I can execute query with jinjasql as well as with pyhive but I need to use both together to prevent sql injection.
Environment (all on the same VM.)
- Hortonworks Data Platform (HDP®) 2.6.4 on Hortonworks Sandbox for VirtualBox
- Jinjasql 0.1.6
- PyHive 0.5.1
- Python 3.5.5