mosence commented on code in PR #10000:
URL: https://github.com/apache/seatunnel/pull/10000#discussion_r2522021432


##########
seatunnel-transforms-v2/src/main/java/org/apache/seatunnel/transform/sql/zeta/ZetaSQLFunction.java:
##########
@@ -340,6 +340,9 @@ public Object computeForValue(Expression expression, 
Object[] inputFields) {
                     }
                     parDataType = ((SeaTunnelRowType) 
parDataType).getFieldType(idx);
                     res = parRowValues.getFields()[idx];
+                    if (res == null) {

Review Comment:
   It seems that the MapType type is not supported data like this:
   
   select a.b.c from t;
   
   t table data:
   ```json
   [{
     "a": {  // MapType
        "b": {
            "c": "a.b.c's Value"
        }
     }
   },{
     "a": {  // MapType
        "b": {
        }
     }
   },
   {
      //... More RowData...
   }]
   ```



-- 
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]

Reply via email to