mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-09-08 02:08:01 +08:00
Py: add update_time in select list when list data sync logs (#18867)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@@ -285,11 +285,8 @@ class SyncLogsService(CommonService):
|
||||
Connector.prune_freq.alias("prune_freq"),
|
||||
Knowledgebase.name.alias("kb_name"),
|
||||
cls.model.status,
|
||||
cls.model.update_time,
|
||||
]
|
||||
if _is_gaussdb_compatible_metadata_db():
|
||||
# GaussDB requires a DISTINCT query's ORDER BY expression in the
|
||||
# select list.
|
||||
fields.append(cls.model.update_time)
|
||||
if not connector_id:
|
||||
fields.append(Connector.config)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user