feat(assets): create assets for dbt models#231
Merged
fdelbrayelle merged 2 commits intomainfrom Mar 2, 2026
Merged
Conversation
Contributor
f9d0793 to
0a4815e
Compare
0a4815e to
2d6ab07
Compare
2d6ab07 to
b033f18
Compare
1d734b4 to
03c8b08
Compare
Malaydewangan09
approved these changes
Feb 20, 2026
Member
Pradumnasaraf
left a comment
There was a problem hiding this comment.
Hey @fdelbrayelle,
After running the above flow, the assets are not showing up, am I doing something wrong?
https://jam.dev/c/7c5d59cf-02b8-4847-bfab-0661dca44782
Member
Pradumnasaraf
left a comment
There was a problem hiding this comment.
Hey @fdelbrayelle It's working now, after the no-plugins approach. strike. And it looks good!
03c8b08 to
3322aae
Compare
4046df7 to
d28c28f
Compare
# Conflicts: # gradle.properties
ba54832 to
6ca97fc
Compare
2 tasks
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.
gradle.properties)closes https://github.com/kestra-io/kestra-ee/issues/6473
What changes are being made and why?
Upsert assets as tables by parsing the manifest file and handle lineages through the "depends on".
How the changes have been QAed?
Checked basic assets with this flow:
Results:
Which leads to 3 assets in the
assetstable of Kestra:[ { "key": "fde_memory.main.example_three", "value": { "id": "memory.main.example_three", "name": "example_three", "type": "io.kestra.plugin.ee.assets.Table", "schema": "main", "system": "duckdb", "created": "2026-02-19T10:35:25.323642Z", "deleted": false, "updated": "2026-02-19T10:35:25.424067Z", "database": "memory", "metadata": { "name": "example_three", "schema": "main", "system": "duckdb", "database": "memory" }, "tenantId": "fde" }, "tenant_id": "fde", "namespace": null, "id": "memory.main.example_three", "type": "io.kestra.plugin.ee.assets.Table", "display_name": null, "created": "2026-02-19 10:35:25.323642 +00:00", "updated": "2026-02-19 10:35:25.424067 +00:00", "deleted": false, "fulltext": null }, { "key": "fde_memory.main.example", "value": { "id": "memory.main.example", "name": "example", "type": "io.kestra.plugin.ee.assets.Table", "schema": "main", "system": "duckdb", "created": "2026-02-19T10:35:25.323646Z", "deleted": false, "updated": "2026-02-19T10:35:25.436137Z", "database": "memory", "metadata": { "name": "example", "schema": "main", "system": "duckdb", "database": "memory" }, "tenantId": "fde" }, "tenant_id": "fde", "namespace": null, "id": "memory.main.example", "type": "io.kestra.plugin.ee.assets.Table", "display_name": null, "created": "2026-02-19 10:35:25.323646 +00:00", "updated": "2026-02-19 10:35:25.436137 +00:00", "deleted": false, "fulltext": null }, { "key": "fde_memory.main.example_two", "value": { "id": "memory.main.example_two", "name": "example_two", "type": "io.kestra.plugin.ee.assets.Table", "schema": "main", "system": "duckdb", "created": "2026-02-19T10:35:25.323648Z", "deleted": false, "updated": "2026-02-19T10:35:25.446084Z", "database": "memory", "metadata": { "name": "example_two", "schema": "main", "system": "duckdb", "database": "memory" }, "tenantId": "fde" }, "tenant_id": "fde", "namespace": null, "id": "memory.main.example_two", "type": "io.kestra.plugin.ee.assets.Table", "display_name": null, "created": "2026-02-19 10:35:25.323648 +00:00", "updated": "2026-02-19 10:35:25.446084 +00:00", "deleted": false, "fulltext": null } ]And also to outputs in the
asset_lineage_eventstable:[ { "key": "4zzQTn4VudZXXZLEfQod1P", "value": { "uid": "4zzQTn4VudZXXZLEfQod1P", "state": "SUCCESS", "flowId": "dbt_cli_assets_kv_test2", "inputs": [], "taskId": "dbt_build_and_store_manifest", "created": "2026-02-19T10:35:19.685076Z", "endDate": "2026-02-19T10:35:19.580537Z", "outputs": [ { "id": "memory.main.example_three", "type": "io.kestra.plugin.ee.assets.Table", "tenantId": "fde" }, { "id": "memory.main.example", "type": "io.kestra.plugin.ee.assets.Table", "tenantId": "fde" }, { "id": "memory.main.example_two", "type": "io.kestra.plugin.ee.assets.Table", "tenantId": "fde" } ], "tenantId": "fde", "namespace": "company.team", "startDate": "2026-02-19T10:34:56.987494Z", "taskRunId": "5hFXq7GEsGkQy4frkuyUgy", "executionId": "1bhCojxnR7XK3s6dnttrsM", "flowRevision": 1 }, "tenant_id": "fde", "namespace": "company.team", "flow_id": "dbt_cli_assets_kv_test2", "flow_revision": 1, "execution_id": "1bhCojxnR7XK3s6dnttrsM", "task_id": "dbt_build_and_store_manifest", "task_run_id": "5hFXq7GEsGkQy4frkuyUgy", "created": "2026-02-19 10:35:19.685076 +00:00" }, { "key": "6wjWH4mOKQXfpUvJKUvBtC", "value": { "uid": "6wjWH4mOKQXfpUvJKUvBtC", "state": "SUCCESS", "flowId": "dbt_cli_assets_kv_test2", "inputs": [], "taskId": "dbt_build_with_loaded_manifest", "created": "2026-02-19T10:35:25.353971Z", "endDate": "2026-02-19T10:35:25.341924Z", "outputs": [ { "id": "memory.main.example_three", "type": "io.kestra.plugin.ee.assets.Table", "tenantId": "fde" }, { "id": "memory.main.example", "type": "io.kestra.plugin.ee.assets.Table", "tenantId": "fde" }, { "id": "memory.main.example_two", "type": "io.kestra.plugin.ee.assets.Table", "tenantId": "fde" } ], "tenantId": "fde", "namespace": "company.team", "startDate": "2026-02-19T10:35:19.590976Z", "taskRunId": "2hYP2qamOR3OwdLGjr8tcU", "executionId": "1bhCojxnR7XK3s6dnttrsM", "flowRevision": 1 }, "tenant_id": "fde", "namespace": "company.team", "flow_id": "dbt_cli_assets_kv_test2", "flow_revision": 1, "execution_id": "1bhCojxnR7XK3s6dnttrsM", "task_id": "dbt_build_with_loaded_manifest", "task_run_id": "2hYP2qamOR3OwdLGjr8tcU", "created": "2026-02-19 10:35:25.353971 +00:00" } ]And finally we see the 3 sql examples in the lineage:
Second example flow to check the lineage:
Results:
Which leads to 3 assets with lineage in the
assets_lineage_eventstable of Kestra:[ { "key": "1PSncPPjkJEcpmTImYQanT", "value": { "uid": "1PSncPPjkJEcpmTImYQanT", "state": "SUCCESS", "flowId": "dbt_cli_assets_lineage_test", "inputs": [], "taskId": "dbt_build", "created": "2026-02-02T15:52:14.041424Z", "endDate": "2026-02-02T15:52:13.942231Z", "outputs": [ { "id": "memory.main.example_base", "type": "io.kestra.plugin.ee.assets.Table", "tenantId": "fde" }, { "id": "memory.main.example_three", "type": "io.kestra.plugin.ee.assets.Table", "tenantId": "fde" }, { "id": "memory.main.example_two", "type": "io.kestra.plugin.ee.assets.Table", "tenantId": "fde" } ], "tenantId": "fde", "namespace": "company.team", "startDate": "2026-02-02T15:52:02.957498Z", "taskRunId": "2cKEhiYR8dVdWtvHlKy3Rx", "executionId": "67XPdrJYENHYxOk2B3ljHW", "flowRevision": 2 }, "tenant_id": "fde", "namespace": "company.team", "flow_id": "dbt_cli_assets_lineage_test", "flow_revision": 2, "execution_id": "67XPdrJYENHYxOk2B3ljHW", "task_id": "dbt_build", "task_run_id": "2cKEhiYR8dVdWtvHlKy3Rx", "created": "2026-02-02 15:52:14.041424 +00:00" } ]Setup Instructions
Contributor Checklist ✅