drop table bsad;
CREATE TABLE bsad (
mandt text,
bukrs text,
kunnr text,
umsks text,
umskz text,
augdt timestamp,
augbl text,
zuonr text,
gjahr integer,
belnr text,
buzei integer,

blart text,
waers text,
wrbtr numeric(13,2),
shkzg text,
PRIMARY KEY (mandt, bukrs, kunnr, umsks, umskz, augdt, augbl, zuonr, gjahr, belnr, buzei)
)
Distributed by (mandt, bukrs, kunnr, umsks, umskz, augdt, augbl, zuonr, gjahr, belnr, buzei);

alter table bsad add column budat timestamp;

alter table bsad add column zfbdt timestamp;
alter table bsad add column dqsjc timestamp;
alter table bsad add column budatc text;
alter table bsad add column vbeln text;
alter table bsad add column zterm text;

alter table bsad add column budatd text;

alter table bsad add column hashResult text;
alter table bsad add column rowNum serial;

alter table bsad add column augdts text;
alter table bsad add column buzeis text;
alter table bsad add column pernr text;

