Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for typeCode (0.06 sec)

  1. internal/s3select/simdj/reader.go

    			if err != nil {
    				r.err = &err
    				return
    			}
    			switch typ {
    			case simdjson.TypeNone:
    				break readloop
    			case simdjson.TypeRoot:
    				typ, obj, err := next.Root(nil)
    				if err != nil {
    					r.err = &err
    					return
    				}
    				if typ != simdjson.TypeObject {
    					if typ == simdjson.TypeNone {
    						continue
    					}
    					err = fmt.Errorf("unexpected json type below root :%v", typ)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 30 17:02:22 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. internal/s3select/simdj/record.go

    			}
    			columnValue = val
    		case simdjson.TypeObject, simdjson.TypeArray:
    			b, err := tmp.MarshalJSON()
    			if err != nil {
    				return err
    			}
    			columnValue = string(b)
    		case simdjson.TypeNone:
    			break allElems
    		default:
    			return fmt.Errorf("cannot marshal unhandled type: %s", typ.String())
    		}
    		csvRecord = append(csvRecord, columnValue)
    	}
    	w := csv.NewWriter(writer)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top