Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for jsonpathEval (0.1 sec)

  1. internal/s3select/sql/evaluate.go

    	switch rowVal := rawVal.(type) {
    	case jstream.KVS, simdjson.Object:
    		if len(pathExpr) == 0 {
    			pathExpr = []*JSONPathElement{{Key: &ObjectKey{ID: e.BaseKey}}}
    		}
    
    		result, _, err := jsonpathEval(pathExpr, rowVal)
    		if err != nil {
    			return nil, err
    		}
    
    		return jsonToValue(result)
    	default:
    		if pathExpr[len(pathExpr)-1].Key == nil {
    			return nil, errInvalidKeypath
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top