SELECT CAST(ROW(dataid, value, calcMark) AS ROW(datapointid CHAR, value CHAR, calcMark CHAR)) AS datapoints
SELECT CAST(ROW(dataid, value, calcMark) AS ROW(datapointid CHAR, value CHAR, calcMark CHAR)) AS datapoints: a task in LegoFlow-SWE (Harbor dataset). Describe the bug JSqlParser throws a JSQLParserException when parsing a CAST expression where the input is a row constructor and the target type is…
The task
**Describe the bug** JSqlParser throws a `JSQLParserException` when parsing a `CAST` expression where the input is a row constructor and the target type is a typed `ROW` definition with named fields and their types.
Part of Lego-X/LegoFlow-SWE.