Skip to content

Commit

Permalink
feat: add resource management support for maxcompute (#282)
Browse files Browse the repository at this point in the history
* feat: add initial resource mapping for maxcompute table

* feat: improve validation, add table spec

* tests: add test for table_spec and properties

* feat: add code to create table on maxcompute

* feat: initial setup of maxcompute store

* feat: add maxcompute client and register maxcompute store

* fix: change table handler initialization parameter type

* fix: fix error on missing partition

* fix: fix parameter type interface and handling error creation properly

* fix: change partition column handling

* test: add test for maxcompute client and table implementation

* feat: implement checking existing table schema

* chore: sort imports

* feat: add support for views in maxcompute

* feat: connect support for views

* feat: implement standard table updation and improve view table

* feat: add clustering support for table creation and update view

* feat: implement alter table column with json type

* test: add cluster table and view test

* feat: implement schema format temporary for resource urn

* chore: fix lint errors

* chore: restructure file

* chore: update golangci-lint action

* feat: incorporate version 2 changes for maxcompute

* update name to be used in create and update

* fix: fix failure for decode

* fix test and list issues

* fix: handle name for view updation

* test: fix the error on maxcompute test handle form

* test: fix the error on maxcompute view handle form mock

---------

Co-authored-by: Frederick Wijayadi Susilo <[email protected]>
Co-authored-by: Frederick Wijayadi Susilo <[email protected]>
  • Loading branch information
3 people authored and Mryashbhardwaj committed Dec 18, 2024
1 parent 50f5edf commit fa1fb46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/store/maxcompute/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ func NewClient(svcAccount string) (*MaxComputeClient, error) {

aliAccount := account.NewAliyunAccount(cred.AccessID, cred.AccessKey)
odpsIns := odps.NewOdps(aliAccount, cred.Endpoint)
odpsIns.SetDefaultProjectName(cred.ProjectName)

return &MaxComputeClient{odpsIns}, nil
}
Expand Down

0 comments on commit fa1fb46

Please sign in to comment.