Connect to Vertica from Datagrip - sql

I'm using DataGrip and I'm kind of new in it. There is a case for me to connect to Vertica DB. As far as I know, there is no native provided driver for connection to that type of databases. What steps should I take to connect to it? Is there some driver to deal with?
Thanks!

You should be able to add the Vertica jdbc jar as a driver. Download it from the Vertica site, then:
Go to File / Data Sources
Right click somewhere and click Add / Driver
Give it a name
Select the jdbc jar file you downloaded
Set the class to com.vertica.jdbc.Driver
Dialect: PostgreSQL
As for how well this works, I'm not sure. It really depends on how DataGrip uses jdbc. But this is how you would add it.

In addition to #woot answer
I would add that when you setup the datasource connection to Vertica. Set the URL with below format.
URL: jdbc:vertica://{HOST}:{PORT}/{DB}

Related

How to create connection on informatica for hive?

My hive database version is 1.1.0. I am using informatica devoleper. I am opening "New Developer Connection" choosing type for JDBC.
is like that. When I try to test connection The answer is Method not supported. How can I connect to database on informatica devoleper?
You can use odbc for hive. This can be done from Apache/Cloudera whatever is your provider.
Download the driver from https://www.cloudera.com/downloads/connectors/hive/odbc/2-5-12.html
Then Install/configure data using your details.

Accessing BigQuery via SQL Developer

I am new to Google's BigQuery (BQ). I am looking for a way to use SQL Developer (SD) as my primary GUI.
I have tried setting up a third party JDBC, but it does not seem to work. I downloaded Google's JDBC drivers for BQ and tried setting it up as a third party connection in SD. It registers, but does not show on the create new connection.
It is supposed to show up as a new Connection Type tab, but nothing is shown.
Is it possible to access BigQuery with SQL Developer? If so, can anyone provide me with the correct steps to duplicate?
Have you tried the Simba Driver? It provides not only JDBC, but ODBC (3.8 is supported) as well.
Alternatively you can check this documentation on how to Access BigQuery Data as a Remote Oracle Database.

Where to download sun.jdbc.odbc.JdbcOdbcDriver (trying to connect output csv from Spoon to SSMS)

I have a csv that I have transformed in Kettle/Spoon/PDI and I am trying to output it to SSMS.
In Spoon, it's a two step process: read the csv (and edit a couple types), then output to SQL.
I get this error: "Driver class 'sun.jdbc.odbc.JdbcOdbcDriver' could not be found, make sure the 'MS SQL Server' driver (jar file) is installed.
sun.jdbc.odbc.JdbcOdbcDriver"
I can't seem to find where to download this driver. (Have googled it obviously, though perhaps not enough.)
http://www.java2s.com/Code/JarDownload/jdbc/jdbc.jar.zip
link to download sun.jdbc.odbc.jdbcodbcdriver jar file
I think the fact is not specific related to pentaho, else, to Java. The native connection type for java is JDBC, since Java 8, ODBC support was removed, so you may need jdbc2odbc bridge driver to connect ODBC datasources, but as far as I know, the only working solution is not open.
You can see more details here.

Generic ODBC remote source in SAP HANA SDI/SDA

Has anyone been able to create in SAP HANA a Generic ODBC remote source for a database other than MSSQL/Oracle/Netezza/ASE -- in other words, where you'd have to select a datasource "Generic ODBC" and then likely implement your own property/configuration file.
I'm trying to configure this on top of an Apache Drill ODNBC driver. I am able to successfully test System DSN using iSQL utility, but Remote Source creation fails with an error message citing problems loading the driver file -- a rather cryptic one.
I'm in the middle of an exchange with OSS, but so far they seem to be reluctant to accept it as a product fault. I'd like to see if there are successful cases for Generic ODBC in HANA at all.
I don't think it's supported.
Every ODBC source type must have all its capabilities described.
This is required to map datatypes, functions and features.
What you can do is replace an existing odbc source.
For instance you can change the file config/property_ntz.ini to create a valid description of the capabilities of apache drill. From the HANA side, just declare it as a netezza.
If it makes sense to support Apache drill, as an SAP employee myself I could trigger a discussion internally.

Configure SQuirrel SQL Client to work for DB2/AS400

I use the ancient System i Navigator (french) to get to query a DB2 (AS/400) database.
I liked to update the client and use a more fresh (and English) sql client for that database.
So, I installed the SQuirrel SQL client (3.5.0, the latest at day).
After the installation and launching, I discovered that the "IBM DB2 App Driver" is not "checked".
The message when I click on it says:
"Could not find class COM.ibm.db2.jdbc.app.DB2Driver in neither the
Java class path nor the Extra class path of the IBM DB2 App Driver
driver definition: java.lang.ClassNotFoundException:
COM.ibm.db2.jdbc.app.DB2Driver"
As I understood I need to copy a (universal?) JDBC driver in the SQuirrel "\lib" folder. How to get it?
I don't have any "classpath" defined in the environmental variables (I am on Windows 7 x64).
I am not a Java developer, so I am not sure if I need or not to configure that classpath to make work that sql client.
if it's an AS400, then you should use JTOpen libraries to connect.
http://jt400.sourceforge.net/
JT400 has the JARS you need to use. Note, the class name mentioned above is not the same as what is expected on the AS400....
I remember it being something like this....
com.ibm.as400.access.AS400JDBCDriver... you'll want to double check
if you start squirrel-sql on the commandline you can add this
set CLASSPATH=%CLASSPATH%;c:/jt400.jar
If want a really quick and easy "command-line" JDBC client, you can use the one included in the JTOpen. I use it all the time so I don't have to open yet another window.
Here is an example.
~> java -cp jt400.jar com.ibm.as400.access.jdbcClient.Main jdbc:as400:AS400 SYSTEM USERID PASSWORD
>select * from sysibm.sysdummy1
IBMREQD
Y