Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: maxcompute support #293

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft

feat: maxcompute support #293

wants to merge 10 commits into from

Conversation

@deryrahman deryrahman marked this pull request as draft October 30, 2024 04:04
@deryrahman deryrahman force-pushed the maxcompute-support branch 2 times, most recently from 32efc8d to 9e84bdc Compare November 8, 2024 00:07
sbchaos and others added 8 commits December 17, 2024 18:24
* 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

# Conflicts:
#	ext/store/maxcompute/maxcompute.go
#	ext/store/maxcompute/table.go
#	ext/store/maxcompute/table_test.go

* 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]>
* 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

# Conflicts:
#	ext/store/maxcompute/maxcompute.go
#	ext/store/maxcompute/table.go
#	ext/store/maxcompute/table_test.go

* 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

* feat: add support for Alicloud OSS DAG write

* 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

* feat: refactor approach to implement blob driver.Bucket instead

* fix: fix failure for decode

* fix test and list issues

* fix: handle name for view updation

* feat: implement NewTypedWriter

* fix: do not use prefix

* feat: export cfg

* feat: restructure code

* fix lint

* fix implementation with unit test

* fix linter & use test pkg

---------

Co-authored-by: Sandeep Bhardwaj <[email protected]>
Co-authored-by: Frederick Wijayadi Susilo <[email protected]>
Co-authored-by: Frederick Wijayadi Susilo <[email protected]>
* feat: add upstream identifier for maxcompute

* fix: linter

* test: add test case for maxcompute identifier

* fix: linter

* feat: support tick quote in one part of table
* feat: add schema support for resource management on standard and view table

* feat: add auto create schema for view table

* chore: fix lint error
* feat: upstream identifier for maxcompute view

* feat: extractor view ddl for maxcompute

* test: update test case for mc extractor + fix linter

* feat: create table from parsed urn + ignore load error because of bug in ali sdk
* feat: add temporary capability to clean up query before execution

* test: add test for query clean up
sbchaos and others added 2 commits December 18, 2024 19:14
* feat: add resource management support for maxcompute (#282)

* 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]>

* feat: Add OSS Support for Job Management (#289)

* 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

* feat: add support for Alicloud OSS DAG write

* 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

* feat: refactor approach to implement blob driver.Bucket instead

* fix: fix failure for decode

* fix test and list issues

* fix: handle name for view updation

* feat: implement NewTypedWriter

* fix: do not use prefix

* feat: export cfg

* feat: restructure code

* fix lint

* fix implementation with unit test

* fix linter & use test pkg

---------

Co-authored-by: Sandeep Bhardwaj <[email protected]>
Co-authored-by: Frederick Wijayadi Susilo <[email protected]>
Co-authored-by: Frederick Wijayadi Susilo <[email protected]>

* feat: auto dependency resolution support for maxcompute (#285)

* feat: add upstream identifier for maxcompute

* fix: linter

* test: add test case for maxcompute identifier

* fix: linter

* feat: support tick quote in one part of table

* Implement schema level support (#296)

* feat: add schema support for resource management on standard and view table

* feat: add auto create schema for view table

* chore: fix lint error

* chore: update maxcompute sdk

* feat: add external table support

* feat: complete the create flow

* feat: add support for exists on external table

* feat: finalise support for external table

* Add test for external table

* Add support for creating a csv file

* feat: add service for google sheets

* fix lint errors

* add syncer for sheets

* add oss client

* move oss code to bucket

* fix: put csv to OSS

* fix: upload csv to oss

* fix: add validation for gsheet service creation

* fix: upload csv to oss

* fix: lint

* fix lint errors

* fix: tests

---------

Co-authored-by: Frederick Wijayadi Susilo <[email protected]>
Co-authored-by: Frederick Wijayadi Susilo <[email protected]>
Co-authored-by: Ahmad N. F <[email protected]>
Co-authored-by: Dery Rahman Ahaddienata <[email protected]>
Co-authored-by: Yash Bhardwaj <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants