Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
ec8a385
Create common AWS config
kevinhu Jun 23, 2021
d3bf612
Init sagemaker
kevinhu Jun 23, 2021
3db0a58
Common AWS dependencies
kevinhu Jun 23, 2021
d282559
Get features in feature group
kevinhu Jun 23, 2021
8f455c9
Ingest feature groups
kevinhu Jun 23, 2021
2bfb882
Add example ingestion config
kevinhu Jun 23, 2021
5bff9f4
Fix feature ingestion
kevinhu Jun 23, 2021
44ecb58
Append Glue data catalog source
kevinhu Jun 23, 2021
d660a9b
Handle primary key ingestion
kevinhu Jun 24, 2021
0259845
Init tests and stubs
kevinhu Jun 24, 2021
cd4d233
Add sagemaker golden
kevinhu Jun 24, 2021
4ff8434
Clean up golden
kevinhu Jun 24, 2021
8971109
Add descriptions and filter primary keys
kevinhu Jun 24, 2021
9133c85
Include custom fields in feature tables
kevinhu Jun 24, 2021
777f7df
Add sagemaker custom properties
kevinhu Jun 24, 2021
3722726
Merge
kevinhu Jun 24, 2021
149584a
Cleanup
kevinhu Jun 24, 2021
fb70c0b
Fix old references
kevinhu Jun 24, 2021
1c248c3
Add test stub with offline store
kevinhu Jun 24, 2021
3a4012e
Update custom properties
kevinhu Jun 24, 2021
3b575b1
Merge
kevinhu Jun 25, 2021
ffcd8cc
Merge branch 'master' of github.com:kevinhu/datahub into sagemaker-fe…
kevinhu Jun 25, 2021
768393e
Refactor
kevinhu Jun 25, 2021
4bc4601
Merge branch 'master' of github.com:kevinhu/datahub into sagemaker-fe…
kevinhu Jun 28, 2021
63841e4
Update comments
kevinhu Jun 28, 2021
30564cc
Merge branch 'master' of github.com:kevinhu/datahub into sagemaker-fe…
kevinhu Jun 29, 2021
0bbe932
Merge
kevinhu Jun 29, 2021
8f96239
Fix imports order
kevinhu Jun 29, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add sagemaker custom properties
  • Loading branch information
kevinhu committed Jun 24, 2021
commit 777f7df214133ead3bb71da2334847394b1e1a8f
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

import sys
import time
from pyhive import hive
from TCLIService.ttypes import TOperationState

import simplejson as json
from pyhive import hive
from TCLIService.ttypes import TOperationState

HIVESTORE='localhost'

Expand Down
5 changes: 5 additions & 0 deletions metadata-ingestion/src/datahub/ingestion/source/sagemaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@ def get_feature_group_wu(
feature_group_details["RecordIdentifierFeatureName"],
)
],
customProperties={
"arn": feature_group_details["FeatureGroupArn"],
"creation_time": str(feature_group_details["CreationTime"]),
"status": feature_group_details["FeatureGroupStatus"],
},
)
)

Expand Down
10 changes: 10 additions & 0 deletions metadata-ingestion/tests/unit/sagemaker/sagemaker_mces_golden.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@
"aspects": [
{
"com.linkedin.pegasus2avro.ml.metadata.MLFeatureTableProperties": {
"customProperties": {
"arn": "arn:aws:sagemaker:us-west-2:123412341234:feature-group/test-1",
"creation_time": "2021-06-23 13:58:10.264000",
"status": "Created"
},
"description": "First test feature group",
"mlFeatures": [
"urn:li:mlFeature:(test-1,name)",
Expand Down Expand Up @@ -164,6 +169,11 @@
"aspects": [
{
"com.linkedin.pegasus2avro.ml.metadata.MLFeatureTableProperties": {
"customProperties": {
"arn": "arn:aws:sagemaker:us-west-2:123412341234:feature-group/test",
"creation_time": "2021-06-14 11:03:00.803000",
"status": "Created"
},
"description": null,
"mlFeatures": [
"urn:li:mlFeature:(test,feature_2)",
Expand Down