Skip to main content
Question

Bug -- Vertica v9.2.0-7 Jdbc Driver for Python2.7(.x) but same doesn't support Python2.7?

  • August 22, 2019
  • 1 reply
  • 10 views

pritesh
Forum|alt.badge.img

I am creating a udx which requires vertica quries to be executed from within udx. Since Vertica v9.2.0-7 works with Python3(.x) only, and jdbc driver is available for Python2.7. How can I execute vertica queries in python bases udx then. Is this a bug or I am missing someting.

1 reply

Bryan_H
Forum|alt.badge.img+2
  • Participating Frequently
  • September 10, 2019

Please check out the native Python driver at https://github.com/vertica/vertica-python
This driver is available using pip (PyPI) and works with all Python 3.x versions.
You can also use pyodbc with the Vertica ODBC driver.