Dataform appends a ; to the statement before the post_operation block. However if the statement finishes with a comment, e.g. to describe the post_op, the comment is added to the end of the comment line and thus not in use.
The work around is to put comments in the post_op, but DF should recognise that the final line is commented out and handle accordingly.
statement
-- Comment
post_operations {
Leads to
Error: Syntax error: Expected end of input but got keyword CREATE at [29:1]
statement
-- Comment;
Dataform appends a
;
to the statement before the post_operation block. However if the statement finishes with a comment, e.g. to describe the post_op, the comment is added to the end of the comment line and thus not in use.The work around is to put comments in the post_op, but DF should recognise that the final line is commented out and handle accordingly.
Leads to