<div dir="ltr"><div>Hi, Geraldus!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 10, 2022 at 1:44 AM Geraldus <<a href="mailto:heraldhoi@gmail.com">heraldhoi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I'm trying to figure out if there is any way to connect and fetch data from the Vertica database?  I got used to the amazing `esqueleto` package, and ideally, I'm looking for a way to use type-safe queries.  Albeit at the moment raw SQL queries would be sufficient.<br></div></blockquote></div><div><br></div><div>They claim to have ODBC drivers [1], so perhaps for raw SQL `HDBC-odbc` [2] could work out of the box. Since `esqueleto` relies on `persistent`, some non-trivial integration might be required to make them talk to each other [3].</div><div><br></div><div>[1] <a href="https://www.vertica.com/download/vertica/client-drivers/">https://www.vertica.com/download/vertica/client-drivers/</a></div><div>[2] <a href="https://hackage.haskell.org/package/HDBC-odbc">https://hackage.haskell.org/package/HDBC-odbc</a></div><div>[3] <a href="https://hackage.haskell.org/package/persistent-odbc">https://hackage.haskell.org/package/persistent-odbc</a></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Best regards,<br>Anatoly Zaretsky</div></div>