why does my dbt defined source asset not match my ...
# ask-community
d
why does my dbt defined source asset not match my ingested asset as I've defined it? Shouldn't it be in the group
nhl_ingestion
and named
raw_game_data
? I'm loading my defined nhl assets using
load_assets_from_package_module
with a defined group name, and my dbt is just using
load_assets_from_dbt_project
here's my dbt sources.yml:
Copy code
sources:
  - name: nhl_ingestion
    database: nhl_stats
    schema: raw
    tables:
      - name: raw_game_data
        identifier: game_data
      - name: raw_schedule_data
        identifier: schedule_data
r
The default group name for your source assets should use your source’s name. Are you overriding the default
node_info_to_group_fn
parameter? If so, you’ll need to ensure that you’re mapping the dbt node information properly to the the group name that you expect
r
@rex that is not working for me. in the Dagit UI, they are not assigned a group. they do not come up at
<http://127.0.0.1:3000/locations/{repo> name}/asset-groups/bronze
my sources file looks like this
Copy code
version: 1

sources:
  - name: bronze
    schema: bronze
    tables:
      - name: my_source_table_1
      - name: my_source_table_2
I'm not overriding
node_info_to_group_fn
anywhere. is there some other configuration that's required?
r
Could you start a new thread?
r
it's the same issue, wouldn't it help future folks searching for the problem to land here? if not, happy to start a new one
r
That’s true, but: • We’re on a free version of Slack, so this thread will get archived in the public slack soon. It will still show up in our archive, though this is not as immediately discoverable. • You can still link back to this thread from your new thread. • This helps us with our internal monitoring to see what types of questions are being repeatedly asked. Thanks for understanding!
D 1
r
sounds good @rex, on it now
new thread here