misi1987107 commented on code in PR #9227:
URL: https://github.com/apache/seatunnel/pull/9227#discussion_r2094702201
##########
seatunnel-transforms-v2/src/main/java/org/apache/seatunnel/transform/sql/zeta/ZetaSQLEngine.java:
##########
@@ -240,9 +241,13 @@ public List<SeaTunnelRow> transformBySQL(SeaTunnelRow
inputRow, SeaTunnelRowType
Object[] inputFields = scanTable(inputRow);
// Filter
- boolean retain = zetaSQLFilter.executeFilter(selectBody.getWhere(),
inputFields);
- if (!retain) {
- return null;
+ try {
+ boolean retain =
zetaSQLFilter.executeFilter(selectBody.getWhere(), inputFields);
+ if (!retain) {
+ return null;
+ }
+ } catch (Exception e) {
+ throw
TransformCommonError.sqlWhereStatementError(selectBody.getWhere().toString());
Review Comment:
get it
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]