You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the db_init and conn_init is an internal construct and not exposed to user yet. The use case is to separate global duckdb configuration from local duckdb configurations.
Following properties are exposed to the user:
init_sql : Defined in connector.yaml. Executed after any new duckdb connection is created.
pre_exec: Defined in model.yaml. Executed before model is created.
sql: The model will be created using the results of this SQL.
post_exec: Executed after model is created.
The init_sql was created before we had support for pre_exec and post_exec to create secrets. Ideally users should use pre_exec to configure secrets to keep the changes limited to a single model. Maybe you can keep init_sql as undocumented feature.
pre_exec
andpost_exec
support for duckdb modelspre_exec
like using native duckdb connectorspost_exec
like changing datatype of ingested data from String to Enum.The text was updated successfully, but these errors were encountered: