Repository navigation
Conversation
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #7113 +/- ##
==========================================
+ Coverage 51.32% 51.79% +0.46%
==========================================
Files 458 458
Lines 57441 57705 +264
Branches 8421 8481 +60
==========================================
+ Hits 29482 29886 +404
+ Misses 25950 25793 -157
- Partials 2009 2026 +17
... and 6 files with indirect coverage changes Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
Signed-off-by: SHUCHU HAN <shuchu@SHUCHUs-MacBook-Air.local> Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
This reverts commit 00ca831. Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
…line store (feast-dev#7120) * fix: Round-trip every Feast type and null in the Milvus online store With the default configuration the Milvus online store could not return most non-numeric Feast types as written. A Bool failed to read, a UnixTimestamp got no column so every write of it failed, an Array(String) failed to read, a numeric array without vector_index was declared as a vector of embedding_dim and could not be written, Bytes came back as base64 text and Json as the base64 of its protobuf. A missing value was stored as the column's default, which failed to read for a numeric text column and came back as 0 or false for a native one. Search hits decoded only primitive types, and entity columns were written as the text of their Python value. The write path now stores every scalar natively or as text, bytes as base64 and every other value as the base64 of its ValueProto, for features and entity columns alike, and one helper rebuilds the ValueProto for reads and searches from every declared field type. UnixTimestamp gets a column, only a field with vector_index=True becomes a vector, with the dimension from Field.vector_length before embedding_dim, and an empty text in a numeric or timestamp column reads as null. Array(Bool) with vector_index is rejected, because Milvus binary vectors were written unpacked and indexed with a float metric and could not work. The new milvus.nullable field tag makes a column nullable, so a missing value is stored and read as null. Signed-off-by: jiwidi <fhjaime96@gmail.com> * feat: Add native complex types and scalar index tags to the Milvus online store With enable_openai_compatible_store the Milvus online store stored numeric features as native columns, but arrays and Json values were still base64 text, so a filter could not reach them and Milvus could not validate them. With the flag, an array of scalars without vector_index is now an ARRAY column of the element type, with milvus.max_capacity elements at most, and a Json value, or an array of them, is a JSON column. Both columns are nullable unless the field says otherwise, so a missing value stays null. A Json value must be an object or an array, because PyMilvus cannot store a top-level string, number or bool in a JSON column, and JSON null is stored as a null column value. Map and Struct values stay serialized, because JSON cannot hold their nested bytes, timestamps or empty typed lists. The column types of an existing collection decide how a row is written and read, so collections created before this change keep working. Filter keys can address a JSON path or an array element, for example attributes["price"] or tags[0]. Field tags declare scalar indexes, which Feast creates with the collection: milvus.index names the index type of a scalar column, milvus.index_params passes its parameters and milvus.json_indexes lists JSON path indexes of a JSON column. For an existing collection without them Feast logs a warning, as it does for a missing partition key. Signed-off-by: jiwidi <fhjaime96@gmail.com> --------- Signed-off-by: jiwidi <fhjaime96@gmail.com> Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
…feast-dev#7121) FileOptions.__init__ marks file_format and s3_endpoint_override as "(optional)", but all three arguments are positional with no defaults, so FileOptions(uri="data.parquet") raises TypeError. Drop the marker so the docstring matches the signature; the class-level Attributes block already lists the three without it. Signed-off-by: VenishPaneliya <141703684+VenishPaneliya@users.noreply.github.com> Co-authored-by: Shuchu Han <shuchu.han@gmail.com> Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
…ev#7117) _materialize_odfv gives up on five conditions and returns without materializing. Each one printed to stdout with a hand-rolled [WARNING] prefix, so a user's logging configuration could not silence, redirect or capture it. The module already has _logger and uses it for every other warning. Signed-off-by: VenishPaneliya <141703684+VenishPaneliya@users.noreply.github.com> Co-authored-by: Shuchu Han <shuchu.han@gmail.com> Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
…estamps (feast-dev#7116) get_timestamp_filter_sql formats datetime bounds as dates for the date_partition_column predicate, but returned string bounds unchanged. Athena's pull_all_from_table_or_query passes strings such as '2026-02-01 01:00:00.000', so the partition predicate became dt >= '2026-02-01 01:00:00.000'. Against a 'YYYY-MM-DD' partition value that compares false, which drops the whole first day. Truncate string bounds to their date part. Signed-off-by: sohailshk <122166523+sohailshk@users.noreply.github.com> Co-authored-by: Shuchu Han <shuchu.han@gmail.com> Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
`feast dbt import` only checked that the entity columns exist. A model whose entity column is declared as FLOAT64, BOOLEAN, BYTES or TIMESTAMP was imported silently, producing an entity keyed on a floating point, boolean, binary or timestamp value. A model with an ARRAY entity column crashed the whole import with an unhandled ValueError from FeatureView. The import now maps each entity column's dbt type through the existing dbt-to-Feast type mapping and: - skips models with an array entity column, with a warning, in the same way as models that miss an entity or timestamp column; - prints a warning for entity columns that map to anything other than String, Int32 or Int64, naming the dbt type and the Feast type it maps to, and still imports the model. This also flags Snowflake's NUMBER(38,0), which the mapping turns into Float64. Columns without a declared data_type default to STRING and do not warn. The list of imported models used for the summary and for --output code generation is now collected while processing models instead of being recomputed afterwards from column presence, so skipped models can no longer leak into the generated file. The dbt how-to documents the check and the new warnings. Fixes feast-dev#5876 Signed-off-by: NopeCharon <115794254+NopeCharon@users.noreply.github.com> Co-authored-by: Shuchu Han <shuchu.han@gmail.com> Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
…-operator (feast-dev#7062) Signed-off-by: ryder777777 <sahilridder@gmail.com> Co-authored-by: Shuchu Han <shuchu.han@gmail.com> Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
…east-dev#7056) The feature-monitoring UI picked the baseline metrics row as the newest window because the baseline is saved with metric_date = today. That made the monitoring tab land on the baseline instead of real data, listed 'baseline' as a granularity in the detail view, mixed window lengths in the time series, and compared mismatched histogram bins (raw counts on different bin edges, with a TypeError when the baseline was categorical and the window numeric). - FeatureMonitoringTab: select the latest non-baseline window row via selectLatestWindowMetric - FeatureMetricsDetail: filter baseline rows out of the granularity list and render each granularity's time series separately - HistogramChart: rebin numeric baselines onto the window's bin edges, compare densities instead of raw counts, and guard non-numeric baselines - add histogramUtils with unit tests (9 passing) Fixes feast-dev#7054 Signed-off-by: Mrun25 <165297479+Mrun25@users.noreply.github.com> Co-authored-by: Shuchu Han <shuchu.han@gmail.com> Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
…v#7071) Signed-off-by: AryanRG <aryanrganjoo@gmail.com> Co-authored-by: Shuchu Han <shuchu.han@gmail.com> Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
feast-dev#7077) * feat: Refresh pre-computed vectors for pushed entities only precompute_feature_service accepts entity_keys and skips the keyspace scan when they are given. The push hook now passes the distinct entity keys from the pushed DataFrame instead of rebuilding every entity in the store. Signed-off-by: Chandler King <chandler.king@findheadway.com> Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * fix: Match pre-computed vector names when full_feature_names is False Stored vectors carry "<fv>__<feature>" names while the default request expects bare feature names, so the fast path always reported a schema mismatch unless full_feature_names=True. Compare on the caller's naming and derive the per-feature view name from the stored names for TTL checks. Signed-off-by: Chandler King <chandler.king@findheadway.com> Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * feat: Optional nameless pre-computed vectors with a schema fingerprint A pre-computed vector stores the full repeated feature name list next to its values. For a wide service that is most of the blob: 90 features came to 4.8 KB per entity, 3.8 KB of it names that are identical for every entity. FeatureService gains precompute_omit_names. Vectors written for such a service carry only values, per-view timestamps, and a fingerprint of the service's ordered names. The fast path validates a nameless vector by fingerprint and takes its names from the service. Vectors with names keep working as before. With the flag on the same blob is 834 bytes, and a 500-entity read moves 414 KB instead of 2.4 MB. Generated code is from grpcio-tools 1.62.3 (protobuf 4.25) and mypy-protobuf 3.3.0 to match the checked-in files. Signed-off-by: Chandler King <chandler.king@findheadway.com> Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * chore: Retrigger CI Signed-off-by: Chandler King <chandler.king@findheadway.com> --------- Signed-off-by: Chandler King <chandler.king@findheadway.com> Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> Co-authored-by: Shuchu Han <shuchu.han@gmail.com> Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
An entity whose join key is a Uuid or TimeUuid could be applied, but materializing it failed in serialize_entity_key with "Value type not supported for feast feature store", so its features never reached the online store and could not be served. Encode uuid_val and time_uuid_val as their UTF-8 string with the UUID and TIME_UUID value type tags, and decode them back in deserialize_entity_key. Signed-off-by: Mohammad Hijjawi <mohammad.hijjawi1997@gmail.com> Co-authored-by: Shuchu Han <shuchu.han@gmail.com> Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
…st-dev#7033) StreamFeatureView.to_proto() built spec.features from self.schema, which includes the entity (join key) columns, while FeatureView.to_proto_spec() uses self.features. A stream feature view read back from the registry therefore listed its join key as a feature, and a FeatureService built from it failed historical retrieval with a duplicate join key column. Serialize self.features, matching FeatureView. Entity columns are still stored in spec.entity_columns and restored by from_proto. Signed-off-by: Vidit Patankar <vidit.patankar16@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Shuchu Han <shuchu.han@gmail.com> Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
…ine store (feast-dev#6952) The Dask offline store sorted by created_timestamp_column and then by timestamp_field in a second pass, relying on that second sort to keep the created timestamp order for rows sharing an event timestamp. sort_values is not stable, so with enough rows the older row could end up last and win the keep="last" deduplication, both in historical retrieval and in pull_latest_from_table_or_query. Sort once by [timestamp_field, created_timestamp_column] instead. Signed-off-by: LuisFigueroaG <luis.h.figueroa.g@gmail.com> Co-authored-by: Shuchu Han <shuchu.han@gmail.com> Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
* test: Add optional LocalCloud integration lane Signed-off-by: cloud-orbitor <orbitor.cloud@gmail.com> * Keep the LocalCloud test integration self-contained Signed-off-by: cloud-orbitor <orbitor.cloud@gmail.com> * fix: Preserve LocalCloud documentation during template generation Signed-off-by: cloud-orbitor <orbitor.cloud@gmail.com> * test: Use setup-localcloud and shared setup documentation Signed-off-by: cloud-orbitor <orbitor.cloud@gmail.com> * fix: Correct project fixture for LocalCloud validation Signed-off-by: cloud-orbitor <orbitor.cloud@gmail.com> * test: Use setup-localcloud and shared setup documentation Signed-off-by: cloud-orbitor <orbitor.cloud@gmail.com> --------- Signed-off-by: cloud-orbitor <orbitor.cloud@gmail.com> Co-authored-by: Shuchu Han <shuchu.han@gmail.com> Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
* fix: Warm up the whole DynamoDB connection pool warmup_connections made a single describe_limits call, so only one connection of the pool was opened. Issue max_pool_connections calls concurrently, so that each one needs its own connection. A failed call is logged and does not stop the others. Signed-off-by: Ritankar Mondal <ritankarmondal123@gmail.com> * fix: Use describe_endpoints for DynamoDB connection warmup DescribeLimits is throttled when called more than once a minute, so warming the pool with max_pool_connections concurrent calls would be throttled, and with adaptive retries it would also slow the client down for the first reads. DescribeEndpoints is not tied to a table and has no such limit. Signed-off-by: Ritankar Mondal <ritankarmondal123@gmail.com> --------- Signed-off-by: Ritankar Mondal <ritankarmondal123@gmail.com> Co-authored-by: Shuchu Han <shuchu.han@gmail.com> Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
…7039) A None element in a UUID_LIST, TIME_UUID_LIST or DECIMAL_LIST is written as "" (see _LIST_NONE_DEFAULTS), but feast_value_type_to_python_type passed every element to UUID() or Decimal(). The write succeeded and reading the row back raised ValueError or InvalidOperation. Read "" back as None, as the unix timestamp list reader already does for its null sentinel. Signed-off-by: spicysharkco <321699413+spicysharkco@users.noreply.github.com> Co-authored-by: Shuchu Han <shuchu.han@gmail.com> Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
…es (feast-dev#6995) Signed-off-by: Nagizaaz Shaik <176337212+shaikn6@users.noreply.github.com> Co-authored-by: Hao Xu <sduxuhao@gmail.com> Co-authored-by: Shuchu Han <shuchu.han@gmail.com> Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
…st-dev#7000) * fix: Preserve Dask historical requests without eligible features Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> * fix: preserve integer dtypes when masking expired Dask features Use pandas' nullable missing value when retaining entity rows whose feature candidate is outside the TTL window. This keeps integer feature columns from being widened to float64 while preserving the existing candidate filtering behavior. Add a regression test for integer feature values. Prepared with Codex assistance; no human review is claimed. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> * fix: preserve integer dtypes when masking expired features Cast integer feature columns to pandas nullable integer dtypes before masking expired candidates, so ordinary int64 inputs do not widen to float64 when the left-join request row is preserved. Add a regression covering the plain int64 source case. Prepared and tested with Codex assistance; no human review is claimed. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> Co-Authored-By: Codex <noreply@openai.com> * fix: preserve integer dtypes when masking expired features Cast integer feature columns to pandas nullable integer dtypes before masking expired candidates, so ordinary int64 inputs do not widen to float64 when the left-join request row is preserved. Add a regression covering the plain int64 source case. Prepared and tested with Codex assistance; no human review is claimed. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> Co-Authored-By: Codex <noreply@openai.com> * fix: preserve integer dtypes when masking expired features Cast integer feature columns to pandas nullable integer dtypes before masking expired candidates, so ordinary int64 inputs do not widen to float64 when the left-join request row is preserved. Add a regression covering the plain int64 source case. Prepared and tested with Codex assistance; no human review is claimed. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> Co-Authored-By: Codex <noreply@openai.com> * fix: preserve Dask TTL request dtypes Keep valid feature candidates unchanged and add a null-feature row only when every candidate for a request is outside the TTL window. This preserves ordinary integer dtypes when a valid candidate exists while retaining left-join behavior for expired requests. Prepared with Codex assistance; no human review is claimed. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> * fix: preserve feature dtypes when restoring TTL rows Keep eligible rows unchanged and re-add null rows only for requests with no eligible candidates, preserving integer feature dtypes. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> * fix: retain plain integer dtype when no TTL rows are missing Return the filtered Dask frame unchanged when every request has an eligible candidate, and cover this path with a direct plain-int64 regression test. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> * fix: preserve request rows without widening matched integer features Keep only requests that lose every eligible TTL candidate in the null-row path, so matched plain integer feature columns retain their dtype. Add regression coverage for both missing and all-matched requests. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> * fix: Handle Dask TTL filtering across partitions Preserve entity requests whose feature candidates all fall outside the TTL window without relying on the first Dask partition to detect missing rows. Carry the TTL validity mask through the merge so row reordering cannot apply stale indices, and cover multi-partition sources with a regression test. The focused Dask TTL suite passes (17 tests), along with Ruff, formatting, and diff checks. Prepared with Codex assistance; no human review is claimed. Signed-off-by: NUAAwqy <41898282+NUAAwqy@users.noreply.github.com> * fix: preserve integer dtypes when masking expired features Cast integer feature columns to pandas nullable integer dtypes before masking expired candidates, so ordinary int64 inputs do not widen to float64 when the left-join request row is preserved. Add a regression covering the plain int64 source case. Prepared and tested with Codex assistance; no human review is claimed. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> Co-Authored-By: Codex <noreply@openai.com> * fix: preserve integer dtypes when masking expired features Cast integer feature columns to pandas nullable integer dtypes before masking expired candidates, so ordinary int64 inputs do not widen to float64 when the left-join request row is preserved. Add a regression covering the plain int64 source case. Prepared and tested with Codex assistance; no human review is claimed. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> Co-Authored-By: Codex <noreply@openai.com> * fix: preserve integer dtypes and multi-file TTL requests Keep missing requests from later Dask partitions when TTL filtering re-adds the left-join row, and preserve ordinary integer feature dtypes when masking expired candidates. Extend regression coverage for multi-file inputs and plain int64 source columns. Prepared and tested with Codex assistance; no human review is claimed. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> Co-Authored-By: Codex <noreply@openai.com> * fix: preserve integer dtypes and multi-file TTL requests Keep missing requests from later Dask partitions when TTL filtering re-adds the left-join row, and preserve ordinary integer feature dtypes when masking expired candidates. Extend regression coverage for multi-file inputs and plain int64 source columns. Prepared and tested with Codex assistance; no human review is claimed. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> Co-Authored-By: Codex <noreply@openai.com> * fix: preserve integer dtypes and multi-file TTL requests Keep missing requests from later Dask partitions when TTL filtering re-adds the left-join row, and preserve ordinary integer feature dtypes when masking expired candidates. Extend regression coverage for multi-file inputs and plain int64 source columns. Prepared and tested with Codex assistance; no human review is claimed. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> Co-Authored-By: Codex <noreply@openai.com> * fix: preserve integer dtypes and multi-file TTL requests Keep missing requests from later Dask partitions when TTL filtering re-adds the left-join row, and preserve ordinary integer feature dtypes when masking expired candidates. Extend regression coverage for multi-file inputs and plain int64 source columns. Prepared and tested with Codex assistance; no human review is claimed. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> Co-Authored-By: Codex <noreply@openai.com> * fix: preserve Dask TTL rows across partitions Keep missing requests from later Dask partitions and preserve plain integer feature dtypes when TTL filtering. Prepared and tested with Codex assistance; no human review is claimed. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> Co-Authored-By: Codex <noreply@openai.com> * Fix Dask TTL filtering across partitions Preserve unmatched entity requests without widening integer feature columns. Add regressions for plain integer values, later Dask partitions, and merge row reordering. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> * fix: preserve integer dtypes and multi-file TTL requests Keep missing requests from later Dask partitions when TTL filtering re-adds the left-join row, and preserve ordinary integer feature dtypes when masking expired candidates. Extend regression coverage for multi-file inputs and plain int64 source columns. Prepared and tested with Codex assistance; no human review is claimed. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> Co-Authored-By: Codex <noreply@openai.com> * fix: preserve integer dtypes and multi-file TTL requests Keep missing requests from later Dask partitions when TTL filtering re-adds the left-join row, and preserve ordinary integer feature dtypes when masking expired candidates. Extend regression coverage for multi-file inputs and plain int64 source columns. Prepared and tested with Codex assistance; no human review is claimed. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> Co-Authored-By: Codex <noreply@openai.com> * fix: preserve integer dtypes and multi-file TTL requests Keep missing requests from later Dask partitions when TTL filtering re-adds the left-join row, and preserve ordinary integer feature dtypes when masking expired candidates. Extend regression coverage for multi-file inputs and plain int64 source columns. Prepared and tested with Codex assistance; no human review is claimed. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> Co-Authored-By: Codex <noreply@openai.com> * fix: preserve integer dtypes and multi-file TTL requests Keep missing requests from later Dask partitions when TTL filtering re-adds the left-join row, and preserve ordinary integer feature dtypes when masking expired candidates. Extend regression coverage for multi-file inputs and plain int64 source columns. Prepared and tested with Codex assistance; no human review is claimed. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> Co-Authored-By: Codex <noreply@openai.com> * fix: preserve integer dtypes and multi-file TTL requests Keep missing requests from later Dask partitions when TTL filtering re-adds the left-join row, and preserve ordinary integer feature dtypes when masking expired candidates. Extend regression coverage for multi-file inputs and plain int64 source columns. Prepared and tested with Codex assistance; no human review is claimed. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> Co-Authored-By: Codex <noreply@openai.com> * fix: avoid hashing preserved entity columns in TTL filtering Use only join keys and the entity timestamp to identify requests when restoring rows that have no eligible feature candidates. Preserve list-valued entity columns without requiring them to be hashable. Prepared and tested with Codex assistance; no human review is claimed. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> Co-Authored-By: Codex <noreply@openai.com> * fix: avoid hashing preserved entity columns in TTL filtering Use only join keys and the entity timestamp to identify requests when restoring rows that have no eligible feature candidates. Preserve list-valued entity columns without requiring them to be hashable. Prepared and tested with Codex assistance; no human review is claimed. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> Co-Authored-By: Codex <noreply@openai.com> * fix: preserve Dask TTL request identity across partitions Prepared and tested with Codex assistance. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> Co-Authored-By: Codex <noreply@openai.com> * fix: avoid hashing preserved columns in TTL request matching Use only join keys and the entity timestamp to identify requests when restoring rows that have no eligible feature candidates. Preserve list-valued entity columns without requiring them to be hashable. Prepared and tested with Codex assistance; no human review is claimed. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> * fix: avoid hashing preserved entity columns in TTL filtering Use only join keys and the entity timestamp to identify requests when restoring rows that have no eligible feature candidates. Preserve list-valued entity columns without requiring them to be hashable. Prepared and tested with Codex assistance; no human review is claimed. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> Co-Authored-By: Codex <noreply@openai.com> * fix: avoid hashing preserved entity columns in TTL filtering Use only join keys and the entity timestamp to identify requests when restoring rows that have no eligible feature candidates. Preserve list-valued entity columns without requiring them to be hashable. Prepared and tested with Codex assistance; no human review is claimed. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> Co-Authored-By: Codex <noreply@openai.com> * fix: avoid hashing preserved entity columns in TTL filtering Use only join keys and the entity timestamp to identify requests when restoring rows that have no eligible feature candidates. Preserve list-valued entity columns without requiring them to be hashable. Prepared and tested with Codex assistance; no human review is claimed. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> Co-Authored-By: Codex <noreply@openai.com> * fix: preserve Dask request rows across partitions Keep the existing TTL filtering and restore only requests with no eligible candidate. Use all Dask partitions when checking missing requests and carry validity through the merge. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> * fix: preserve Dask TTL request dtypes Keep plain integer feature columns unchanged when all requests have eligible matches, and restore null rows only for requests that lose every candidate across Dask partitions. Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> --------- Signed-off-by: NUAAwqy <146524024+NUAAwqy@users.noreply.github.com> Signed-off-by: NUAAwqy <41898282+NUAAwqy@users.noreply.github.com> Co-authored-by: Codex <noreply@openai.com> Co-authored-by: NUAAwqy <41898282+NUAAwqy@users.noreply.github.com> Co-authored-by: Shuchu Han <shuchu.han@gmail.com> Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
* docs: import LoggingConfig from feast.feature_logging Signed-off-by: Nagizaaz Shaik <176337212+shaikn6@users.noreply.github.com> * docs: use table and timestamp_field in BigQuery/Redshift samples Signed-off-by: Nagizaaz Shaik <176337212+shaikn6@users.noreply.github.com> --------- Signed-off-by: Nagizaaz Shaik <176337212+shaikn6@users.noreply.github.com> Co-authored-by: Shuchu Han <shuchu.han@gmail.com> Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
…east-dev#6816) Source-first rehydration execs only the UDF's own source into a namespace seeded with pandas/numpy. A UDF that reads a helper, constant, or aliased import from its defining module has no way to resolve those names, but the exec still succeeds, because a function body's free variables are only looked up when it is called. resolve_udf therefore treated rehydration as successful and never fell back to the dill body, even when that body carried the captured globals and would have run. The failure surfaced later as a NameError during retrieval, so an on-demand feature view that served correctly before started raising once it was loaded from the registry. Validate the rebuilt callable before accepting it: walk its LOAD_GLOBAL operands, and the operands of nested code objects, and return None when a name resolves in neither the exec namespace nor builtins. resolve_udf then falls back as it did before. Only LOAD_GLOBAL is inspected. co_names also holds attribute names, so checking it would flag working UDFs and push them onto the dill path for no reason. Self-contained UDFs are unaffected and still take the source path, keeping the Spark and cross-Python-version benefits intact. Signed-off-by: Daksha1611 <mehtadaksha1611@gmail.com> Co-authored-by: Shuchu Han <shuchu.han@gmail.com> Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
…feast-dev#6993) * fix: Apply on demand feature views in SparkRetrievalJob.to_spark_df() SparkRetrievalJob.to_spark_df() returned the raw query result, so on demand feature views were applied only by to_df() and to_arrow(), and persist() and to_feast_df() left them out as well. Compute the requested ODFV features on the executors with mapInArrow, selecting them as RetrievalJob.to_arrow does. ODFVs are shipped as protos together with their projection, and outputs are cast to the declared feature types that have an Arrow mapping. SparkDAGRetrievalJob now overrides _to_spark_df_internal, so to_df() keeps reading the plan result. Signed-off-by: Denis Ivanov <go.denis.28@yandex.ru> * fix: Map PdfBytes, ImageBytes, Uuid, TimeUuid and ZonedTimestamp to Spark types from_feast_to_spark_type had no entries for PdfBytes, ImageBytes, Uuid, TimeUuid and ZonedTimestamp, so an on demand feature view declaring one of them failed in to_spark_df() before it ran. Map them to the Spark type of the Arrow values Feast produces for them: BinaryType, StringType and TimestampType. Signed-off-by: Denis Ivanov <go.denis.28@yandex.ru> * refactor: Move Spark on demand feature view application into a class Signed-off-by: Denis Ivanov <go.denis.28@yandex.ru> * refactor: Share the on demand feature selection between to_arrow and to_spark_df Move the requested ODFV feature lookup from RetrievalJob.to_arrow into RetrievalJob._get_odfv_feature_refs, so SparkOnDemandFeatureViewProcessor uses it instead of a copy. Signed-off-by: Denis Ivanov <go.denis.28@yandex.ru> --------- Signed-off-by: Denis Ivanov <go.denis.28@yandex.ru> Co-authored-by: Shuchu Han <shuchu.han@gmail.com> Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
Signed-off-by: Halfnums <halfnums@gmail.com> Co-authored-by: Shuchu Han <shuchu.han@gmail.com> Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
Signed-off-by: raorer <2377183649@qq.com> Co-authored-by: Shuchu Han <shuchu.han@gmail.com> Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
Use supported ARM macOS runners, preserve request timestamp test expectations, serialize shared Go test fixtures, and align generated operator RBAC grouping and UI formatting. Signed-off-by: Francisco Javier Arceo <4163062+franciscojavierarceo@users.noreply.github.com> Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
Keep the pre-existing exclusion of legacy transform-on-write fixtures on macOS 14 and newer when using the macOS 15 CI runner. Signed-off-by: Francisco Javier Arceo <4163062+franciscojavierarceo@users.noreply.github.com> Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
# [0.68.0](feast-dev/feast@v0.67.0...v0.68.0) (2026-11-10) ### Bug Fixes * add watch verb on clusterroles and clusterrolebindings for feast-operator ([feast-dev#7062](feast-dev#7062)) ([b6bdda4](feast-dev@b6bdda4)) * Apply on demand feature views in SparkRetrievalJob.to_spark_df() ([feast-dev#6993](feast-dev#6993)) ([f416309](feast-dev@f416309)) * Break event timestamp ties by created timestamp in Milvus write batches ([feast-dev#7084](feast-dev#7084)) ([bbaca76](feast-dev@bbaca76)) * Break event timestamp ties by created timestamp in the Dask offline store ([feast-dev#6952](feast-dev#6952)) ([eb93b08](feast-dev@eb93b08)) * Build the Go feature server image in two stages ([1e5e90c](feast-dev@1e5e90c)), closes [feast-dev#7060](feast-dev#7060) * Fall back to the serialized body when UDF source misses globals ([feast-dev#6816](feast-dev#6816)) ([f61079f](feast-dev@f61079f)) * Install patched libbrotli1 to address DSA-6582-1 ([feast-dev#7096](feast-dev#7096)) ([d458393](feast-dev@d458393)) * Keep description, tags and nested types of ODFV schema fields ([8ef6e75](feast-dev@8ef6e75)) * Keep entity columns out of StreamFeatureView proto features ([feast-dev#7033](feast-dev#7033)) ([d520584](feast-dev@d520584)) * Keep the metrics server running when a Gunicorn worker exits ([feast-dev#7012](feast-dev#7012)) ([68c5d54](feast-dev@68c5d54)), closes [feast-dev#7011](feast-dev#7011) * Key registry proto caches on the proto, not its id() ([feast-dev#7085](feast-dev#7085)) ([147adad](feast-dev@147adad)) * Log ODFV materialization skips instead of printing them ([feast-dev#7117](feast-dev#7117)) ([8fdcee7](feast-dev@8fdcee7)) * Pin build dependencies of source builds to the CI lock ([feast-dev#7104](feast-dev#7104)) ([dec2f24](feast-dev@dec2f24)) * Populate spec.project in registry REST feature view responses (#… ([feast-dev#7037](feast-dev#7037)) ([e304a84](feast-dev@e304a84)) * Preserve colliding source timestamps in Dask retrieval ([feast-dev#7071](feast-dev#7071)) ([1396c88](feast-dev@1396c88)) * Preserve Dask historical requests without eligible features ([feast-dev#7000](feast-dev#7000)) ([fff09f7](feast-dev@fff09f7)) * Read None elements of UUID and Decimal lists as None ([feast-dev#7039](feast-dev#7039)) ([03f30fe](feast-dev@03f30fe)) * Retire the support of Python3.10 ([feast-dev#7101](feast-dev#7101)) ([a56766e](feast-dev@a56766e)), closes [feast-dev#7104](feast-dev#7104) [feast-dev#7089](feast-dev#7089) [feast-dev#7106](feast-dev#7106) [feast-dev#7105](feast-dev#7105) * Serialize UUID and TimeUuid entity keys ([feast-dev#7032](feast-dev#7032)) ([0c845a1](feast-dev@0c845a1)) * Stop the Ray engine from hiding materialization errors ([feast-dev#7026](feast-dev#7026)) ([7903e2e](feast-dev@7903e2e)), closes [feast-dev#7024](feast-dev#7024) * **ui:** stop treating the monitoring baseline as the latest window ([feast-dev#7056](feast-dev#7056)) ([0f01802](feast-dev@0f01802)), closes [feast-dev#7054](feast-dev#7054) * Use date-only bounds for partition filters built from string timestamps ([feast-dev#7116](feast-dev#7116)) ([b1f2168](feast-dev@b1f2168)) * Validate entity column types in feast dbt import ([feast-dev#7067](feast-dev#7067)) ([abca80c](feast-dev@abca80c)), closes [feast-dev#5876](feast-dev#5876) * Warm up the whole DynamoDB connection pool ([feast-dev#6985](feast-dev#6985)) ([8ce548c](feast-dev@8ce548c)) ### Features * Add --gc-freeze option to feast serve ([feast-dev#7089](feast-dev#7089)) ([aad0c15](feast-dev@aad0c15)) * Add native complex types and scalar index tags to the Milvus online store ([feast-dev#7120](feast-dev#7120)) ([f7068d6](feast-dev@f7068d6)) * Add num_partitions and partition_key_isolation to the Milvus online store ([feast-dev#7083](feast-dev#7083)) ([68de84e](feast-dev@68de84e)), closes [feast-dev#6940](feast-dev#6940) * Add Pinecone online store integration ([feast-dev#6585](feast-dev#6585)) ([7a84f2a](feast-dev@7a84f2a)) * Add PolarisSource and PolarisProvider for Apache Polaris ([feast-dev#7006](feast-dev#7006)) ([386759c](feast-dev@386759c)) * Add row deletion to the Milvus online store ([feast-dev#7082](feast-dev#7082)) ([d3e2041](feast-dev@d3e2041)) * Add upstream FeatureView lineage support for PushSource ([feast-dev#6853](feast-dev#6853)) ([c9b9d72](feast-dev@c9b9d72)) * Optional nameless pre-computed vectors with a schema fingerprint ([feast-dev#7077](feast-dev#7077)) ([9420fac](feast-dev@9420fac)) ### Performance Improvements * Scan Lance sources lazily in the DuckDB offline store ([1299e4e](feast-dev@1299e4e)) Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
shuchu
force-pushed
the
fix/issue-7111
branch
from
November 11, 2026 04:01
1ccbbaa to
c474172
Compare
shuchu
requested review from
ejscribner,
robhowley and
tokoko
and removed request for
a team
November 11, 2026 04:01
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Update the oauthlib version from 4.0.0 to 4.0.1 to solve security vunlnerability.
Which issue(s) this PR fixes:
Fix #7111
Checks
git commit -s)Testing Strategy
Misc