Closed suaswe closed 2 years ago
Hi, I'm working on a fork of RH that supports Redshift. I'm having it double-checked and should be quickly getting ready for PR... however testing it is difficult because Redshift is an AWS-only platform with very specific ways of working. Anyone can give me some guidance as to what to do for the PR to be accepted?
@suaswe could you please see if PR #385 solves the issue? If you download the built roundhouse from this build, does it work as expected? https://ci.appveyor.com/project/chucknorris/roundhouse/builds/28078352/artifacts
I am trying to run RoundhousE against a Redshift database as per below. I am getting error "42P13: create function must specify volatility attribute (IMMUTABLE|STABLE|VOLATILE)".
Looking at the docs of Redshift (https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_FUNCTION.html) vs standard PostgreSQL (https://www.postgresql.org/docs/9.1/sql-createfunction.html) it seems that CREATE FUNCTION in Redshift may require one of the volatility attributes, whereas in standard PostgreSQL it does not. I believe from the RH code that RH does not pass this flag nor give an option to. Is my understanding correct? Might it be feasible to include this feature to allow Redshift to work?
If anyone has worked with RoundhousE and Redshift before, I would love some guidance!