class documentation
class FactPsqlJob(RetrivalJob): (source)
Fetches features for defined facts within a postgres DB
It is supported to fetch from different tables, in one request
This is hy the source
property is a dict with sources
NB: It is expected that the data sources are for the same psql instance
Method | aggregated |
Undocumented |
Method | build |
Undocumented |
Async Method | build |
Undocumented |
Method | build |
Undocumented |
Method | build |
Undocumented |
Method | describe |
Undocumented |
Method | dtype |
Undocumented |
Method | generate |
Undocumented |
Method | ignore |
Undocumented |
Async Method | psql |
Undocumented |
Method | sql |
Undocumented |
Async Method | to |
Undocumented |
Async Method | to |
Undocumented |
Method | value |
Undocumented |
Class Variable | facts |
Undocumented |
Class Variable | requests |
Undocumented |
Class Variable | sources |
Undocumented |
Property | config |
Undocumented |
Property | request |
Undocumented |
Property | retrival |
Undocumented |
Inherited from RetrivalJob
:
Static Method | from |
Undocumented |
Static Method | from |
Undocumented |
Static Method | from |
Undocumented |
Static Method | from |
Undocumented |
Method | aggregate |
Undocumented |
Method | cache |
Undocumented |
Method | cached |
Undocumented |
Method | chuncked |
Undocumented |
Method | combined |
Undocumented |
Method | derive |
Undocumented |
Method | drop |
Undocumented |
Method | drop |
Drops invalid row based on the defined features. |
Method | ensure |
Undocumented |
Method | fill |
Undocumented |
Method | filter |
Filters based on a condition referencing either a feature, a feature name, or an polars expression to filter on. |
Method | inject |
Undocumented |
Method | join |
Undocumented |
Method | join |
Undocumented |
Method | listen |
Undocumented |
Method | log |
Undocumented |
Method | monitor |
Undocumented |
Method | on |
Undocumented |
Method | polars |
Undocumented |
Method | remove |
Undocumented |
Method | rename |
Undocumented |
Method | return |
Undocumented |
Method | select |
Undocumented |
Method | select |
Undocumented |
Method | split |
Undocumented |
Async Method | to |
Undocumented |
Method | train |
Undocumented |
Method | train |
Undocumented |
Method | transform |
Undocumented |
Method | unique |
Undocumented |
Method | unique |
Undocumented |
Method | unpack |
Undocumented |
Method | update |
Undocumented |
Method | validate |
Undocumented |
Method | with |
Undocumented |
Method | with |
Undocumented |
Method | without |
Undocumented |
Async Method | write |
Writes the output of the retrival job to the passed source. |
Property | loaded |
Undocumented |
def generate_query(self, entity_columns:
list[ str]
, entity_query: str
, tables: list[ TableFetch]
, aggregates: list[ TableFetch]
, final_select: list[ str]
, final_joins: str
) -> str
:
(source)
¶
Undocumented
def sql_aggregated_request(self, window:
AggregateOver
, features: set[ AggregatedFeature]
, request: RetrivalRequest
) -> TableFetch
:
(source)
¶
Undocumented
def value_selection(self, request:
RetrivalRequest
, entities_has_event_timestamp: bool
) -> TableFetch
:
(source)
¶
Undocumented