Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ToTimestamp (0.06 sec)

  1. internal/s3select/sql/funceval.go

    		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
    	}
    	if err = inferTypeAsTimestamp(tval2); err != nil {
    		return nil, err
    	}
    	ts2, ok := tval2.ToTimestamp()
    	if !ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  2. internal/s3select/sql/value.go

    // conversion succeeded.
    func (v Value) ToBool() (val bool, ok bool) {
    	val, ok = v.value.(bool)
    	return
    }
    
    // ToTimestamp returns the timestamp value if present.
    func (v Value) ToTimestamp() (t time.Time, ok bool) {
    	t, ok = v.value.(time.Time)
    	return
    }
    
    // ToBytes returns the value if byte-slice.
    func (v Value) ToBytes() (val []byte, ok bool) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  3. internal/s3select/json/record.go

    	var v interface{}
    	if b, ok := value.ToBool(); ok {
    		v = b
    	} else if f, ok := value.ToFloat(); ok {
    		v = f
    	} else if i, ok := value.ToInt(); ok {
    		v = i
    	} else if t, ok := value.ToTimestamp(); ok {
    		v = sql.FormatSQLTimestamp(t)
    	} else if s, ok := value.ToString(); ok {
    		v = s
    	} else if value.IsNull() {
    		v = nil
    	} else if value.IsMissing() {
    		return r, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. android/pom.xml

                <jdkToolchain>
                  <version>11</version>
                  <vendor>zulu</vendor>
                </jdkToolchain>
                <quiet>true</quiet>
                <notimestamp>true</notimestamp>
                <encoding>UTF-8</encoding>
                <docencoding>UTF-8</docencoding>
                <charset>UTF-8</charset>
                <additionalOptions>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 21K bytes
    - Viewed (0)
  5. pom.xml

                <jdkToolchain>
                  <version>11</version>
                  <vendor>zulu</vendor>
                </jdkToolchain>
                <quiet>true</quiet>
                <notimestamp>true</notimestamp>
                <encoding>UTF-8</encoding>
                <docencoding>UTF-8</docencoding>
                <charset>UTF-8</charset>
                <additionalOptions>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top