diff --git a/core/core-backend/src/main/java/io/dataease/dataset/manage/DatasetDataManage.java b/core/core-backend/src/main/java/io/dataease/dataset/manage/DatasetDataManage.java index 30ee9dc3c8..b49a509a1b 100644 --- a/core/core-backend/src/main/java/io/dataease/dataset/manage/DatasetDataManage.java +++ b/core/core-backend/src/main/java/io/dataease/dataset/manage/DatasetDataManage.java @@ -475,6 +475,7 @@ public class DatasetDataManage { Order2SQLObj.getOrders(sqlMeta, fields, datasetGroupInfoDTO.getSortFields(), crossDs, dsMap); String querySQL = SQLProvider.createQuerySQLWithLimit(sqlMeta, false, needOrder, true, 0, 1000); querySQL = SqlUtils.rebuildSQL(querySQL, sqlMeta, crossDs, dsMap); + logger.info("calcite data enum sql: " + querySQL); // 通过数据源请求数据 // 调用数据源的calcite获得data @@ -497,7 +498,6 @@ public class DatasetDataManage { } list.add(previewData); } - logger.info("calcite data enum sql: " + querySQL); } // 重新构造data