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

Support printing features and returning keys when getting features from registry #886

Merged
merged 33 commits into from
Dec 16, 2022

Conversation

enya-yx
Copy link
Collaborator

@enya-yx enya-yx commented Nov 29, 2022

Description

  • Provide function to show features details (including keys) in json format and return a [feature_name] = [typed keys] dict when 'get_features_from_registry'

How was this PR tested?

  • Tested locally, and got log like below:

Screenshot 2022-11-29 at 21 00 09

- Modified one of existing test cases to print out features details and to return key dicts

Does this PR introduce any user-facing changes?

  • No. You can skip the rest of this section.
  • Yes. Make sure to clarify your proposed changes.

@enya-yx enya-yx added the safe to test Tag to execute build pipeline for a PR from forked repo label Nov 29, 2022
rakeshkashyap123 and others added 9 commits November 29, 2022 20:48
* Add working gradle build

* Set up pdl support

* Working PDL java code gen

* With pdl files from metadata models

* With pdl files from compute model

* Fix compile for all pdl files

* Add working gradle build

* Migrate frame-config module into feathr

* Migrate fcm graph module to feathr

* Add FCM offline execution code, includes FDS metadata code

* Add needed jars for feathr-config tests

* Switch client to FeathrClient2 for local tests and fix config errors

* Fix SWA test

* Add gradle wrapper jar

* Change name of git PR test from sbt to gradle

* Switch python client to use FCM client

* Exclude json from dependency

* Add hacky solution to handle json dependency conflict in cloud

* Add json to local dependency

* Add log to debug cloud jar

* Add json as dependency

* Another attempt at resolving json dependency

* Resolve json via shading

* Fix json shading

* Remove log

* Shade typesafe config for cloud jar

* Add maven publish code to build.gradle

* Add working local maven build and rename frame-config to feathr-config to avoid namespace conflict

* Modify sonatype creds

* Change so no need to sign if releasing snapshot version

* Update build.gradle to allow publishing of all modules

* Removed FDS handling from Feathr

* All tests working

* Deleted FR stuff

* Remove dimension and other tensor related stuff

* Remove mlfeatureversionurn from defaultvalueresolver

* Remove mlfeatureversionurn and featureref

* Remove featuredefinition files

* Remove featureRef and typedRef

* final cleanup

* Fix merge conflict bugs

* Fix guava error

* udf plugin for swa features

* row-transformations optimization

* fix bug

* fix another bug

* always execute agg nodes first

* Add SWA log

* reverse order of execution

* group by datasource

* Fix bug

* Merge main into fcm branch

* Remove insecure URLs

* Add back removed files

* Add back removed files

* Add back removed files

* Change PR build system to gradle

* Change sbt job to gradle jobb

* Change sbt workflow:wq

* Update maven github workflow to use gradle

* fix failing test

* remove sbt project module

* Remove sbt related files

* Change docs to reflect gradle

* Remove keywords

* Create a single jar

* 1. Fix jar not getting populated\n 2. Fix documentation bugs

* pubishToMavenLocal Working

* With FFE integrated

* maven upload working

* Update docs and code clean up

* add gradle-wrapper file

* Push all dependency jars

* Update docs

* Docs cleanup

* Update github workflow commands

* Update github workflow

* Update workflow syntax

* Update version

* Add gradle version to github workflow

* Update gradle version w/o quotes

* Remove github gradle version

* Github workflow fix

* Github workflow fix-2

* Github workflow fix-4

Co-authored-by: Bozhong Hu <bobhu@linkedin.com>
Co-authored-by: rkashyap <rkashyap@linkedin.com>
… arg order to make it work with old codes (feathr-ai#890)

Signed-off-by: Jun Ki Min <42475935+loomlike@users.noreply.github.com>

Signed-off-by: Jun Ki Min <42475935+loomlike@users.noreply.github.com>
Bumps [minimatch](https://github.com/isaacs/minimatch) and [recursive-readdir](https://github.com/jergason/recursive-readdir). These dependencies needed to be updated together.

Updates `minimatch` from 3.0.4 to 3.1.2
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](isaacs/minimatch@v3.0.4...v3.1.2)

Updates `recursive-readdir` from 2.2.2 to 2.2.3
- [Release notes](https://github.com/jergason/recursive-readdir/releases)
- [Changelog](https://github.com/jergason/recursive-readdir/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jergason/recursive-readdir/commits/v2.2.3)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
- dependency-name: recursive-readdir
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@enya-yx enya-yx changed the title Support printing features function when getting features from registry Support printing features and returning keys when getting features from registry Dec 1, 2022
* Add docs for checking/improving test coverage
aabbasi-hbo and others added 6 commits December 1, 2022 08:43
* registry-changes

* update purview

* remove delete functionality for now

* update tests

* remove unused import

* update endpoints

* fix locking issue

* Update _feature_registry_purview.py

* remove cascading delete

* Update feature_registry.py

* update access control

* update status code to 412
Signed-off-by: Yuqing Wei <weiyuqing021@outlook.com>
* add sql credential pass through doc

Signed-off-by: Yuqing Wei <weiyuqing021@outlook.com>

* fix comments

Signed-off-by: Yuqing Wei <weiyuqing021@outlook.com>

* fix comments

Signed-off-by: Yuqing Wei <weiyuqing021@outlook.com>

Signed-off-by: Yuqing Wei <weiyuqing021@outlook.com>
* update registry test, modify log

Signed-off-by: Yuqing Wei <weiyuqing021@outlook.com>

* fix comment

Signed-off-by: Yuqing Wei <weiyuqing021@outlook.com>

Signed-off-by: Yuqing Wei <weiyuqing021@outlook.com>
loomlike and others added 10 commits December 2, 2022 00:53
Signed-off-by: Jun Ki Min <42475935+loomlike@users.noreply.github.com>

Signed-off-by: Jun Ki Min <42475935+loomlike@users.noreply.github.com>
* Add feature embedding example. Update README

Signed-off-by: Jun Ki Min <42475935+loomlike@users.noreply.github.com>

* Add feature embedding notebook test

Signed-off-by: Jun Ki Min <42475935+loomlike@users.noreply.github.com>

* increase notebook's spark job timeout

Signed-off-by: Jun Ki Min <42475935+loomlike@users.noreply.github.com>

Signed-off-by: Jun Ki Min <42475935+loomlike@users.noreply.github.com>
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](SamVerschueren/decode-uri-component@v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…thr-ai#858)

* Add 'postfixPath' to support time pattern in the middle of paths
* Expose 'postfix_path' to datasource API
* Add test cases & documents
xiaoyongzhu
xiaoyongzhu previously approved these changes Dec 2, 2022
@xiaoyongzhu
Copy link
Member

LGTM, thanks @enya-yx for this!

@enya-yx enya-yx merged commit 8c8dfde into feathr-ai:main Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test Tag to execute build pipeline for a PR from forked repo
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants