Skip to content

Commit

Permalink
Include List Bool in pandas transformation
Browse files Browse the repository at this point in the history
Signed-off-by: john.lemmon <john.lemmon@medely.com>
  • Loading branch information
JohnLemmonMedely committed Sep 18, 2023
1 parent f01892a commit 9f5a124
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sdk/python/feast/infra/offline_stores/snowflake.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
)
from feast.repo_config import FeastConfigBaseModel, RepoConfig
from feast.saved_dataset import SavedDatasetStorage
from feast.types import Array, Float32, Float64, Int32, Int64, String, UnixTimestamp
from feast.types import Array, Float32, Float64, Int32, Int64, String, UnixTimestamp, Bool
from feast.usage import log_exceptions_and_usage

try:
Expand Down Expand Up @@ -452,6 +452,7 @@ def _to_df_internal(self, timeout: Optional[int] = None) -> pd.DataFrame:
Array(UnixTimestamp),
Array(Float64),
Array(Float32),
Array(Bool),
]:
df[feature.name] = [json.loads(x) for x in df[feature.name]]

Expand Down

0 comments on commit 9f5a124

Please sign in to comment.