Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Value (0.14 sec)

  1. internal/s3select/parquet/reader.go

    	}
    
    	kvs := jstream.KVS{}
    	for _, col := range pr.r.Columns() {
    
    		var value interface{}
    		if v, ok := nextRow[col.FlatName()]; ok {
    			value, err = convertFromAnnotation(col.Element(), v)
    			if err != nil {
    				return nil, errParquetParsingError(err)
    			}
    		}
    		kvs = append(kvs, jstream.KV{Key: col.FlatName(), Value: value})
    	}
    
    	// Reuse destination if we can.
    	dstRec, ok := dst.(*jsonfmt.Record)
    	if !ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 14 13:54:47 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  2. internal/s3select/json/reader.go

    		// This is a JSON object type (that preserves key
    		// order)
    		kvs = v.Value.(jstream.KVS)
    	} else {
    		// To be AWS S3 compatible Select for JSON needs to
    		// output non-object JSON as single column value
    		// i.e. a map with `_1` as key and value as the
    		// non-object.
    		kvs = jstream.KVS{jstream.KV{Key: "_1", Value: v.Value}}
    	}
    
    	dstRec, ok := dst.(*Record)
    	if !ok {
    		dstRec = &Record{}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 24 03:58:53 GMT 2022
    - 3K bytes
    - Viewed (0)
  3. internal/hash/reader.go

    // result in a different checksum.
    func (r *Reader) MD5Current() []byte {
    	if r.disableMD5 {
    		return r.checksum
    	}
    	return r.ETag()[:]
    }
    
    // SHA256 returns the SHA256 checksum set as reference value.
    //
    // It corresponds to the checksum that is expected and
    // not the actual SHA256 checksum of the content.
    func (r *Reader) SHA256() []byte {
    	return r.contentSHA256
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  4. internal/s3select/simdj/reader.go

    		case in = <-r.input:
    		case <-r.exitReader:
    			return
    		}
    		if in.Error != nil && in.Error != io.EOF {
    			r.err = &in.Error
    			return
    		}
    		if in.Value == nil {
    			if in.Error == io.EOF {
    				return
    			}
    			continue
    		}
    		i := in.Value.Iter()
    	readloop:
    		for {
    			var next simdjson.Iter
    			typ, err := i.AdvanceIter(&next)
    			if err != nil {
    				r.err = &err
    				return
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 30 17:02:22 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  5. internal/etag/reader.go

    		Reader: wrapped,
    	}
    }
    
    // A Reader wraps an io.Reader and computes the
    // MD5 checksum of the read content as ETag.
    //
    // Optionally, a Reader can also verify that
    // the computed ETag matches an expected value.
    // Therefore, it compares both ETags once the
    // underlying io.Reader returns io.EOF.
    // If the computed ETag does not match the
    // expected ETag then Read returns a VerifyError.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top