This is an automated email from the ASF dual-hosted git repository.
hui pushed a change to branch lmh/forecastTest
in repository https://gitbox.apache.org/repos/asf/iotdb.git
from 1a1369d441e modify handler
new 4c8e850b422 fix mlnode
new a455bc6e0cc fix iotdb
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../consensus/request/ConfigPhysicalPlan.java | 4 +
.../consensus/request/ConfigPhysicalPlanType.java | 1 +
.../model/GetModelInfoPlan.java} | 24 ++--
.../GetModelInfoResp.java} | 27 ++--
.../response/{ => model}/ModelTableResp.java | 2 +-
.../response/{ => model}/TrailTableResp.java | 2 +-
.../iotdb/confignode/manager/ConfigManager.java | 10 ++
.../apache/iotdb/confignode/manager/IManager.java | 5 +
.../iotdb/confignode/manager/ModelManager.java | 77 ++++++++++--
.../iotdb/confignode/persistence/ModelInfo.java | 32 ++++-
.../persistence/executor/ConfigPlanExecutor.java | 3 +
.../thrift/ConfigNodeRPCServiceProcessor.java | 7 ++
mlnode/iotdb/mlnode/algorithm/metric.py | 2 +-
.../mlnode/algorithm/models/forecast/dlinear.py | 2 +-
mlnode/iotdb/mlnode/client.py | 9 +-
mlnode/iotdb/mlnode/data_access/offline/source.py | 4 +-
mlnode/iotdb/mlnode/handler.py | 6 +-
mlnode/iotdb/mlnode/parser.py | 4 +-
mlnode/iotdb/mlnode/process/manager.py | 13 +-
mlnode/iotdb/mlnode/process/task.py | 30 ++---
mlnode/iotdb/mlnode/process/trial.py | 4 +-
mlnode/iotdb/mlnode/storage.py | 3 +-
mlnode/test/test_create_forecast_dataset.py | 1 +
mlnode/test/test_create_forecast_model.py | 1 +
mlnode/test/test_model_storage.py | 1 +
mlnode/test/test_serde.py | 3 +-
.../commons/model/ForecastModeInformation.java | 139 +++++++++++++++++++++
.../iotdb/commons/model/ModelInformation.java | 48 +++++--
.../apache/iotdb/db/client/ConfigNodeClient.java | 18 +++
.../operator/process/ml/ForecastOperator.java | 21 +++-
.../iotdb/db/mpp/plan/analyze/AnalyzeVisitor.java | 12 +-
.../mpp/plan/analyze/ClusterPartitionFetcher.java | 16 ++-
.../config/executor/ClusterConfigTaskExecutor.java | 16 ++-
.../db/mpp/plan/planner/OperatorTreeGenerator.java | 2 +
.../model/ForecastModelInferenceDescriptor.java | 28 ++---
.../src/main/thrift/confignode.thrift | 14 +++
.../tsfile/file/metadata/enums/TSDataType.java | 10 ++
.../iotdb/tsfile/read/common/block/TsBlock.java | 13 ++
.../tsfile/read/common/block/TsBlockBuilder.java | 4 +-
39 files changed, 485 insertions(+), 133 deletions(-)
copy
confignode/src/main/java/org/apache/iotdb/confignode/consensus/request/{write/model/DropModelPlan.java
=> read/model/GetModelInfoPlan.java} (75%)
copy
confignode/src/main/java/org/apache/iotdb/confignode/consensus/response/{partition/RegionInfoListResp.java
=> model/GetModelInfoResp.java} (62%)
rename
confignode/src/main/java/org/apache/iotdb/confignode/consensus/response/{ =>
model}/ModelTableResp.java (97%)
rename
confignode/src/main/java/org/apache/iotdb/confignode/consensus/response/{ =>
model}/TrailTableResp.java (97%)
create mode 100644
node-commons/src/main/java/org/apache/iotdb/commons/model/ForecastModeInformation.java