Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for Timestamp (0.2 sec)

  1. internal/s3select/parquet/reader.go

    				}
    			} else if se.GetConvertedType() == parquettypes.ConvertedType_TIMESTAMP_MILLIS {
    				duration := time.Duration(val) * time.Millisecond
    				value = sql.FormatSQLTimestamp(time.Unix(0, 0).Add(duration))
    			} else if se.GetConvertedType() == parquettypes.ConvertedType_TIMESTAMP_MICROS {
    				duration := time.Duration(val) * time.Microsecond
    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/sql/value.go

    	}
    
    	boolV, ok1b := v.ToBool()
    	boolA, ok2b := a.ToBool()
    	if ok1b && ok2b {
    		return boolCompare(op, boolV, boolA)
    	}
    
    	timestampV, ok1t := v.ToTimestamp()
    	timestampA, ok2t := a.ToTimestamp()
    	if ok1t && ok2t {
    		return timestampCompare(op, timestampV, timestampA), nil
    	}
    
    	// Types cannot be compared, they do not match.
    	switch op {
    	case opEq:
    		return false, nil
    	case opIneq:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  3. istioctl/pkg/util/configdump/route.go

    // GetLastUpdatedDynamicRouteTime retrieves the LastUpdated timestamp of the
    // most recently updated DynamicRouteConfig
    func (w *Wrapper) GetLastUpdatedDynamicRouteTime() (*time.Time, error) {
    	routeDump, err := w.GetRouteConfigDump()
    	if err != nil {
    		return nil, err
    	}
    	drc := routeDump.GetDynamicRouteConfigs()
    
    	lastUpdated := time.Unix(0, 0) // get the oldest possible timestamp
    	for i := range drc {
    		if drc[i].LastUpdated != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  4. cmd/bucket-stats_gen.go

    				if err != nil {
    					err = msgp.WrapError(err, "Stats", za0001)
    					return
    				}
    				z.Stats[za0001] = za0002
    			}
    		case "Timestamp":
    			z.Timestamp, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "Timestamp")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  5. internal/logger/logrotate.go

    	MaximumFileSize int64
    
    	// FileNameFunc specifies the name a new file will take.
    	// FileNameFunc must ensure collisions in filenames do not occur.
    	// Do not rely on timestamps to be unique, high throughput writes
    	// may fall on the same timestamp.
    	// Eg.
    	// 	2020-03-28_15-00-945-<random-hash>.log
    	// When FileNameFunc is not specified, DefaultFilenameFunc will be used.
    	FileNameFunc func() string
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 11:38:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. cmd/globals.go

    	globalObjectPerfUserMetadata = "X-Amz-Meta-Minio-Object-Perf" // Clients can set this to bypass S3 API service freeze. Used by object pref tests.
    
    	// MinIO version unix timestamp
    	globalVersionUnix uint64
    
    	// MinIO client
    	globalMinioClient *minio.Client
    
    	// Public key for subnet confidential information
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  7. internal/s3select/sql/funceval.go

    	tval1, err := d.Timestamp1.evalNode(r, tableAlias)
    	if err != nil {
    		return nil, err
    	}
    	if err = inferTypeAsTimestamp(tval1); err != nil {
    		return nil, err
    	}
    	ts1, ok := tval1.ToTimestamp()
    	if !ok {
    		return nil, fmt.Errorf("%s() expects two timestamp arguments", sqlFnDateDiff)
    	}
    
    	tval2, err := d.Timestamp2.evalNode(r, tableAlias)
    	if err != nil {
    		return nil, err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  8. internal/event/target/postgresql.go

    )
    
    const (
    	psqlTableExists          = `SELECT 1 FROM %s;`
    	psqlCreateNamespaceTable = `CREATE TABLE %s (key VARCHAR PRIMARY KEY, value JSONB);`
    	psqlCreateAccessTable    = `CREATE TABLE %s (event_time TIMESTAMP WITH TIME ZONE NOT NULL, event_data JSONB);`
    
    	psqlUpdateRow = `INSERT INTO %s (key, value) VALUES ($1, $2) ON CONFLICT (key) DO UPDATE SET value = EXCLUDED.value;`
    	psqlDeleteRow = `DELETE FROM %s WHERE key = $1;`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  9. cmd/local-locker.go

    	Writer          bool      // Bool whether write or read lock.
    	UID             string    // UID to uniquely identify request of client.
    	Timestamp       time.Time // Timestamp set at the time of initialization.
    	TimeLastRefresh time.Time // Timestamp for last lock refresh.
    	Source          string    // Contains line, function and filename requesting the lock.
    	Group           bool      // indicates if it was a group lock.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  10. cmd/tier.go

    	config.Lock()
    	defer config.Unlock()
    
    	switch err {
    	case nil:
    		break
    	case errConfigNotFound: // nothing to reload
    		// To maintain the invariance that lastRefreshedAt records the
    		// timestamp of last successful refresh
    		config.lastRefreshedAt = UTCNow()
    		return nil
    	default:
    		return err
    	}
    
    	// Reset drivercache built using current config
    	for k := range config.drivercache {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
Back to top