Skip to content

Commit

Permalink
read the parents from data_sources_nodes intead of data_sources_docum…
Browse files Browse the repository at this point in the history
…ents or tables (#9614)
  • Loading branch information
aubin-tchoi authored Dec 23, 2024
1 parent d7bab3c commit 20216a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/stores/postgres.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1996,7 +1996,7 @@ impl Store for PostgresStore {

let sql = format!(
"SELECT dsd.id, dsd.created, dsd.document_id, dsd.timestamp, dsd.tags_array, \
dsd.parents, dsd.source_url, dsd.hash, dsd.text_size, dsd.chunk_count, \
dsn.parents, dsd.source_url, dsd.hash, dsd.text_size, dsd.chunk_count, \
dsn.title, dsn.mime_type \
FROM data_sources_documents dsd \
INNER JOIN data_sources_nodes dsn ON dsn.document=dsd.id \
Expand Down

0 comments on commit 20216a0

Please sign in to comment.