Skip to content

Loosing key context when using 'fromRedisHash' #214

Open
@yananielsen

Description

@yananielsen

Hi,
I am trying to load redis data of the form (the hash keys don't have a fixed value):
hset id_1 feature_1 value_1 hset id_1 feature_2 value_2 hset id_2 feature_2 value_2 hset id_3 feature_3 value_3
to a dataframe with the schema (id, feature,value) but the method fromRedisHash("*") returns only the hash:
image

Is there a way to retrieve the context? assuming I don't want to use the dataframe approach because it will require more memory (i.e hset id_3 feature feature_3 value value_3)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions