Skip to content

Fix api-serve not passing init_sql to SemanticLayer#122

Merged
nicosuave merged 1 commit intomainfrom
api-serve-init-sql
Mar 30, 2026
Merged

Fix api-serve not passing init_sql to SemanticLayer#122
nicosuave merged 1 commit intomainfrom
api-serve-init-sql

Conversation

@nicosuave
Copy link
Copy Markdown
Member

Summary

  • The query command correctly extracts init_sql from config and passes it to SemanticLayer, but api-serve was missing this
  • Databases requiring initialization SQL (e.g., Iceberg catalog attachment via init_sql in sidemantic.yaml) would fail silently with api-serve
  • 3-line fix to match the pattern already used by the query command

The query command correctly extracts init_sql from config and passes it
to SemanticLayer, but api-serve was missing this. Databases requiring
initialization SQL (e.g., Iceberg catalog attachment via init_sql in
sidemantic.yaml) would fail silently with api-serve.
@nicosuave nicosuave merged commit b49e29b into main Mar 30, 2026
13 of 15 checks passed
@nicosuave nicosuave deleted the api-serve-init-sql branch March 30, 2026 05:50
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