Skip to content

fix: support SQL string as entity_df in RemoteOfflineStore.get_histor…#6264

Closed
korbonits wants to merge 1 commit intofeast-dev:masterfrom
korbonits:fix/remote-offline-store-sql-entity-df
Closed

fix: support SQL string as entity_df in RemoteOfflineStore.get_histor…#6264
korbonits wants to merge 1 commit intofeast-dev:masterfrom
korbonits:fix/remote-offline-store-sql-entity-df

Conversation

@korbonits
Copy link
Copy Markdown

…ical_features

When entity_df is a SQL string, route it through api_parameters["entity_df_sql"] instead of calling pa.Table.from_pandas() on it (which raised AttributeError). The OfflineServer now forwards entity_df_sql from the command dict directly to the backing offline store, matching the behaviour of local stores that already support SQL entity_df.

What this PR does / why we need it:

Which issue(s) this PR fixes:

Checks

  • I've made sure the tests are passing.
  • My commits are signed off (git commit -s)
  • My PR title follows conventional commits format

Testing Strategy

  • Unit tests
  • Integration tests
  • Manual tests
  • Testing is not required for this change

Misc

…ical_features

When entity_df is a SQL string, route it through api_parameters["entity_df_sql"]
instead of calling pa.Table.from_pandas() on it (which raised AttributeError).
The OfflineServer now forwards entity_df_sql from the command dict directly to
the backing offline store, matching the behaviour of local stores that already
support SQL entity_df.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Alex Korbonits <alex@korbonits.com>
@korbonits korbonits closed this Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant