Simple Maven based java program which will connect to AWS RedShift and fetch all the tables and create a new Table in DB
important point to use this application.
Support you are createting RedShift in AWS ANd you are running this application from outside of Redshift VPC.
You need to enaable the public access of redshift from cluster setting. You need to allow the Redshift port access form AWS redShift Securtiy group.