Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@windoze
Copy link
Member

@windoze windoze commented Aug 13, 2022

This PR is the client part corresponding to PR #475 , it contains Python code to generate config/jobparameters to enable the user to use CosmosDb as Data Source and Online/Offline storage.

It adds "CosmosDbSource" and "CosmosDbSink" in the client lib, the former is to use CosmosDb as data source, the latter is to use CosmosDb as online storage.

There are still some open questions about using CosmosDb as offline storage, the main one is, CosmosDb requires every row/doc to have a unique key, but in the feature joining job, we still don't know what should be used as a meaningful key.
For this reason, using CosmosDb as an offline store is not opened in the public interface, even the function is usable internally.

blrchen
blrchen previously approved these changes Aug 15, 2022
@blrchen
Copy link
Collaborator

blrchen commented Aug 16, 2022

E2E test should get updated to cover write features to cosmos db

@jainr
Copy link
Collaborator

jainr commented Aug 17, 2022

Can we add test cases to show this in working?

blrchen
blrchen previously approved these changes Aug 24, 2022
Yuqing-cat
Yuqing-cat previously approved these changes Aug 24, 2022
@windoze windoze dismissed stale reviews from Yuqing-cat and blrchen via e7f8ceb August 24, 2022 13:03
@xiaoyongzhu
Copy link
Member

The test failures are irrelevant hence merging the code.

@xiaoyongzhu xiaoyongzhu merged commit 3ab9c82 into main Aug 25, 2022
@xiaoyongzhu xiaoyongzhu deleted the windoze/generic-io-client branch August 25, 2022 19:47
ahlag pushed a commit to ahlag/feathr that referenced this pull request Aug 26, 2022
* WIP

* Remove ununsed import

* Rename collection to container

* Typo

* Typo

* Use Sink as offline store

* Add CI test case

* CI test fix

* SQL and CosmosDb doc

* CosmosDb test

* Resolve comments

* Resolve comments

* Environment variables in upper case

* Get env from secrets

* Databricks env
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.

6 participants