Add class which are inspired by Trino into LICENSE (#7926)

This commit is contained in:
Jackie Tien 2022-11-08 16:06:40 +08:00 committed by GitHub
parent bbc910b087
commit 91d475c9b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 7 deletions

15
LICENSE
View File

@ -273,4 +273,17 @@ The following files include code modified from Micrometer project.
Copyright: 2017 VMware
Project page: https://github.com/micrometer-metrics/micrometer
License: https://github.com/micrometer-metrics/micrometer/blob/main/LICENSE
License: https://github.com/micrometer-metrics/micrometer/blob/main/LICENSE
--------------------------------------------------------------------------------
The following files include code modified from Trino project(https://github.com/trinodb/trino),
which is under Apache License 2.0:
./server/src/main/java/org/apache/iotdb/db/mpp/execution/QueryState.java
./server/src/main/java/org/apache/iotdb/db/mpp/execution/StateMachine.java
./server/src/main/java/org/apache/iotdb/db/mpp/execution/driver/Driver.java
./server/src/main/java/org/apache/iotdb/db/mpp/execution/fragment/FragmentInstanceState.java
./server/src/main/java/org/apache/iotdb/db/mpp/execution/fragment/FragmentInstanceStateMachine.java
./server/src/main/java/org/apache/iotdb/db/mpp/plan/planner/LocalExecutionPlanner.java
./tsfile/src/main/java/org/apache/iotdb/tsfile/read/common/block/*

View File

@ -34,9 +34,6 @@ import static com.google.common.base.Preconditions.checkState;
import static com.google.common.util.concurrent.Futures.immediateFuture;
import static java.util.Objects.requireNonNull;
/**
* Simple state machine which holds a single state. Callers can register for state change events.
*/
@ThreadSafe
public class StateMachine<T> {
private final String name;

View File

@ -35,10 +35,9 @@ import static java.lang.String.format;
import static java.util.Objects.requireNonNull;
/**
* Intermediate result for most of ExecOperators. The Tablet contains data from one or more columns
* Intermediate result for most of ExecOperators. The TsBlock contains data from one or more columns
* and constructs them as a row based view The columns can be series, aggregation result for one
* series or scalar value (such as deviceName). The Tablet also contains the metadata to describe
* the columns.
* series or scalar value (such as deviceName).
*/
public class TsBlock {