BEGIN;
CREATE TEMP FACT TABLE new_table DISTRIBUTE BY hash(a.var3) as
SELECT (YEAR(a.var1) - b.var2), a.var3
FROM d.data1 a, c.data2 b
WHERE (YEAR(var1) - var2) > 40
;
GO
SELECT * FROM age_DRG;
END;
我不确定这段代码有什么问题。我不断收到此错误
"Executed as Single statement. Failed [34 : HY000] [AsterData][ASTERJDBCDSII](34) NOTICE: current transaction is aborted, queries ignored until end of transaction block ()
Elapsed time = 00:00:00.016
STATEMENT 1: BEGIN;
CREATE Statement failed. "