You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "gustavodemorais (via GitHub)" <gi...@apache.org> on 2026/10/23 12:35:37 UTC
Re: [PR] [FLINK-41087][table] Don't build the `PARSE_JSON` error for rows `TRY_PARSE_JSON` rejects [flink]
gustavodemorais commented on PR #29579:
URL: https://github.com/apache/flink/pull/29579#issuecomment-6365006442
LGTM. Thanks, @raminqaf! I only have one small suggestion.
The new test only checks the generated code. A runtime assertion that `parseJsonToVariant` throws the raw `IOException` (not a `TableRuntimeException`) would catch a regression there:
```java
assertThatThrownBy(() -> SqlJsonUtils.parseJsonToVariant(StringData.fromString("not json"), false))
.isInstanceOf(IOException.class)
.isNotInstanceOf(TableRuntimeException.class);
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org