question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support entityless features

See original GitHub issue

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I’m always frustrated when […]

We have features that don’t have a corresponding entity and should just be joined based on the timestamp column.

Describe the solution you’d like A clear and concise description of what you want to happen.

There are probably more efficient solutions than the one here but this one does a good job of preserving modularity such that it turns the entityless problem into a normal entity so all the existing logic/sql can run without needing to be adjusted to handle a special case. The code to turn the entityless case into a normal entity case can be quite self contained.

Feast supports an entity named “__entityless” which is internally defined. When an user registers a new featureview that involves entityless features, they pass an empty entity list. Empty list defaults to using the “__entityless” entity. Upon a join, feast looks at the entities involved with the features and if “__entityless” is present, the entity source data is appended with an “__entityless” column (SELECT *, 0 as __entityless from my_entity_table) and the feature data tables that use these entityless features are also appended with that constant column. __entityless is added to the join_key set. Everything else can proceed as normal.

Describe alternatives you’ve considered A clear and concise description of any alternative solutions or features you’ve considered.

N/A

Additional context Add any other context or screenshots about the feature request here.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
achalscommented, Aug 25, 2021

Assiging to @codyjlin

1reaction
mavysavydavcommented, Aug 11, 2021

i think you’ve already seen it, but we’ve start developing the design via this rfc - https://docs.google.com/document/d/1mOZ-a6Voq43JcsPu2BIaZEEa3FJ6RhyFxs2CZDbby-U/edit#heading=h.9gaqqtox9jg6

Read more comments on GitHub >

github_iconTop Results From Across the Web

Overview - Feast
support for on-demand transforms · readable by Python SDK · readable by Java · readable by Go · support for entityless feature views...
Read more >
Keyless Entity Types - EF Core - Microsoft Learn
Keyless entity types support many of the same mapping capabilities as regular entity types, like inheritance mapping and navigation properties.
Read more >
feast/datastore.md at master - GitHub
The Datastore online store provides support for materializing feature values into Cloud Datastore. ... support for entityless feature views, yes.
Read more >
A Path to An Alternative Regulatory Solution for Decentralized ...
... legal and operational limitations of entity-less DAOs to achieve permissionless access, decentralization, and democratic governance.”.
Read more >
Prasaṅgika according to Tsongkhapa - Wikipedia
... according to Tsongkhapa, the Svātantrika negate a "truly existing self," but maintain that things exist conventionally "according to characteristics." ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found