Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for strippedPathExpr (0.12 sec)

  1. internal/s3select/sql/utils.go

    		pathExpr[0] = &JSONPathElement{Key: &ObjectKey{ID: e.BaseKey}}
    		copy(pathExpr[1:], e.PathExpr)
    	}
    	e.strippedTableAlias = tableAlias
    	e.strippedPathExpr = pathExpr
    	return e.strippedPathExpr
    }
    
    func (e *JSONPathElement) String() string {
    	switch {
    	case e.Key != nil:
    		return e.Key.String()
    	case e.Index != nil:
    		return fmt.Sprintf("[%d]", *e.Index)
    	case e.ObjectWildcard:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Nov 10 16:12:50 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  2. internal/s3select/sql/parser.go

    type JSONPath struct {
    	BaseKey  *Identifier        `parser:" @@"`
    	PathExpr []*JSONPathElement `parser:"(@@)*"`
    
    	// Cached values:
    	pathString         string
    	strippedTableAlias string
    	strippedPathExpr   []*JSONPathElement
    }
    
    // AliasedExpression is an expression that can be optionally named
    type AliasedExpression struct {
    	Expression *Expression `parser:"@@"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
Back to top