xiangfu0 commented on code in PR #18972:
URL: https://github.com/apache/pinot/pull/18972#discussion_r3565222252


##########
pinot-core/src/main/java/org/apache/pinot/core/operator/transform/function/JsonExtractScalarTransformFunction.java:
##########
@@ -91,6 +94,8 @@ public class JsonExtractScalarTransformFunction extends 
BaseTransformFunction {
 
   private TransformFunction _jsonFieldTransformFunction;
   private JsonPath _jsonPath;
+  /// Non-null when {@code _jsonPath} is a simple linear chain and the 
streaming fast path can resolve it.
+  private SimpleJsonPath _simpleJsonPath;
   private DataType _dataType;

Review Comment:
   Good catch — marked the field `@Nullable` and reworded the Javadoc to state 
the null case (`SimpleJsonPath.compile` returns null for non-linear paths, i.e. 
whenever extraction falls back to Jayway). Pushed in ecb31ee.
   
   _🤖 Addressed by [Claude Code](https://claude.com/claude-code)_



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to