Skip to content

Test connecting to an impala server using haskell, creating, reading from and deleting a table.

License

Notifications You must be signed in to change notification settings

ewal31/HaskellImpala

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Haskell Impala Test

Requirements

  • Impala ODBC Driver from here

Setup

  1. Make sure unixODBC is installed (odbcinst -j)
  2. Extract the driver to /opt/cloudera/impalaodbc/
  3. Add /opt/cloudera/impalaodbc/Setup/odbc.ini to USER DATA SOUCE (In my case /home/edward/.odbc.ini)
  4. Add /opt/cloudera/impalaodbc/Setup/odbcinst.ini to DRIVERS (In my case /etc/odbcinst.ini)
  5. Fill in template values in src/DatabaseTest.hs
  6. stack build
  7. stack run

About

Test connecting to an impala server using haskell, creating, reading from and deleting a table.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published