It's possible to reproduce the issue by adding a view using CASE. e.g.
case when table_name ='testing' then 'testing' else table_name end
The issue is in flyway-core/src/main/java/org/flywaydb/core/internal/database/saphana/SAPHANAParser.java. The CASE portion ends with END but the parser considers the END to be used only with BEGIN, DO or IF (that are normally not used in views afaik).
EDIT: fixed the statement...
The text was updated successfully, but these errors were encountered: