Skip to content

Commit b4e782a

Browse files
committed
Fix.
1 parent 6304a9b commit b4e782a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

sdks/julia/LogicalQueryProtocol.jl/src/properties.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,11 @@ function global_ids(data::Data)
224224
elseif dt.name == :csv_data
225225
csv_data = dt[]::CSVData
226226
ids = LQPRelationId[]
227+
# Table mode: the target carries a single relation ID for the whole table.
228+
if !isnothing(csv_data.target) && !isnothing(csv_data.target.target_id)
229+
push!(ids, persistent_id(csv_data.target.target_id))
230+
end
231+
# Column mode: each GNFColumn has its own target_id.
227232
for column in csv_data.columns
228233
if !isnothing(column.target_id)
229234
push!(ids, persistent_id(column.target_id))

0 commit comments

Comments
 (0)