-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove granularity from proto files * Remove granularity from serving * Remove granularity from proto files * Remove granularity from serving * Remove granularity from core * Remove granularity from Python SDK * Update generated protos, remove granularity * Remove granularity from ingestion * Scrub additional mentions of granularity * Update core-deploy template * Update chart distribution * Fix core service not overriding storage correctly * Shade core jar to include google nio lib * Remove granularity from UI * Update feature details page * Update Importer in Feast Python SDK to handle source options properly When the import source type is DataFrame
- Loading branch information
1 parent
6646402
commit cf45d0f
Showing
123 changed files
with
1,606 additions
and
2,374 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,26 +34,24 @@ func TestYamlToFeatureSpec(t *testing.T) { | |
}{ | ||
{ | ||
name: "valid yaml", | ||
input: []byte(`id: test.none.test_feature_two | ||
input: []byte(`id: test.test_feature_two | ||
name: test_feature_two | ||
entity: test | ||
owner: [email protected] | ||
description: testing feature | ||
valueType: INT64 | ||
granularity: NONE | ||
uri: https://github.com/bob/example | ||
dataStores: | ||
serving: | ||
id: REDIS | ||
warehouse: | ||
id: BIGQUERY`), | ||
expected: &specs.FeatureSpec{ | ||
Id: "test.none.test_feature_two", | ||
Id: "test.test_feature_two", | ||
Owner: "[email protected]", | ||
Name: "test_feature_two", | ||
Description: "testing feature", | ||
Uri: "https://github.com/bob/example", | ||
Granularity: types.Granularity_NONE, | ||
ValueType: types.ValueType_INT64, | ||
Entity: "test", | ||
DataStores: &specs.DataStores{ | ||
|
@@ -257,7 +255,7 @@ schema: | |
- name: timestamp | ||
- name: driver_id | ||
- name: last_opportunity | ||
featureId: driver.none.last_opportunity`), | ||
featureId: driver.last_opportunity`), | ||
expected: &specs.ImportSpec{ | ||
Type: "file", | ||
JobOptions: map[string]string{ | ||
|
@@ -272,7 +270,7 @@ schema: | |
Fields: []*specs.Field{ | ||
{Name: "timestamp"}, | ||
{Name: "driver_id"}, | ||
{Name: "last_opportunity", FeatureId: "driver.none.last_opportunity"}, | ||
{Name: "last_opportunity", FeatureId: "driver.last_opportunity"}, | ||
}, | ||
EntityIdColumn: "driver_id", | ||
Timestamp: &specs.Schema_TimestampValue{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,12 +23,11 @@ func TestPrintFeature(t *testing.T) { | |
name: "with storage", | ||
input: &core.UIServiceTypes_FeatureDetail{ | ||
Spec: &specs.FeatureSpec{ | ||
Id: "test.none.test_feature_two", | ||
Id: "test.test_feature_two", | ||
Owner: "[email protected]", | ||
Name: "test_feature_two", | ||
Description: "testing feature", | ||
Uri: "https://github.com/bob/example", | ||
Granularity: types.Granularity_NONE, | ||
ValueType: types.ValueType_INT64, | ||
Entity: "test", | ||
DataStores: &specs.DataStores{ | ||
|
@@ -45,7 +44,7 @@ func TestPrintFeature(t *testing.T) { | |
LastUpdated: ×tamp.Timestamp{Seconds: 1}, | ||
Created: ×tamp.Timestamp{Seconds: 1}, | ||
}, | ||
expected: fmt.Sprintf(`Id: test.none.test_feature_two | ||
expected: fmt.Sprintf(`Id: test.test_feature_two | ||
Entity: test | ||
Owner: [email protected] | ||
Description: testing feature | ||
|
@@ -65,12 +64,11 @@ Related Jobs: | |
name: "no storage", | ||
input: &core.UIServiceTypes_FeatureDetail{ | ||
Spec: &specs.FeatureSpec{ | ||
Id: "test.none.test_feature_two", | ||
Id: "test.test_feature_two", | ||
Owner: "[email protected]", | ||
Name: "test_feature_two", | ||
Description: "testing feature", | ||
Uri: "https://github.com/bob/example", | ||
Granularity: types.Granularity_NONE, | ||
ValueType: types.ValueType_INT64, | ||
Entity: "test", | ||
}, | ||
|
@@ -79,7 +77,7 @@ Related Jobs: | |
LastUpdated: ×tamp.Timestamp{Seconds: 1}, | ||
Created: ×tamp.Timestamp{Seconds: 1}, | ||
}, | ||
expected: fmt.Sprintf(`Id: test.none.test_feature_two | ||
expected: fmt.Sprintf(`Id: test.test_feature_two | ||
Entity: test | ||
Owner: [email protected] | ||
Description: testing feature | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.