Aqua Data Studio 15.0.0-dev-268
Build #: 37692
Built on: 2014-May-05 05:40:21 PM
OS Environment: Windows 8(x64 bit)
Database : Amazon Redshift
Steps to reproduce:
For Amazon Redshift:
1. Connect to Redshift server --> Go to Databases folder
2. Select any schema
3. Create Table
CREATE TABLE "testredshift"."emp" (
"id" int4 NOT NULL,
"name" varchar(25) NULL,
"dept" varchar(25) NULL,
"salary" int4 NULL,
"join-date" date NULL,
"Contact" int4 NULL,
CONSTRAINT "primary" PRIMARY KEY("id")
)
DISTSTYLE EVEN
GO
ALTER TABLE "testredshift"."emp"
ADD CONSTRAINT "uniq"
UNIQUE ("Contact")
GO
4. Open FluidShell
5. Execute below command
describe -s testredshift emp
Here it is observed that, Under Indexes system generated index on primary key is not listed only index on unique key is dispalyed.
Please see attached screenshot.
We show the exact describe in FluidShell as the Describe table in the Query Analyzer. See attached screenshot