I want to execute query which contains unpivot in springboot application. We are using jSqlparser to validate the syntax of the query. jsqlparser version is 1.4. This version reject unpivot. Anyone can please help on this?
String sql = select ctype, cnt from temp unpivot (cnt for ctype in (ARRANGE, FAULT));
CCJSqlParserUtil.parse(sql);