-
Type:
Suggestion
-
Resolution: Unresolved
-
Component/s: Atlassian Data Lake - Queries
Issue Summary
When creating a custom data model, we have tried to join the Work Item table with two or more asset tables from our Tech Governance schema with the Inner join type selected. If we join with just one asset table, add a column from the asset table, and run, data is returned.
However, when we add a join path for another asset table, add a column from that second asset table, and re-run, no data is returned. We even applied a filter in case the first rows did not have a value for the column that we selected, but no data is ever returned.
We have tried to join the tables in a different order (i.e. joining Legal Entity first, or joining Business Area first) and we were able to recreate the issue. When speaking with Manas, we tried using the Inner join type for the first asset table, and the Left join type for the second asset table. No data was returned. I have included a snippet of this outcome in this ticket.
Workaround
There is no workaround that produces the exact result the customer expects. The closest option is to use two left joins: Jira <-left join> Asset 1 and Jira <left join-> Asset 2. This will return a non-empty result, but it will contain duplicates.