OHDSI Home | Forums | Wiki | Github

Adopting SQLRender to Netezza

Friends:

I think you have a quorum to found a working group. Hadoop has one, no reason for Netezza users not to have one as well.

But before you get too happy: Make sure you all are on the same firmware. I know that Netezza has a whole cascade of modules you have to buy (or not), giving you different level of SQL functionality and compatibility with other dialects.

That would be great. We will ask I BM to be involved in workgroup. How do we go about creating the workgroup?

You tell @MauraBeaton t hat you have one, who is in it, when you meet and what it is all about, and she adds you to the OHDSI page. You’ll need an overview page kind of like this. Then you start a rolling calendar like this, and go.

Great - will PM

Summary written by Lee Evans

There was a very productive call on Wednesday to discuss the level of interest in adding Netezza support to the OHDSI tools.

All of the call attendees expressed interest in enabling support for both basic Netezza SQL translation & connectivity (e.g. running Achilles) and full Netezza OHDSI tools integration (e.g. running Atlas).

Call Attendees:
Gowtham Rao & Ravi Ravindra - Blue Cross Blue Shield
Sajan Khosla & Matt Tyson - AstraZeneca
Robert Carroll - Vanderbilt
Vojtech Huser - NIH
Lee Evans - LTS Computing LLC

The attendees decided that the shared interests of the group will be best served by a focused effort to implement Netezza support within the OHDSI tools.

It was also agreed on the call that OHDSI code changes developed to add Netezza support will be contributed back to the OHDSI community as open source.

1 Like

I am excited to see that SQLRender now can translate my query into netezza.
(see github recent changes)

A question for @schuemie or @Gowtham_Rao :
If I have my Netezza driver in here: c:\nz_driver\xxxx.xx and my server IP is 130.22.33.44 - how do I create a connection details and now run my netezza translated query? (how do I point the DatabaseConnector to my xxxx.xx driver file?)

@Vojtech_Huser – yes, the Netezza translation is very stable right now and has passed all our tests :smile: @schuemie did bring back Netezza GitHub - OHDSI/DatabaseConnector: An R package for connecting to databases using JDBC.

(I dont know the answer to your question )

Hi Vojtech,
I dug back into my notes. If I understand your question correctly, you would do something along the lines of what I pasted below. Can’t promise below is exactly correct, but gives the general idea.
-Sara


source(“DatabaseConnector.R”)

connectionDetails <- createConnectionDetails(dbms = “netezza”,
server = “xxx.xxx.xxx.net”,
user = “user”,
password = “XXXXXX”,
port=5480,
schema=“mslr_cdm4”)

connection <- connect(connectionDetails)
sql = readSql(“query.sql”)
translatedSql <- translateSql(sql, targetDialect=“netezza”)
querySql(connection,translatedSql)

With no hints from Martijn, I looked into the code and found a need to specify pathToDriver.

So the change your code would be

connection<-connect(connectionDetails,pathToDriver=‘c:/nz_driver’)

and the file name must be nzjdbc.jar

I have to try from a different NIH building so it may take me a while to actually test this.
Perhaps @Gowtham_Rao will beat me to testing this on actual nz server.

Thanks @Vojtech_Huser for answering this question!

Just so you know, each of our packages has a manual that could be helpful. You’ll find the PDF of the manual on the Github repo page under Getting Involved. Or, you can type

help(package="DatabaseConnector")

to open the manual in R

t