I tried creating a table structure on Greenplum, with the following query:
create table dbname.check
(
empid integer,
empname character varying,
salary bigint
)
distributed by empid
And the error I got is: "cannot explain create table without an AS clause".
As far as I know the table structure create table queries are not supposed to have an AS clause. And even if I give an AS clause, it says that there is some error near the empid part.