Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Elias (0.15 sec)

  1. internal/s3select/sql/utils.go

    		parts[0] = e.BaseKey.String()
    		for i, pe := range e.PathExpr {
    			parts[i+1] = pe.String()
    		}
    		e.pathString = strings.Join(parts, "")
    	}
    	return e.pathString
    }
    
    // StripTableAlias removes a table alias from the path. The result is also
    // cached for repeated lookups during SQL query evaluation.
    func (e *JSONPath) StripTableAlias(tableAlias string) []*JSONPathElement {
    	if e.strippedTableAlias == tableAlias {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Nov 10 16:12:50 GMT 2021
    - 3.6K bytes
    - Viewed (0)
  2. internal/s3select/select_test.go

    		{
    			name:  "Select reserved word column with table alias",
    			query: `select S3Object."CAST" from s3object`,
    			wantResult: `true
    false`,
    		},
    		{
    			name:  "Select reserved word column with unused table alias",
    			query: `select "CAST"  from s3object s`,
    			wantResult: `true
    false`,
    		},
    		{
    			name:  "Select reserved word column with table alias",
    			query: `select s."CAST"  from s3object s`,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  3. cmd/config-current.go

    		if cfg.Enabled() && !globalSubnetConfig.Registered() {
    			return errors.New("Deployment is not registered with SUBNET. Please register the deployment via 'mc license register ALIAS'")
    		}
    	case config.DriveSubSys:
    		if _, err := drive.LookupConfig(s[config.DriveSubSys][config.Default]); err != nil {
    			return err
    		}
    	case config.CacheSubSys:
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 30.9K bytes
    - Viewed (0)
  4. cmd/common-main.go

    	}
    
    	updateMsg := prepareUpdateMessage(downloadURL, older)
    	if updateMsg == "" {
    		return
    	}
    
    	logger.Info(prepareUpdateMessage("Run `mc admin update ALIAS`", lrTime.Sub(currentReleaseTime)))
    }
    
    func newConfigDir(dir string, dirSet bool, getDefaultDir func() string) (*ConfigDir, error) {
    	if dir == "" {
    		dir = getDefaultDir()
    	}
    
    	if dir == "" {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Apr 17 00:34:45 GMT 2024
    - 35.5K bytes
    - Viewed (2)
  5. utils/utils_unix_test.go

    			want: "/Users/name/go/pkg/mod/gorm.io/",
    		},
    		{
    			file: "/go/work/proj/gorm/utils/utils.go",
    			want: "/go/work/proj/gorm/",
    		},
    		{
    			file: "/go/work/proj/gorm_alias/utils/utils.go",
    			want: "/go/work/proj/gorm_alias/",
    		},
    		{
    			file: "/go/work/proj/my.gorm.io/gorm@v1.2.3/utils/utils.go",
    			want: "/go/work/proj/my.gorm.io/gorm@v1.2.3/",
    		},
    	}
    	for _, c := range cases {
    		s := sourceDir(c.file)
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Mon Nov 21 02:48:13 GMT 2022
    - 731 bytes
    - Viewed (0)
  6. utils/utils_windows_test.go

    			want: `C:/Users/name/go/pkg/mod/gorm.io/`,
    		},
    		{
    			file: `C:/go/work/proj/gorm/utils/utils.go`,
    			want: `C:/go/work/proj/gorm/`,
    		},
    		{
    			file: `C:/go/work/proj/gorm_alias/utils/utils.go`,
    			want: `C:/go/work/proj/gorm_alias/`,
    		},
    		{
    			file: `C:/go/work/proj/my.gorm.io/gorm@v1.2.3/utils/utils.go`,
    			want: `C:/go/work/proj/my.gorm.io/gorm@v1.2.3/`,
    		},
    	}
    	for _, c := range cases {
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Mon Nov 21 02:48:13 GMT 2022
    - 715 bytes
    - Viewed (0)
  7. clause/clause.go

    	PrimaryColumn = Column{Table: CurrentTable, Name: PrimaryKey}
    )
    
    // Column quote with name
    type Column struct {
    	Table string
    	Name  string
    	Alias string
    	Raw   bool
    }
    
    // Table quote with name
    type Table struct {
    	Name  string
    	Alias string
    	Raw   bool
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Thu Feb 02 09:15:08 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  8. src/builtin/builtin.go

    // distinct type, however, and not an alias for, say, int32.
    type int int
    
    // uint is an unsigned integer type that is at least 32 bits in size. It is a
    // distinct type, however, and not an alias for, say, uint32.
    type uint uint
    
    // uintptr is an integer type that is large enough to hold the bit pattern of
    // any pointer.
    type uintptr uintptr
    
    // byte is an alias for uint8 and is equivalent to uint8 in all ways. It is
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  9. migrator/column_type.go

    	ScaleValue         sql.NullInt64
    	NullableValue      sql.NullBool
    	ScanTypeValue      reflect.Type
    	CommentValue       sql.NullString
    	DefaultValueValue  sql.NullString
    }
    
    // Name returns the name or alias of the column.
    func (ct ColumnType) Name() string {
    	if ct.NameValue.Valid {
    		return ct.NameValue.String
    	}
    	return ct.SQLColumnType.Name()
    }
    
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Thu Mar 24 01:31:58 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  10. internal/s3select/sql/parser_test.go

    func TestParseSelectStatement(t *testing.T) {
    	exp, err := ParseSelectStatement("select _3,_1,_2 as 'mytest'  from S3object")
    	if err != nil {
    		t.Fatalf("parse alias sql error: %v", err)
    	}
    	if exp.selectAST.Expression.Expressions[2].As != "mytest" {
    		t.Fatalf("parse alias sql error: %s not equal %s", exp.selectAST.Expression.Expressions[2].As, err)
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Viewed (0)
Back to top