You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2021/08/31 04:11:14 UTC
[iotdb] branch jira_1450 updated (b58dc74 -> fa1aeb8)
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a change to branch jira_1450
in repository https://gitbox.apache.org/repos/asf/iotdb.git.
from b58dc74 apply spotless
add 294f1e7 Update TSDB-comparison doc and `Merge` command doc (#3233)
add 0334ecc Fix an error in the doc figure: remove startOffsetOfChunkMetaDataList in TsFile Format Doc (#3440)
add b942e58 [Cluster] update cluster-setup docs (#3442)
add 5c6d11b Add a constructor of IoTDBDescriptorHolder to prohibit instantiation (#3443)
add 7ac39ef [ISSUE-3316] Fix constructing firstChunkMetaDatahasNextChunk logic in hasNextChunk() (#3444)
add c16b367 update Materials page's pdf from "myslide.cn" to "slidestalk.com" (#3453)
add 974a959 [IOTDB-1447] ClientPool is blocking other nodes when one node fails (#3430)
add affe6d9 [WIP] Extract out SessionManager From TSServiceImpl (#3454)
add 00f2c30 New features of cluster scalability and multi-raft (#3191)
add 30678c1 [IOTDB-1455] Update documents for new IoTDB concepts and TsFile structures (#3456)
add 9ae9642 cluster bug - fix privilege check (#3275)
add 7acdafb Fix Chinese doc mistake (#3462)
add 5a862ee [IOTDB-1143] Continuous query (#3162)
add 8b930eb Fix DataMigrationExample OOM if migrate too many timeseries (#3461)
add 139c6ba Move package 'org.apache.iotdb.db.sink' to 'org.apache.iotdb.db.engine.trigger.sink' (#3465)
add 4a6f4b0 Fix some bugs reported by sonar (#3467)
add 9bbea3d Fix release note url in Chinese doc
add 2ea3830 remove REGULAR encoding docs (#3477)
add 5d337c7 add audit log when execute delete and set sg for tracing (#3470)
add b44915d [IOTDB-1460] Failed to load configurations on startup (NPE) (#3479)
add 38149a4 Fix Windows shell error on JDK11 (#3478)
add 6b5ba69 fix monitor bug (#3459)
add c83e70b [ISSUE 3458]fix load configuration(#3487)
add 8202644 Correct typos in iotdb-env.sh (#3494)
add 5ed33ac Fix release note url in Chinese doc (#3495)
add 81e8949 Vis tool for master (#3473)
add a3f1358 [IOTDB-1462] fix cross space compaction recover use wrong storage group name bug (#3496)
add fe3d59e fix take byte array null pointer in PlanSerializer (#3501)
add dbfb564 [To rel/0.12] Primitive Array Manager v2 (#3484) (#3499)
add adfcffb [Cluster] enable cacheLeader by default (#3468)
add d6b8dff Bug fix: time interval is parsed incorrectly (#3500)
add 624b975 [IOTDB-1243]update DML delete grammar doc (#3507)
add f7bf886 Add management of the lifecycle of all Sessions (#3483)
add cd69b8e Add user document of time zone (#3457)
add f35a087 [IOTDB-1463] Implement builder pattern for Session and SessionPool (#3502)
add 6f67a81 [IOTDB-1453]Fix result set when the server query time filtered is And (#3452)
add f1bc4e3 [IOTDB-1399]Add a session interface to connect multiple nodes (#3434)
add 118d6cb Primitive Array Manager v3 (#3513)
add 2784603 Use StringCachedPool in TsFileResource to reduce the memory size (#3514) (#3523)
add d3acb18 [IOTDB-1407] Filtering time series based on tags query fails Occasion… (#3292)
add 18ae729 [IOTDB-1471] Fix path not right in "sg may not ready" log (#3524)
add 98bbec7 Improve group by month performance (#3517)
add e5c9f9d [DOC] fix zh QuickStart multi_dir_strategy typo (#3531)
add a42f2b4 Fix template restart bug (#3525)
add 0a3f21b [IOTDB-1454] Fix wrong figure for index tree (#3537)
add 80aa392 Replace timeLowerBound with ttlLowerBound (#3542)
add 7ff4cb5 Update docker doc (#3539)
add 0147ec4 [IOTDB-1482]Fix timeseries count and device count with Template (#3544)
add 6615778 [IOTDB-1416] Maintanance command support in cluster mode (#3480)
add 08c6787 [IOTDB-1490] Add built-in UDTFs: sinh, conh, tanh (#3546)
add bf22001 Using cached pool to reduce the String memory size in TsFileResourse (#3555)
add f3de46f make parameter definition clearer (#3559)
add 8a1dd9a Add more builder options (#3552)
add 140c9f0 Bug: Time interval value is disorder in group by month (#3548)
add 5e020b5 [IOTDB-1483]Temporarily adapt the template functionality and merge functionality (#3560)
add abfa695 [IoTDB-1449] path already exist error in IoTDBSink (#3569)
add 922075b [IOTDB-1417] UDF meta plans for cluster (#3503)
add 5102f7f [ISSUE-3545][Part 2] Bug: Time interval value is disorder in group by month (#3561)
add 25f7f55 [IOTDB-1506] CI fails because of JDBC connection exceptions (#3577)
add 56ea509 Optimize the implementation of singleton (#3585)
add df46873 add checkDeviceIdExist method to ITimeIndex (#3562)
add 2797007 [IOTDB-1459] Unify integration test class names (#3588)
add 2bff46a [IOTDB-1492] Fix mLogParser.sh cannot parse the device template (#3573)
add ed6d848 Add Google Analytics (#3592)
add 31bf7e9 Wordings improvement of website nav bar (#3591)
add af567ee [IOTDB-1456] Fix Error occurred while executing delete timeseries statement (#3474)
add 534bb93 Update Google Analytics tag id (#3594)
add 7a09ecb Add privacy disclosure (#3597)
add 9ecb7a0 [IOTDB-1491] UDTF query supported in cluster mode (#3565)
add 18e5ff7 add SessionConcurrentExample & fix template restart PathNotExistException (#3595)
add 79e50d6 fix recover TsFileResource time interval bug (#3604)
add c8edbcf improve mlog compatibility from 0.12.2 to 0.13.0 (#3553)
add 6e9f340 [IOTDB-1059] Support sql statement insert without timestamp (#3067)
add 5a348a4 [IOTDB-1478]The whole IoTDB can not read/write if any one sg is not ready (#3554)
add 3c6925c [IOTDB-959]Add createStorageGroup Grammar (#3608)
add 0791e07 mod note (#3615)
add 72799f3 [IOTDB-1503] 1 node crash causes whole cluster cannot work (#3579)
add 469f78b Remove path registration in IoTDBSink (#3620)
add 511d5f4 Update ContributeGuide.md (#3611)
add 2ba8c78 [IOTDB-1509] show timeseries throw a bug (#3556)
add e0ce236 remove unnecessary testcontainer IT (#3625)
add c05a7c5 [IOTDB-1528] CQ IT unstable: sometimes fails on checkCQExecutionResult() (#3624)
add 4fcd755 [IOTDB-1500] Remove current dynamic query memory control (#3563)
add 9437339 Fix compile error in assignQueryId (#3629)
add 47fa594 [IoTDB-1499] Remove series registeration using IoTDBSink -> master (#3574)
add d984fe8 [IOTDB-1496] Timed flush memtable (#3610)
add de1a622 [IOTDB-1524] Support SELECT ... INTO ... clause (#3614)
add 716710c [IOTDB-1519]add metadata checking option and change grammar for loading tsfile (#3576)
add 95e3b69 [IOTDB-1529]Fix mlog recover idx bug and synchronize setStorageGroup (#3635)
add d1729ea [IOTDB-1530] Make documents style better by adding a space between full-corner and half-corner characters (#3632)
add 1d0b6ff [IOTDB-1477] Optimize code logic of generateAlignByDevicePlan() (#3607)
add 0b2d0af make sure memtable flush task has submitted before check (#3641)
add c023443 add an example to customize MQTT Message (#3572)
add ce385ab [IOTDB-1532] CI fails on testSelectInto() in E2E test (#3639)
add 868821c Add a testcase of dataApplier about batch insert. (#3645)
add ca3a4c2 [IOTDB-1517][IOTDB-1521] Refactor TsFile Index for Vector (multi-variable timeseries) (#3627)
add 05a8f7c [IOTDB-1498] MNode Abstraction and Structure Improvement (#3589)
add 3a38a89 Function Improvement: add overlapped page rate in Tracing (#3602)
add 9c4cd4b introduction modify for README_ZH.md (#3646)
add 902dbfb [IOTDB-1511] Extract IStorageGroupMNode and IMeasurementMNode Interface (#3647)
add 1a31750 Fix master order by time desc bug (#3655)
add 2ed58eb [IOTDB-1511] Implement EntityMNode (#3650)
add 319674d [IOTDB-1511] Rename DeviceTemplate to SchemaTemplate (#3656)
add b484f2e [IOTDB-1511] Rename Template Enum (#3657)
add ecf7bf2 add committer wangchao316 (#3661)
add 9b89113 [IOTDB-1526] New Template Constraint (#3659)
add 635a43e skip non exist measurement in where clause (#3590) (#3665)
add e3171bd [Docs] Update expired link (#3663)
add 443845c [IOTDB-1542] Cpp client segment fault: char[] buffer overflow caused by long exception message (#3671)
add 0427d28 Add Jenkins CI timeout threshold (#3677)
add 204b7d3 [ISSUE-3674] Disable thrift code gen for Javascript (#3675)
add b5bc63a add .asf.yaml file for updating website automatically (#3678)
add 37f5c7a [IOTDB-1545] Query dataset momory leak on server caused by cpp client (#3682)
add 785e316 close compaction by default (#3686)
add b1f30d0 [IOTDB-1486] Add a createTemplate Session example (#3697)
add 3234abf Cherry-pick 4 bug-fixing commits about upgrade tool from rel/0.12 to master branch (#3698)
add a2c446a [ISSUE-3690] Memory leaks on the server when cpp client invokes checkTimeseriesExists (#3692)
add 40fa7b3 [ISSUE-3693] Memory leaks when executing select-into clauses (#3694)
add 4dcae2b [IOTDB-1372] delete devices field in FileTimeIndex (#3606)
add 860c8de JDBC - Adjust method not supported to specific prompt (#2444)
add 8168911 fix defaut max_sync_log_lag (#3704)
add 4884dc8 [IOTDB-1546] Optimize the Upgrade/Rewrite Tool rewrite logic to reduce the temp memory cost (#3701)
add 1462869 [IOTDB-1537]fix insertTablet permission (#3696)
add 394467b [IOTDB-1541] Change sequence of wal and memtable in insert (#3660)
add 05cce67 [IOTDB-1552]Some basic operators should not be applied to text time series (#3714)
add c5bf93a Fix grafana user guide (#3715)
add 9704a63 Fix boostrap 1.72.0 download failed in CI because of the redirection by jfrog.io (#3720)
add cb28489 [IOTDB-1540] Bug Fix: 500 when using IN operator (#3718)
add b6538cd [IOTDB-1485] Replace tsfile_size_threshold by unseq_tsfile_size/seq_tsfile_size (#3702)
add 1f1dff2 [IOTDB-1561]Support fill by specific value (#3726)
add 9d9138d [IOTDB-1536]Support fuzzy query (#3649)
add 34b6dbb make sure close connections before stop the server in all tests (#3729)
add 199519d A new python implementation for speeding up tablet insertion (#3700)
add a43045b [IOTDB-1475][IOTDB-1556] Path name check and Abort auto create device while setStorageGroup exception (#3712)
add 04d7a9f Add Measurement-Template doc (#3744)
add 685dbfb [To master] Set line break to Unix style in spotless (#3742)
add 3375395 [IOTDB-1539] Fix delete operation with value filter is abnormal (#3719)
add 7ea4f0d [IOTDB-1531] Check tsfile creation time when recovering (#3642)
add 9d21b20 Fix issues of blocking heartbeat broadcast and vote requesting caused by client reconnection (#3751)
add ff20e38 [IOTDB-1561] Fix problems caused by keywords (#3756) (#3761)
add 88285bd modified the description of tlog (#3766)
add 87506eb edit deletion log (#3763)
add ec570fc Fix incorrect descriptions in DDL-Data-Definition-Language(Chinses) and a typo in DML-Data-Manipulation-Language(Chinses) (#3768)
add 0dc0eee [IOTDB-1566] Do not restrict concurrent write partitions (#3767)
add 00ae7dd new ExclusiveWriteLogNode (#3772)
add cebab26 PrimitiveArrayManager: make POOLED_ARRAYS_MEMORY_THRESHOLD smaller than its actual allowed value (#3775)
add 120678a PrimitiveArrayManager: reduce log of array deque size update & add limitUpdateThreshold update log (#3778)
add 7775c46 [cherry-pick from rel/0.12] add log for StackOverflowError in eExpressionOptimizer (#3773)
add 89bcef8 [IOTDB-1565] Add sql: set system to readonly / writable (#3771)
add 582e742 [IOTDB-1473] Fix the bug that run SessionExample.java will be failed in (#3770)
add 45f5952 [IOTDB-1574] [ISSUE-3786] Data file is deleted while file handle is not released (#3787)
add 55d037f [IOTDB-1575] Tsfile valueFilter cannot handle multiple pages (#3789)
add 125f8cf Fix gitattribute covert picture (#3798)
add 5edb1a2 [IOTDB-1576] Update cluster setup document (#3689)
add 064ed14 claim current JDBC is not suitable for high throughput operations (#3783)
add 94780ea Cherry Pick some cluster bug-fixs from rel/0.12 to master (#3800)
add 6744732 Fix typo in #3783 (#3803)
add 8ec3e12 [ISSUE-3805] OOM caused by Chunk cache (#3807)
add 62135fc [IOTDB-1587] SessionPool optimization: a more aggressive Session creation strategy (#3823)
add 757619c [IOTDB-1580] Error result of order by time desc when enable time partition (#3819)
add 71315e8 change delete logger to debug (#3824)
add d075f87 Bug fix: MAX_TIME is incorrect in cluster mode (#3826)
add 4d66b1d [IOTDB-1569] Timed close TsFileProcessor (#3776)
add 3bacba0 [IOTDB-1586] Support mysql-style Like clause (#3738)
add 17c9677 [ISSUE-3811] Provide a data type column for the last query dataset (#3834)
add 228d62d [IOTDB-1594] Fix show timeseries returns incorrect tag value (#3845)
add a5b738d [ISSUE-3811] Provide a data type column for the last query dataset (#3843)
add 986f57e [IOTDB-1591] Execute CREATE FUNCTION on 1 node, this FUNCTION is invisible to other nodes (#3855)
add 146274c [IOTDB-1572] Optimize WriteableMemChunk's toString() (#3863)
add 33ce2b7 [IOTDB-1592] BugFix: SLimit Not effective in align by device (#3846)
add f5df141 Fix format of Chinese CQ user doc (#3869)
add 253bc96 [ISSUE-3865] Meaningless connection reset issues caused by low default value for SOMAXCONN (#3867)
add 2920d4c Fix load TsFile failed when time partition enabled caused by TsFileReWriteTool NPE (#3870)
add fb18357 Remove timestamp datatype config (#3847)
add bc696e9 [IOTDB-1583] Raft log failed to be committed in cluster version (#3832)
add fa1aeb8 merge master branch
No new revisions were added by this update.
Summary of changes:
.gitattributes | 1 +
.github/workflows/client.yml | 11 +-
CONTRIBUTING.md | 2 +-
Jenkinsfile | 2 +-
README.md | 10 +-
README_ZH.md | 14 +-
.../antlr4/org/apache/iotdb/db/qp/sql/SqlBase.g4 | 158 +-
.../main/java/org/apache/iotdb/tool/ImportCsv.java | 2 +-
client-cpp/src/main/Session.cpp | 2263 ++++++++--------
client-cpp/src/main/Session.h | 1413 +++++-----
client-cpp/src/test/main.cpp | 6 +-
client-py/iotdb/utils/Tablet.py | 131 +-
client-py/tests/tablet_performance_comparison.py | 248 ++
.../resources/conf/iotdb-cluster.properties | 7 +
cluster/src/assembly/resources/sbin/add-node.bat | 39 +-
cluster/src/assembly/resources/sbin/add-node.sh | 2 +-
.../sbin/{add-node.bat => remove-node.bat} | 18 +-
.../resources/sbin/{add-node.sh => remove-node.sh} | 33 +-
cluster/src/assembly/resources/sbin/start-node.bat | 2 +-
cluster/src/assembly/resources/sbin/stop-node.sh | 6 +-
.../java/org/apache/iotdb/cluster/ClusterMain.java | 25 +-
.../cluster/client/async/AsyncClientPool.java | 36 +-
.../cluster/client/sync/SyncClientAdaptor.java | 35 +-
.../iotdb/cluster/client/sync/SyncClientPool.java | 8 +-
.../apache/iotdb/cluster/config/ClusterConfig.java | 24 +
.../iotdb/cluster/config/ClusterConstant.java | 4 +
.../iotdb/cluster/config/ClusterDescriptor.java | 9 +
.../iotdb/cluster/coordinator/Coordinator.java | 222 +-
.../exception/ChangeMembershipException.java | 13 +-
.../exception/CheckConsistencyException.java | 4 +-
.../org/apache/iotdb/cluster/log/LogParser.java | 10 +
.../iotdb/cluster/log/applier/BaseApplier.java | 21 +-
.../iotdb/cluster/log/applier/DataLogApplier.java | 29 +-
.../iotdb/cluster/log/applier/MetaLogApplier.java | 41 +-
.../iotdb/cluster/log/catchup/CatchUpTask.java | 13 +-
.../iotdb/cluster/log/catchup/LogCatchUpTask.java | 7 +-
.../cluster/log/catchup/SnapshotCatchUpTask.java | 5 +-
.../iotdb/cluster/log/logtypes/AddNodeLog.java | 52 +-
.../iotdb/cluster/log/logtypes/RemoveNodeLog.java | 48 +-
.../manage/FilePartitionedSnapshotLogManager.java | 53 +-
.../log/manage/PartitionedSnapshotLogManager.java | 37 +-
.../iotdb/cluster/log/manage/RaftLogManager.java | 40 +-
.../iotdb/cluster/log/snapshot/FileSnapshot.java | 105 +-
.../cluster/log/snapshot/MetaSimpleSnapshot.java | 4 +-
.../cluster/log/snapshot/PartitionedSnapshot.java | 6 +-
.../cluster/log/snapshot/PullSnapshotTask.java | 42 +-
.../log/snapshot/PullSnapshotTaskDescriptor.java | 3 +-
.../cluster/log/snapshot/SnapshotInstaller.java | 5 +-
.../apache/iotdb/cluster/metadata/CMManager.java | 297 +--
.../apache/iotdb/cluster/metadata/MetaPuller.java | 59 +-
.../cluster/partition/NodeAdditionResult.java | 13 +-
.../iotdb/cluster/partition/NodeRemovalResult.java | 41 +-
.../iotdb/cluster/partition/PartitionGroup.java | 59 +-
.../iotdb/cluster/partition/PartitionTable.java | 41 +-
.../partition/balancer/DefaultSlotBalancer.java | 119 +
.../SlotBalancer.java} | 27 +-
.../iotdb/cluster/partition/slot/SlotManager.java | 114 +-
.../partition/slot/SlotNodeAdditionResult.java | 8 +-
.../partition/slot/SlotNodeRemovalResult.java | 45 +-
.../cluster/partition/slot/SlotPartitionTable.java | 364 ++-
.../iotdb/cluster/partition/slot/SlotStrategy.java | 17 +-
.../cluster/query/ClusterDataQueryExecutor.java | 12 +-
.../cluster/query/ClusterPhysicalGenerator.java | 18 +-
.../iotdb/cluster/query/ClusterPlanExecutor.java | 60 +-
.../iotdb/cluster/query/ClusterPlanRouter.java | 32 +-
.../apache/iotdb/cluster/query/ClusterPlanner.java | 17 +-
.../iotdb/cluster/query/ClusterQueryRouter.java | 40 +
.../cluster/query/ClusterUDTFQueryExecutor.java | 111 +
.../iotdb/cluster/query/LocalQueryExecutor.java | 139 +-
.../iotdb/cluster/query/RemoteQueryContext.java | 7 +-
.../query/aggregate/ClusterAggregateExecutor.java | 3 +-
.../cluster/query/aggregate/ClusterAggregator.java | 12 +-
.../cluster/query/fill/ClusterPreviousFill.java | 15 +-
.../cluster/query/filter/SlotTsFileFilter.java | 12 +-
.../groupby/ClusterGroupByVFilterDataSet.java | 3 +-
.../query/groupby/RemoteGroupByExecutor.java | 27 +-
.../query/last/ClusterLastQueryExecutor.java | 29 +-
.../cluster/query/manage/ClusterQueryManager.java | 8 +-
.../cluster/query/reader/ClusterReaderFactory.java | 338 ++-
.../cluster/query/reader/ClusterTimeGenerator.java | 21 +-
.../iotdb/cluster/query/reader/DataSourceInfo.java | 31 +-
...er.java => ManagedDescPriorityMergeReader.java} | 8 +-
...Reader.java => ManagedPriorityMergeReader.java} | 4 +-
.../reader/RemoteSeriesReaderByTimestamp.java | 3 +
.../query/reader/RemoteSimpleSeriesReader.java | 3 +
.../cluster/query/reader/mult/MultBatchReader.java | 5 +-
.../query/reader/mult/MultDataSourceInfo.java | 11 +-
.../query/reader/mult/RemoteMultSeriesReader.java | 12 +-
.../apache/iotdb/cluster/server/ClientServer.java | 49 +-
.../iotdb/cluster/server/DataClusterServer.java | 518 ++--
.../iotdb/cluster/server/MetaClusterServer.java | 27 +-
.../cluster/server/PullSnapshotHintService.java | 65 +-
.../org/apache/iotdb/cluster/server/Response.java | 13 +-
.../iotdb/cluster/server/StoppedMemberManager.java | 37 +-
.../server/clusterinfo/ClusterInfoServiceImpl.java | 2 +-
.../server/handlers/caller/ElectionHandler.java | 4 +
.../server/handlers/caller/HeartbeatHandler.java | 24 +-
.../server/handlers/caller/NodeStatusHandler.java | 10 +-
.../server/heartbeat/DataHeartbeatThread.java | 8 +-
.../cluster/server/heartbeat/HeartbeatThread.java | 68 +-
.../server/heartbeat/MetaHeartbeatThread.java | 17 +
.../cluster/server/member/DataGroupMember.java | 561 ++--
.../cluster/server/member/MetaGroupMember.java | 782 ++++--
.../iotdb/cluster/server/member/RaftMember.java | 199 +-
.../iotdb/cluster/server/monitor/NodeReport.java | 9 +-
.../cluster/server/service/BaseAsyncService.java | 6 +-
.../cluster/server/service/BaseSyncService.java | 6 +-
.../cluster/server/service/DataAsyncService.java | 64 +-
.../cluster/server/service/DataSyncService.java | 62 +-
.../cluster/server/service/MetaAsyncService.java | 42 +-
.../cluster/server/service/MetaSyncService.java | 37 +-
.../apache/iotdb/cluster/utils/ClusterUtils.java | 77 +-
.../iotdb/cluster/utils/NodeSerializeUtils.java | 2 +
.../apache/iotdb/cluster/utils/PartitionUtils.java | 255 +-
.../apache/iotdb/cluster/utils/PlanSerializer.java | 8 +-
.../apache/iotdb/cluster/utils/StatusUtils.java | 10 +
.../cluster/utils/nodetool/ClusterMonitor.java | 106 +-
.../utils/nodetool/ClusterMonitorMBean.java | 27 +-
.../iotdb/cluster/utils/nodetool/NodeTool.java | 13 +-
.../cluster/utils/nodetool/function/Header.java | 60 +
.../cluster/utils/nodetool/function/Migration.java | 59 +
.../utils/nodetool/function/NodeToolCmd.java | 23 +-
.../cluster/utils/nodetool/function/Partition.java | 6 +-
.../cluster/utils/nodetool/function/Ring.java | 15 +-
.../nodetool/function/{Host.java => Slot.java} | 26 +-
.../cluster/utils/nodetool/function/Status.java | 29 +-
.../cluster/client/async/AsyncDataClientTest.java | 2 +-
.../cluster/client/async/AsyncMetaClientTest.java | 2 +-
.../cluster/client/sync/SyncClientAdaptorTest.java | 62 +-
.../org/apache/iotdb/cluster/common/IoTDBTest.java | 7 +-
.../iotdb/cluster/common/TestAsyncDataClient.java | 31 +-
.../iotdb/cluster/common/TestDataGroupMember.java | 14 +-
.../iotdb/cluster/common/TestMetaGroupMember.java | 5 +-
.../apache/iotdb/cluster/common/TestSnapshot.java | 4 +-
.../org/apache/iotdb/cluster/common/TestUtils.java | 18 +-
.../iotdb/cluster/integration/SingleNodeTest.java | 35 +
.../iotdb/cluster/log/LogDispatcherTest.java | 3 +-
.../apache/iotdb/cluster/log/LogParserTest.java | 21 +
.../cluster/log/applier/DataLogApplierTest.java | 65 +-
.../cluster/log/applier/MetaLogApplierTest.java | 24 +-
.../iotdb/cluster/log/catchup/CatchUpTaskTest.java | 24 +-
.../cluster/log/catchup/LogCatchUpTaskTest.java | 17 +-
.../log/catchup/SnapshotCatchUpTaskTest.java | 15 +-
.../cluster/log/logtypes/SerializeLogTest.java | 6 +-
.../FilePartitionedSnapshotLogManagerTest.java | 8 +-
.../cluster/log/snapshot/DataSnapshotTest.java | 6 +-
.../cluster/log/snapshot/FileSnapshotTest.java | 14 +-
.../log/snapshot/MetaSimpleSnapshotTest.java | 2 +-
.../log/snapshot/PartitionedSnapshotTest.java | 2 +-
.../cluster/log/snapshot/PullSnapshotTaskTest.java | 5 +-
.../iotdb/cluster/log/snapshot/SimpleSnapshot.java | 4 +-
.../iotdb/cluster/partition/MManagerWhiteBox.java | 2 +-
.../iotdb/cluster/partition/SlotManagerTest.java | 6 +-
.../cluster/partition/SlotPartitionTableTest.java | 51 +-
.../query/ClusterAggregateExecutorTest.java | 4 +-
.../query/ClusterDataQueryExecutorTest.java | 10 +-
.../cluster/query/ClusterFillExecutorTest.java | 4 +-
.../query/ClusterPhysicalGeneratorTest.java | 3 +-
.../cluster/query/ClusterPlanExecutorTest.java | 27 +-
.../cluster/query/ClusterQueryRouterTest.java | 44 +-
.../query/ClusterUDTFQueryExecutorTest.java | 116 +
.../iotdb/cluster/query/LoadConfigurationTest.java | 2 +-
.../ClusterGroupByNoVFilterDataSetTest.java | 2 +-
.../groupby/ClusterGroupByVFilterDataSetTest.java | 2 +-
.../query/groupby/MergeGroupByExecutorTest.java | 4 +-
.../query/groupby/RemoteGroupByExecutorTest.java | 4 +-
.../query/manage/ClusterQueryManagerTest.java | 12 +-
.../query/reader/ClusterReaderFactoryTest.java | 12 +-
.../query/reader/ClusterTimeGeneratorTest.java | 4 +-
.../reader/RemoteSeriesReaderByTimestampTest.java | 3 +-
.../query/reader/RemoteSimpleSeriesReaderTest.java | 3 +-
.../mult/AssignPathManagedMergeReaderTest.java | 3 +-
.../reader/mult/RemoteMultSeriesReaderTest.java | 5 +-
.../server/heartbeat/DataHeartbeatThreadTest.java | 8 +-
.../server/heartbeat/MetaHeartbeatThreadTest.java | 36 +-
.../iotdb/cluster/server/member/BaseMember.java | 28 +-
.../cluster/server/member/DataGroupMemberTest.java | 167 +-
.../cluster/server/member/MetaGroupMemberTest.java | 112 +-
.../cluster/server/member/RaftMemberTest.java | 5 +-
.../iotdb/cluster/utils/SerializeUtilTest.java | 18 +
compile-tools/thrift/pom.xml | 3 +-
docs/Community/Materials.md | 14 +-
docs/Development/ContributeGuide.md | 37 +-
docs/Download/README.md | 10 +
.../QueryEngine/ResultSetConstruction.md | 10 +-
docs/SystemDesign/SchemaManager/SchemaManager.md | 41 +-
docs/SystemDesign/TsFile/Format.md | 835 +++---
docs/UserGuide/API/Programming-JDBC.md | 4 +
docs/UserGuide/API/Programming-Java-Native-API.md | 37 +-
docs/UserGuide/API/Time-zone.md | 84 +
.../Administration-Management/Administration.md | 2 +
.../Advanced-Features/Continuous-Query.md | 230 ++
docs/UserGuide/Advanced-Features/Select-Into.md | 235 ++
docs/UserGuide/Advanced-Features/Triggers.md | 16 +-
.../Advanced-Features/UDF-User-Defined-Function.md | 7 +-
docs/UserGuide/Appendix/Config-Manual.md | 9 -
docs/UserGuide/Appendix/SQL-Reference.md | 61 +-
docs/UserGuide/Cluster/Cluster-Setup-Example.md | 183 +-
docs/UserGuide/Cluster/Cluster-Setup.md | 514 ++--
.../Programming-MQTT.md | 79 +-
docs/UserGuide/Comparison/TSDB-Comparison.md | 14 +-
.../Data-Concept/Data-Model-and-Terminology.md | 213 +-
docs/UserGuide/Data-Concept/Data-Type.md | 125 +
docs/UserGuide/Data-Concept/Encoding.md | 6 -
.../UserGuide/Data-Concept/Measurement-Template.md | 84 +
.../UserGuide/Ecosystem Integration/Flink IoTDB.md | 3 +-
docs/UserGuide/Ecosystem Integration/Grafana.md | 17 +
.../DDL-Data-Definition-Language.md | 6 +-
.../DML-Data-Manipulation-Language.md | 86 +-
.../IoTDB-SQL-Language/Maintenance-Command.md | 47 +-
docs/UserGuide/QuickStart/WayToGetIoTDB.md | 47 +-
.../UserGuide/System-Tools/Load-External-Tsfile.md | 32 +-
docs/zh/Community/Community-Powered By.md | 41 +-
docs/zh/Community/Feedback.md | 18 +-
docs/zh/Development/Committer.md | 38 +-
docs/zh/Development/ContributeGuide.md | 59 +-
docs/zh/Development/HowToCommit.md | 40 +-
docs/zh/Development/VoteRelease.md | 7 +-
docs/zh/Download/README.md | 87 +-
docs/zh/SystemDesign/Architecture/Architecture.md | 1 -
docs/zh/SystemDesign/Client/RPC.md | 3 -
docs/zh/SystemDesign/Connector/Hive-TsFile.md | 11 +-
docs/zh/SystemDesign/Connector/Spark-IOTDB.md | 39 +-
docs/zh/SystemDesign/Connector/Spark-TsFile.md | 25 +-
docs/zh/SystemDesign/DataQuery/AggregationQuery.md | 31 +-
.../SystemDesign/DataQuery/AlignByDeviceQuery.md | 12 +-
docs/zh/SystemDesign/DataQuery/FillFunction.md | 30 +-
docs/zh/SystemDesign/DataQuery/GroupByFillQuery.md | 37 +-
docs/zh/SystemDesign/DataQuery/GroupByQuery.md | 48 +-
docs/zh/SystemDesign/DataQuery/LastQuery.md | 22 +-
docs/zh/SystemDesign/DataQuery/OrderByTimeQuery.md | 75 +-
.../zh/SystemDesign/DataQuery/QueryFundamentals.md | 58 +-
docs/zh/SystemDesign/DataQuery/RawDataQuery.md | 62 +-
docs/zh/SystemDesign/DataQuery/SeriesReader.md | 24 +-
docs/zh/SystemDesign/QueryEngine/Planner.md | 1 -
.../QueryEngine/ResultSetConstruction.md | 12 +-
.../zh/SystemDesign/SchemaManager/SchemaManager.md | 192 +-
docs/zh/SystemDesign/StorageEngine/Compaction.md | 40 +-
.../SystemDesign/StorageEngine/DataManipulation.md | 41 +-
.../zh/SystemDesign/StorageEngine/DataPartition.md | 24 +-
docs/zh/SystemDesign/StorageEngine/FileLists.md | 39 +-
docs/zh/SystemDesign/StorageEngine/FlushManager.md | 4 +-
docs/zh/SystemDesign/StorageEngine/MergeManager.md | 22 +-
docs/zh/SystemDesign/StorageEngine/Recover.md | 29 +-
.../zh/SystemDesign/StorageEngine/StorageEngine.md | 2 +-
docs/zh/SystemDesign/StorageEngine/WAL.md | 4 +-
docs/zh/SystemDesign/Tools/Sync.md | 105 +-
docs/zh/SystemDesign/TsFile/Format.md | 866 +++---
docs/zh/SystemDesign/TsFile/Read.md | 110 +-
docs/zh/SystemDesign/TsFile/TsFile.md | 1 -
docs/zh/SystemDesign/TsFile/Write.md | 5 +-
.../zh/UserGuide/API/Programming-Cpp-Native-API.md | 87 +-
docs/zh/UserGuide/API/Programming-Go-Native-API.md | 18 +-
docs/zh/UserGuide/API/Programming-JDBC.md | 17 +-
.../UserGuide/API/Programming-Java-Native-API.md | 100 +-
.../UserGuide/API/Programming-Python-Native-API.md | 70 +-
docs/zh/UserGuide/API/Programming-TsFile-API.md | 137 +-
docs/zh/UserGuide/API/Time-zone.md | 84 +
.../Administration-Management/Administration.md | 37 +-
docs/zh/UserGuide/Advanced-Features/Alerting.md | 15 +-
.../Advanced-Features/Continuous-Query.md | 225 ++
docs/zh/UserGuide/Advanced-Features/Select-Into.md | 234 ++
docs/zh/UserGuide/Advanced-Features/Triggers.md | 186 +-
.../Advanced-Features/UDF-User-Defined-Function.md | 228 +-
docs/zh/UserGuide/Appendix/Config-Manual.md | 146 +-
docs/zh/UserGuide/Appendix/SQL-Reference.md | 221 +-
docs/zh/UserGuide/Appendix/Status-Codes.md | 19 +-
docs/zh/UserGuide/CLI/Command-Line-Interface.md | 123 +-
docs/zh/UserGuide/Cluster/Cluster-Setup-Example.md | 225 +-
docs/zh/UserGuide/Cluster/Cluster-Setup.md | 501 ++--
.../Collaboration-of-Edge-and-Cloud/Sync-Tool.md | 40 +-
.../Programming-MQTT.md | 111 +-
.../Programming-Thrift.md | 30 +-
docs/zh/UserGuide/Comparison/TSDB-Comparison.md | 201 +-
docs/zh/UserGuide/Data-Concept/Compression.md | 12 +-
.../Data-Concept/Data-Model-and-Terminology.md | 233 +-
docs/zh/UserGuide/Data-Concept/Data-Type.md | 127 +-
docs/zh/UserGuide/Data-Concept/Encoding.md | 30 +-
.../UserGuide/Data-Concept/Measurement-Template.md | 81 +
docs/zh/UserGuide/Data-Concept/SDT.md | 30 +-
docs/zh/UserGuide/Ecosystem Integration/DBeaver.md | 20 +-
.../UserGuide/Ecosystem Integration/Flink IoTDB.md | 5 +-
.../Ecosystem Integration/Flink TsFile.md | 17 +-
docs/zh/UserGuide/Ecosystem Integration/Grafana.md | 88 +-
.../UserGuide/Ecosystem Integration/Hive TsFile.md | 55 +-
.../Ecosystem Integration/MapReduce TsFile.md | 39 +-
.../UserGuide/Ecosystem Integration/Spark IoTDB.md | 17 +-
.../Ecosystem Integration/Spark TsFile.md | 88 +-
.../Ecosystem Integration/Writing Data on HDFS.md | 46 +-
.../Ecosystem Integration/Zeppelin-IoTDB.md | 51 +-
.../zh/UserGuide/FAQ/Frequently-asked-questions.md | 33 +-
.../UserGuide/IoTDB-Introduction/Architecture.md | 14 +-
docs/zh/UserGuide/IoTDB-Introduction/Features.md | 8 +-
.../zh/UserGuide/IoTDB-Introduction/Publication.md | 2 +-
docs/zh/UserGuide/IoTDB-Introduction/Scenario.md | 20 +-
.../UserGuide/IoTDB-Introduction/What-is-IoTDB.md | 4 +-
.../DDL-Data-Definition-Language.md | 117 +-
.../DML-Data-Manipulation-Language.md | 459 ++--
.../IoTDB-SQL-Language/Maintenance-Command.md | 49 +-
docs/zh/UserGuide/QuickStart/Files.md | 17 +-
docs/zh/UserGuide/QuickStart/QuickStart.md | 78 +-
docs/zh/UserGuide/QuickStart/ServerFileList.md | 64 +-
docs/zh/UserGuide/QuickStart/WayToGetIoTDB.md | 82 +-
docs/zh/UserGuide/System-Tools/CSV-Tool.md | 24 +-
docs/zh/UserGuide/System-Tools/JMX-Tool.md | 24 +-
.../UserGuide/System-Tools/Load-External-Tsfile.md | 58 +-
docs/zh/UserGuide/System-Tools/MLogParser-Tool.md | 7 +-
.../System-Tools/Monitor-and-Log-Tools.md | 96 +-
docs/zh/UserGuide/System-Tools/NodeTool.md | 117 +-
.../Query-History-Visualization-Tool.md | 6 +-
docs/zh/UserGuide/System-Tools/Watermark-Tool.md | 34 +-
docs/zh/UserGuide/UserGuideReadme.md | 9 +-
.../org/apache/iotdb/flink/FlinkIoTDBSink.java | 26 +-
.../RPC.md => example/mqtt-customize/README.md | 45 +-
example/mqtt-customize/pom.xml | 41 +
.../server/CustomizedJsonPayloadFormatter.java | 62 +
.../org.apache.iotdb.db.mqtt.PayloadFormatter | 1 +
example/pom.xml | 1 +
.../org/apache/iotdb/DataMigrationExample.java | 8 +-
.../iotdb/HybridTimeseriesSessionExample.java | 129 +
.../org/apache/iotdb/SessionConcurrentExample.java | 199 ++
.../main/java/org/apache/iotdb/SessionExample.java | 84 +-
.../java/org/apache/iotdb/SessionPoolExample.java | 9 +-
.../main/java/org/apache/iotdb/TabletExample.java | 195 ++
.../org/apache/iotdb/trigger/AlertingExample.java | 6 +-
.../org/apache/iotdb/trigger/TriggerExample.java | 12 +-
.../iotdb/tsfile/TsFileWriteVectorWithTablet.java | 89 +-
.../java/org/apache/iotdb/flink/IoTDBSink.java | 19 +-
.../iotdb/flink/options/IoTDBSinkOptions.java | 11 -
...tITCase.java => RowTSRecordOutputFormatIT.java} | 2 +-
...rmatITCase.java => RowTsFileInputFormatIT.java} | 2 +-
grafana/readme.md | 17 +
grafana/readme_zh.md | 23 +
.../iotdb/jdbc/AbstractIoTDBJDBCResultSet.java | 68 +-
.../main/java/org/apache/iotdb/jdbc/Constant.java | 3 +
.../src/main/java/org/apache/iotdb/jdbc/Field.java | 71 +
.../iotdb/jdbc/GroupedLSBWatermarkEncoder.java | 139 +
.../org/apache/iotdb/jdbc/IoTDBConnection.java | 16 +-
.../apache/iotdb/jdbc/IoTDBDatabaseMetadata.java | 2744 +++++++++++++++++---
.../org/apache/iotdb/jdbc/IoTDBJDBCResultSet.java | 58 +-
.../iotdb/jdbc/IoTDBNonAlignJDBCResultSet.java | 38 +-
.../apache/iotdb/jdbc/IoTDBPreparedStatement.java | 585 ++++-
.../org/apache/iotdb/jdbc/IoTDBResultMetadata.java | 173 +-
.../java/org/apache/iotdb/jdbc/IoTDBStatement.java | 38 +-
.../java/org/apache/iotdb/jdbc/ListDataSet.java | 37 +-
.../java/org/apache/iotdb/jdbc/StringUtils.java | 78 +
.../jdbc/{Constant.java => WatermarkEncoder.java} | 15 +-
.../org/apache/iotdb/jdbc/IoTDBConnectionTest.java | 3 +-
.../iotdb/jdbc/IoTDBDatabaseMetadataTest.java | 162 ++
.../iotdb/jdbc/IoTDBPreparedStatementTest.java | 32 +-
.../apache/iotdb/jdbc/IoTDBResultMetadataTest.java | 21 +-
pom.xml | 3 +
.../resources/conf/iotdb-engine.properties | 101 +-
server/src/assembly/resources/conf/iotdb-env.bat | 11 +-
server/src/assembly/resources/conf/iotdb-env.sh | 29 +-
.../tools/tsfileToolSet/print-tsfile-visdata.bat | 62 +-
.../tools/tsfileToolSet/print-tsfile-visdata.sh | 39 +-
.../org/apache/iotdb/db/auth/AuthorityChecker.java | 7 +-
.../apache/iotdb/db/auth/entity/PrivilegeType.java | 2 +
.../org/apache/iotdb/db/concurrent/ThreadName.java | 1 +
.../java/org/apache/iotdb/db/conf/IoTDBConfig.java | 203 +-
.../org/apache/iotdb/db/conf/IoTDBConstant.java | 6 +
.../org/apache/iotdb/db/conf/IoTDBDescriptor.java | 225 +-
.../iotdb/db/cost/statistic/Measurement.java | 4 +-
.../apache/iotdb/db/cost/statistic/Operation.java | 3 +-
.../apache/iotdb/db/cq/ContinuousQueryService.java | 219 ++
.../apache/iotdb/db/cq/ContinuousQueryTask.java | 300 +++
.../db/cq/ContinuousQueryTaskPoolManager.java | 106 +
.../org/apache/iotdb/db/engine/StorageEngine.java | 300 ++-
.../apache/iotdb/db/engine/cache/ChunkCache.java | 62 +-
.../db/engine/cache/TimeSeriesMetadataCache.java | 153 +-
.../compaction/CompactionMergeTaskPoolManager.java | 13 +-
.../db/engine/compaction/TsFileManagement.java | 4 +-
.../level/LevelCompactionTsFileManagement.java | 14 +-
.../iotdb/db/engine/memtable/AbstractMemTable.java | 33 +-
.../apache/iotdb/db/engine/memtable/IMemTable.java | 10 +-
.../iotdb/db/engine/memtable/WritableMemChunk.java | 22 +-
.../db/engine/merge/manage/MergeResource.java | 8 +-
.../iotdb/db/engine/merge/task/MergeTask.java | 10 +-
.../selectinto/InsertTabletPlanGenerator.java | 254 ++
.../selectinto/InsertTabletPlansIterator.java | 139 +
.../engine/storagegroup/StorageGroupProcessor.java | 420 ++-
.../db/engine/storagegroup/TsFileProcessor.java | 75 +-
.../db/engine/storagegroup/TsFileResource.java | 25 +-
.../storagegroup/timeindex/DeviceTimeIndex.java | 26 +-
.../storagegroup/timeindex/FileTimeIndex.java | 77 +-
.../engine/storagegroup/timeindex/ITimeIndex.java | 14 +-
.../storagegroup/timeindex/TimeIndexLevel.java | 10 -
.../virtualSg/VirtualStorageGroupManager.java | 126 +-
.../db/engine/trigger/executor/TriggerEngine.java | 16 +-
.../engine/trigger/executor/TriggerExecutor.java | 8 +-
.../service/TriggerRegistrationService.java | 10 +-
.../alertmanager/AlertManagerConfiguration.java | 4 +-
.../sink/alertmanager/AlertManagerEvent.java | 6 +-
.../sink/alertmanager/AlertManagerHandler.java | 6 +-
.../trigger}/sink/api/Configuration.java | 2 +-
.../db/{ => engine/trigger}/sink/api/Event.java | 2 +-
.../db/{ => engine/trigger}/sink/api/Handler.java | 2 +-
.../trigger}/sink/exception/SinkException.java | 2 +-
.../sink/local/LocalIoTDBConfiguration.java | 4 +-
.../trigger}/sink/local/LocalIoTDBEvent.java | 4 +-
.../trigger}/sink/local/LocalIoTDBHandler.java | 6 +-
.../trigger}/sink/mqtt/MQTTConfiguration.java | 4 +-
.../{ => engine/trigger}/sink/mqtt/MQTTEvent.java | 4 +-
.../trigger}/sink/mqtt/MQTTHandler.java | 6 +-
.../iotdb/db/engine/upgrade/UpgradeTask.java | 60 +-
.../ContinuousQueryException.java} | 13 +-
.../exception/metadata/IllegalPathException.java | 6 +
.../metadata/StorageGroupAlreadySetException.java | 7 +
.../exception/query/PathNumOverLimitException.java | 13 +-
.../org/apache/iotdb/db/metadata/MManager.java | 1143 +++-----
.../java/org/apache/iotdb/db/metadata/MTree.java | 808 +++---
.../apache/iotdb/db/metadata/MeasurementMeta.java | 85 -
.../org/apache/iotdb/db/metadata/Metadata.java | 120 -
.../org/apache/iotdb/db/metadata/PartialPath.java | 1 +
.../db/metadata/{ => logfile}/MLogTxtWriter.java | 95 +-
.../iotdb/db/metadata/logfile/MLogWriter.java | 52 +-
.../{ => logfile}/MetadataOperationType.java | 8 +-
.../iotdb/db/metadata/mnode/EntityMNode.java | 117 +
.../iotdb/db/metadata/mnode/IEntityMNode.java | 55 +
.../org/apache/iotdb/db/metadata/mnode/IMNode.java | 82 +
.../iotdb/db/metadata/mnode/IMeasurementMNode.java | 58 +
.../db/metadata/mnode/IStorageGroupMNode.java | 11 +-
.../iotdb/db/metadata/mnode/InternalMNode.java | 271 ++
.../org/apache/iotdb/db/metadata/mnode/MNode.java | 339 +--
.../iotdb/db/metadata/mnode/MeasurementMNode.java | 207 +-
...roupMNode.java => StorageGroupEntityMNode.java} | 23 +-
.../iotdb/db/metadata/mnode/StorageGroupMNode.java | 11 +-
.../iotdb/db/metadata/{ => tag}/TagLogFile.java | 10 +-
.../apache/iotdb/db/metadata/tag/TagManager.java | 555 ++++
.../iotdb/db/metadata/template/Template.java | 11 +-
.../db/metadata/template/TemplateManager.java | 106 +
.../iotdb/db/metadata/utils/MetaFormatUtils.java | 169 ++
.../iotdb/db/metadata/{ => utils}/MetaUtils.java | 23 +-
.../iotdb/db/metrics/server/ServerArgument.java | 20 +-
.../org/apache/iotdb/db/monitor/StatMonitor.java | 6 +-
.../main/java/org/apache/iotdb/db/qp/Planner.java | 55 +-
.../iotdb/db/qp/constant/FilterConstant.java | 9 +-
.../apache/iotdb/db/qp/constant/SQLConstant.java | 14 +
.../apache/iotdb/db/qp/executor/PlanExecutor.java | 152 +-
.../org/apache/iotdb/db/qp/logical/Operator.java | 11 +-
.../db/qp/logical/crud/BasicFunctionOperator.java | 22 +-
.../iotdb/db/qp/logical/crud/InOperator.java | 4 +
.../iotdb/db/qp/logical/crud/LikeOperator.java | 125 +
.../iotdb/db/qp/logical/crud/QueryOperator.java | 219 +-
.../iotdb/db/qp/logical/crud/RegexpOperator.java | 124 +
.../iotdb/db/qp/logical/crud/SelectComponent.java | 7 +
.../db/qp/logical/crud/SelectIntoOperator.java | 110 +
.../logical/sys/CreateContinuousQueryOperator.java | 98 +
...rator.java => DropContinuousQueryOperator.java} | 35 +-
.../iotdb/db/qp/logical/sys/LoadFilesOperator.java | 25 +-
...lesOperator.java => SetSystemModeOperator.java} | 42 +-
.../sys/ShowContinuousQueriesOperator.java} | 13 +-
.../iotdb/db/qp/logical/sys/ShowOperator.java | 3 +
.../org/apache/iotdb/db/qp/physical/BatchPlan.java | 11 +
.../apache/iotdb/db/qp/physical/PhysicalPlan.java | 77 +-
.../db/qp/physical/crud/AlignByDevicePlan.java | 57 +-
.../iotdb/db/qp/physical/crud/InsertPlan.java | 12 +-
.../iotdb/db/qp/physical/crud/InsertRowPlan.java | 3 +-
.../physical/crud/InsertRowsOfOneDevicePlan.java | 7 +
.../iotdb/db/qp/physical/crud/MeasurementInfo.java | 75 +
.../iotdb/db/qp/physical/crud/SelectIntoPlan.java | 113 +
...emplatePlan.java => SetSchemaTemplatePlan.java} | 14 +-
.../iotdb/db/qp/physical/sys/ClearCachePlan.java | 17 +
.../qp/physical/sys/CreateContinuousQueryPlan.java | 145 ++
.../db/qp/physical/sys/CreateFunctionPlan.java | 45 +-
.../db/qp/physical/sys/CreateSnapshotPlan.java | 17 +
...ctionPlan.java => DropContinuousQueryPlan.java} | 41 +-
.../iotdb/db/qp/physical/sys/DropFunctionPlan.java | 25 +-
.../physical/sys/{MergePlan.java => LogPlan.java} | 49 +-
.../apache/iotdb/db/qp/physical/sys/MergePlan.java | 17 +
.../iotdb/db/qp/physical/sys/OperateFilePlan.java | 23 +-
.../sys/{MergePlan.java => SetSystemModePlan.java} | 16 +-
...tePlan.java => SetUsingSchemaTemplatePlan.java} | 16 +-
.../qp/physical/sys/ShowContinuousQueriesPlan.java | 19 +-
.../apache/iotdb/db/qp/physical/sys/ShowPlan.java | 3 +-
.../apache/iotdb/db/qp/sql/IoTDBSqlVisitor.java | 392 ++-
.../iotdb/db/qp/strategy/LogicalChecker.java | 5 +
.../iotdb/db/qp/strategy/PhysicalGenerator.java | 24 +-
.../qp/strategy/optimizer/ConcatPathOptimizer.java | 28 +-
.../qp/strategy/optimizer/ILogicalOptimizer.java | 3 +-
.../apache/iotdb/db/qp/utils/DatetimeUtils.java | 44 +-
.../apache/iotdb/db/qp/utils/WildcardsRemover.java | 28 +-
.../iotdb/db/query/control/QueryFileManager.java | 2 +-
.../db/query/control/QueryResourceManager.java | 100 +-
.../iotdb/db/query/control/QueryTimeManager.java | 16 +
.../iotdb/db/query/control/SessionManager.java | 216 ++
.../db/query/control/SessionTimeoutManager.java | 114 +
.../apache/iotdb/db/query/control/TracingInfo.java | 85 +
.../iotdb/db/query/control/TracingManager.java | 139 +-
.../db/query/dataset/AlignByDeviceDataSet.java | 26 +-
.../query/dataset/ShowContinuousQueriesResult.java | 84 +
.../dataset/groupby/GroupByEngineDataSet.java | 2 +
.../query/dataset/groupby/GroupByTimeDataSet.java | 11 +-
.../iotdb/db/query/executor/LastQueryExecutor.java | 17 +-
.../iotdb/db/query/executor/QueryRouter.java | 15 +-
.../iotdb/db/query/executor/fill/ValueFill.java | 110 +
.../iotdb/db/query/reader/series/SeriesReader.java | 106 +-
.../reader/universal/DescPriorityMergeReader.java | 5 +-
.../reader/universal/PriorityMergeReader.java | 13 +-
.../db/query/udf/builtin/BuiltinFunction.java | 3 +
.../iotdb/db/query/udf/builtin/UDTFCosh.java | 20 +-
.../iotdb/db/query/udf/builtin/UDTFSinh.java | 20 +-
.../iotdb/db/query/udf/builtin/UDTFTanh.java | 20 +-
.../apache/iotdb/db/rescon/MemTableManager.java | 4 +
.../iotdb/db/rescon/PrimitiveArrayManager.java | 366 +--
.../apache/iotdb/db/rescon/TVListAllocator.java | 12 +-
.../java/org/apache/iotdb/db/service/IoTDB.java | 16 +-
.../org/apache/iotdb/db/service/ServiceType.java | 2 +-
.../org/apache/iotdb/db/service/StaticResps.java | 6 +-
.../org/apache/iotdb/db/service/TSServiceImpl.java | 617 ++---
.../org/apache/iotdb/db/service/UpgradeSevice.java | 33 +-
.../apache/iotdb/db/tools/TsFileRewriteTool.java | 174 +-
.../apache/iotdb/db/tools/TsFileSketchTool.java | 583 +++--
.../org/apache/iotdb/db/tools/mlog/MLogParser.java | 27 +-
.../db/tools/upgrade/TsFileOnlineUpgradeTool.java | 155 +-
.../iotdb/db/tools/vis/TsFileExtractVisdata.java | 170 ++
.../main/java/org/apache/iotdb/db/tools/vis/vis.m | 290 +++
.../org/apache/iotdb/db/utils/CommonUtils.java | 4 +-
.../org/apache/iotdb/db/utils/FilePathUtils.java | 2 +-
.../java/org/apache/iotdb/db/utils/IOUtils.java | 9 +
.../org/apache/iotdb/db/utils/SchemaUtils.java | 21 +-
.../org/apache/iotdb/db/utils/SerializeUtils.java | 5 +-
.../apache/iotdb/db/utils/TimeValuePairUtils.java | 232 ++
.../apache/iotdb/db/utils/TypeInferenceUtils.java | 23 +
.../org/apache/iotdb/db/utils/UpgradeUtils.java | 10 -
.../iotdb/db/utils/datastructure/TVList.java | 2 +-
.../writelog/manager/MultiFileLogNodeManager.java | 9 +-
.../db/writelog/node/ExclusiveWriteLogNode.java | 89 +-
.../iotdb/db/writelog/recover/LogReplayer.java | 6 +-
.../writelog/recover/TsFileRecoverPerformer.java | 26 +-
.../apache/iotdb/db/auth/AuthorityCheckerTest.java | 19 +
.../db/engine/memtable/MemTableFlushTaskTest.java | 22 +-
.../db/engine/memtable/MemTableTestUtils.java | 5 +-
.../db/engine/memtable/PrimitiveMemTableTest.java | 30 +-
.../engine/merge/MaxFileMergeFileSelectorTest.java | 5 +-
.../storagegroup/StorageGroupProcessorTest.java | 192 +-
.../iotdb/db/engine/storagegroup/TTLTest.java | 9 +-
.../engine/storagegroup/TsFileProcessorTest.java | 14 +-
.../iotdb/db/integration/IoTDBAddSubDeviceIT.java | 11 +-
.../iotdb/db/integration/IoTDBAlignByDeviceIT.java | 95 +-
.../iotdb/db/integration/IoTDBArithmeticIT.java | 38 +-
.../org/apache/iotdb/db/integration/IoTDBAsIT.java | 12 +-
.../db/integration/IoTDBAutoCreateSchemaIT.java | 6 +
.../db/integration/IoTDBContinuousQueryIT.java | 421 +++
.../db/integration/IoTDBCreateStorageGroupIT.java | 130 +
.../db/integration/IoTDBCreateTimeseriesIT.java | 34 +-
.../iotdb/db/integration/IoTDBDeletionIT.java | 81 +
.../apache/iotdb/db/integration/IoTDBFillIT.java | 32 +
.../iotdb/db/integration/IoTDBGroupByMonthIT.java | 14 +
.../org/apache/iotdb/db/integration/IoTDBInIT.java | 255 ++
.../db/integration/IoTDBInsertWithoutTimeIT.java | 129 +
.../apache/iotdb/db/integration/IoTDBLastIT.java | 153 +-
.../apache/iotdb/db/integration/IoTDBLikeIT.java | 169 ++
.../db/integration/IoTDBLoadExternalTsfileIT.java | 121 +-
.../iotdb/db/integration/IoTDBMetadataFetchIT.java | 20 +-
.../iotdb/db/integration/IoTDBQueryDemoIT.java | 220 ++
.../db/integration/IoTDBQueryMemoryControlIT.java | 27 +-
.../iotdb/db/integration/IoTDBRestartIT.java | 51 +
.../iotdb/db/integration/IoTDBSelectIntoIT.java | 641 +++++
.../db/integration/IoTDBSequenceDataQueryIT.java | 48 +-
.../iotdb/db/integration/IoTDBSeriesReaderIT.java | 11 +-
.../db/integration/IoTDBSessionTimeoutIT.java | 82 +
....java => IoTDBSetSystemReadOnlyWritableIT.java} | 296 +--
.../iotdb/db/integration/IoTDBSimpleQueryIT.java | 14 +-
.../iotdb/db/integration/IoTDBTimePartitionIT.java | 92 +
.../db/integration/IoTDBTriggerExecutionIT.java | 27 +-
.../db/integration/IoTDBUDFWindowQueryIT.java | 35 +-
.../integration/IoTDBUDTFAlignByTimeQueryIT.java | 147 +-
.../db/integration/IoTDBUDTFBuiltinFunctionIT.java | 43 +-
.../db/integration/IoTDBUDTFHybridQueryIT.java | 28 +-
.../db/integration/IoTDBUDTFNonAlignQueryIT.java | 42 +-
.../aggregation/IoTDBAggregationSmallDataIT.java | 8 +-
.../iotdb/db/metadata/MManagerAdvancedTest.java | 20 +-
.../iotdb/db/metadata/MManagerBasicTest.java | 563 +++-
.../iotdb/db/metadata/MManagerImproveTest.java | 8 +-
.../org/apache/iotdb/db/metadata/MTreeTest.java | 103 +-
.../apache/iotdb/db/metadata/MetaUtilsTest.java | 15 +-
.../apache/iotdb/db/metadata/mnode/MNodeTest.java | 43 +-
.../iotdb/db/qp/logical/LogicalPlanSmallTest.java | 16 +-
.../iotdb/db/qp/physical/InsertRowPlanTest.java | 8 +-
.../iotdb/db/qp/physical/InsertTabletPlanTest.java | 14 +-
.../iotdb/db/qp/physical/PhysicalPlanTest.java | 284 +-
.../db/qp/utils/DatetimeQueryDataSetUtilsTest.java | 93 +-
.../iotdb/db/query/control/TracingManagerTest.java | 7 +-
.../dataset/groupby/GroupByFillDataSetTest.java | 2 +-
.../query/reader/series/SeriesReaderTestUtil.java | 2 +-
.../org/apache/iotdb/db/sink/AlertManagerTest.java | 6 +-
.../apache/iotdb/db/sink/LocalIoTDBSinkTest.java | 6 +-
.../org/apache/iotdb/db/sink/MQTTSinkTest.java | 6 +-
.../org/apache/iotdb/db/tools/MLogParserTest.java | 71 +-
.../iotdb/db/tools/TsFileSketchToolTest.java | 4 +-
.../apache/iotdb/db/utils/EnvironmentUtils.java | 17 +-
.../iotdb/db/utils/TsFileRewriteToolTest.java | 4 +-
.../apache/iotdb/db/writelog/WriteLogNodeTest.java | 26 +
.../iotdb/db/writelog/recover/LogReplayerTest.java | 3 +-
.../db/writelog/recover/SeqTsFileRecoverTest.java | 2 +-
.../org/apache/iotdb/rpc/IoTDBJDBCDataSet.java | 618 +++++
.../java/org/apache/iotdb/rpc/TSStatusCode.java | 4 +-
.../main/java/org/apache/iotdb/session/Config.java | 6 +-
.../java/org/apache/iotdb/session/Session.java | 205 +-
.../apache/iotdb/session/SessionConnection.java | 68 +-
.../org/apache/iotdb/session/SessionUtils.java | 35 +
.../org/apache/iotdb/session/pool/SessionPool.java | 385 ++-
.../iotdb/session/IoTDBSessionComplexIT.java | 37 +-
.../iotdb/session/IoTDBSessionIteratorIT.java | 26 +-
.../apache/iotdb/session/IoTDBSessionSimpleIT.java | 6 +-
.../apache/iotdb/session/IoTDBSessionVectorIT.java | 213 ++
.../session/{SessionUT.java => SessionTest.java} | 54 +-
.../apache/iotdb/session/pool/SessionPoolTest.java | 128 +-
site/README-zh.md | 9 +-
site/README.md | 7 +-
site/pom.xml | 100 +-
.../sbin/stop-node.sh => site/src/main/.asf.yaml | 24 +-
site/src/main/.vuepress/config.js | 55 +-
site/src/main/.vuepress/theme/components/Page.vue | 15 +-
.../theme/global-components/Contributor.vue | 7 +
.../apache/iotdb/spark/db/EnvironmentUtils.java | 117 +-
testcontainer/pom.xml | 6 +
.../test/java/org/apache/iotdb/db/sql/Cases.java | 372 ++-
.../iotdb/db/sql/ClusterSessionSimpleIT.java | 85 +
thrift-cluster/src/main/thrift/cluster.thrift | 92 +-
thrift/src/main/thrift/rpc.thrift | 13 +
.../iotdb/tsfile/common/conf/TSFileConfig.java | 9 +-
.../iotdb/tsfile/common/conf/TSFileDescriptor.java | 2 -
.../file/metadata/MetadataIndexConstructor.java | 52 +-
.../iotdb/tsfile/read/TsFileSequenceReader.java | 17 +-
.../apache/iotdb/tsfile/read/common/BatchData.java | 33 +
.../tsfile/read/common/DescReadBatchData.java | 5 +-
.../tsfile/read/common/DescReadWriteBatchData.java | 1 +
.../org/apache/iotdb/tsfile/read/common/Path.java | 4 +
.../read/expression/util/ExpressionOptimizer.java | 34 +-
.../tsfile/read/filter/GroupByMonthFilter.java | 114 +-
.../iotdb/tsfile/read/filter/ValueFilter.java | 54 +
.../read/filter/factory/FilterSerializeId.java | 4 +-
.../iotdb/tsfile/read/filter/operator/Like.java | 162 ++
.../iotdb/tsfile/read/filter/operator/Regexp.java | 112 +
.../read/query/timegenerator/node/LeafNode.java | 2 +-
.../java/org/apache/iotdb/tsfile/utils/BitMap.java | 5 +
.../apache/iotdb/tsfile/write/TsFileWriter.java | 12 +-
.../tsfile/write/chunk/ChunkGroupWriterImpl.java | 77 +-
.../iotdb/tsfile/write/chunk/ChunkWriterImpl.java | 28 +-
.../tsfile/write/chunk/VectorChunkWriterImpl.java | 5 +-
.../tsfile/write/schema/IMeasurementSchema.java | 5 +
.../tsfile/write/schema/MeasurementSchema.java | 15 +-
.../apache/iotdb/tsfile/write/schema/Schema.java | 28 +-
.../tsfile/write/schema/TimeseriesSchema.java | 3 +-
.../write/schema/VectorMeasurementSchema.java | 15 +-
.../iotdb/tsfile/write/writer/TsFileIOWriter.java | 20 +
.../iotdb/tsfile/read/ReadOnlyTsFileTest.java | 69 +
.../tsfile/read/filter/GroupByMonthFilterTest.java | 46 +-
...ateTest.java => DefaultSchemaTemplateTest.java} | 8 +-
.../tsfile/write/MetadataIndexConstructorTest.java | 477 ++++
.../write/schema/converter/SchemaBuilderTest.java | 4 +-
.../write/writer/VectorChunkWriterImplTest.java | 34 +-
.../write/writer/VectorMeasurementSchemaStub.java | 12 +-
656 files changed, 36236 insertions(+), 14976 deletions(-)
create mode 100644 .gitattributes
create mode 100644 client-py/tests/tablet_performance_comparison.py
copy cluster/src/assembly/resources/sbin/{add-node.bat => remove-node.bat} (89%)
copy cluster/src/assembly/resources/sbin/{add-node.sh => remove-node.sh} (73%)
copy server/src/main/java/org/apache/iotdb/db/sink/exception/SinkException.java => cluster/src/main/java/org/apache/iotdb/cluster/exception/ChangeMembershipException.java (72%)
create mode 100644 cluster/src/main/java/org/apache/iotdb/cluster/partition/balancer/DefaultSlotBalancer.java
copy cluster/src/main/java/org/apache/iotdb/cluster/partition/{slot/SlotNodeRemovalResult.java => balancer/SlotBalancer.java} (60%)
create mode 100644 cluster/src/main/java/org/apache/iotdb/cluster/query/ClusterUDTFQueryExecutor.java
copy cluster/src/main/java/org/apache/iotdb/cluster/query/reader/{ManagedMergeReader.java => ManagedDescPriorityMergeReader.java} (88%)
rename cluster/src/main/java/org/apache/iotdb/cluster/query/reader/{ManagedMergeReader.java => ManagedPriorityMergeReader.java} (94%)
create mode 100644 cluster/src/main/java/org/apache/iotdb/cluster/utils/nodetool/function/Header.java
create mode 100644 cluster/src/main/java/org/apache/iotdb/cluster/utils/nodetool/function/Migration.java
rename cluster/src/main/java/org/apache/iotdb/cluster/utils/nodetool/function/{Host.java => Slot.java} (74%)
create mode 100644 cluster/src/test/java/org/apache/iotdb/cluster/query/ClusterUDTFQueryExecutorTest.java
create mode 100644 docs/UserGuide/API/Time-zone.md
create mode 100644 docs/UserGuide/Advanced-Features/Continuous-Query.md
create mode 100644 docs/UserGuide/Advanced-Features/Select-Into.md
create mode 100644 docs/UserGuide/Data-Concept/Measurement-Template.md
create mode 100644 docs/zh/UserGuide/API/Time-zone.md
create mode 100644 docs/zh/UserGuide/Advanced-Features/Continuous-Query.md
create mode 100644 docs/zh/UserGuide/Advanced-Features/Select-Into.md
create mode 100644 docs/zh/UserGuide/Data-Concept/Measurement-Template.md
copy docs/zh/SystemDesign/Client/RPC.md => example/mqtt-customize/README.md (50%)
create mode 100644 example/mqtt-customize/pom.xml
create mode 100644 example/mqtt-customize/src/main/java/org/apache/iotdb/mqtt/server/CustomizedJsonPayloadFormatter.java
create mode 100644 example/mqtt-customize/src/main/resources/META-INF/services/org.apache.iotdb.db.mqtt.PayloadFormatter
create mode 100644 example/session/src/main/java/org/apache/iotdb/HybridTimeseriesSessionExample.java
create mode 100644 example/session/src/main/java/org/apache/iotdb/SessionConcurrentExample.java
create mode 100644 example/session/src/main/java/org/apache/iotdb/TabletExample.java
copy server/src/test/java/org/apache/iotdb/db/tools/TsFileSketchToolTest.java => example/tsfile/src/main/java/org/apache/iotdb/tsfile/TsFileWriteVectorWithTablet.java (59%)
rename flink-tsfile-connector/src/test/java/org/apache/iotdb/flink/tsfile/{RowTSRecordOutputFormatITCase.java => RowTSRecordOutputFormatIT.java} (95%)
rename flink-tsfile-connector/src/test/java/org/apache/iotdb/flink/tsfile/{RowTsFileInputFormatITCase.java => RowTsFileInputFormatIT.java} (97%)
create mode 100644 jdbc/src/main/java/org/apache/iotdb/jdbc/Field.java
create mode 100644 jdbc/src/main/java/org/apache/iotdb/jdbc/GroupedLSBWatermarkEncoder.java
copy server/src/main/java/org/apache/iotdb/db/qp/physical/sys/DropFunctionPlan.java => jdbc/src/main/java/org/apache/iotdb/jdbc/ListDataSet.java (54%)
create mode 100644 jdbc/src/main/java/org/apache/iotdb/jdbc/StringUtils.java
copy jdbc/src/main/java/org/apache/iotdb/jdbc/{Constant.java => WatermarkEncoder.java} (70%)
create mode 100644 jdbc/src/test/java/org/apache/iotdb/jdbc/IoTDBDatabaseMetadataTest.java
copy cluster/src/assembly/resources/sbin/add-node.bat => server/src/assembly/resources/tools/tsfileToolSet/print-tsfile-visdata.bat (50%)
mode change 100755 => 100644
copy cluster/src/assembly/resources/sbin/stop-node.sh => server/src/assembly/resources/tools/tsfileToolSet/print-tsfile-visdata.sh (60%)
create mode 100644 server/src/main/java/org/apache/iotdb/db/cq/ContinuousQueryService.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/cq/ContinuousQueryTask.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/cq/ContinuousQueryTaskPoolManager.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/engine/selectinto/InsertTabletPlanGenerator.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/engine/selectinto/InsertTabletPlansIterator.java
rename server/src/main/java/org/apache/iotdb/db/{ => engine/trigger}/sink/alertmanager/AlertManagerConfiguration.java (89%)
rename server/src/main/java/org/apache/iotdb/db/{ => engine/trigger}/sink/alertmanager/AlertManagerEvent.java (95%)
rename server/src/main/java/org/apache/iotdb/db/{ => engine/trigger}/sink/alertmanager/AlertManagerHandler.java (92%)
rename server/src/main/java/org/apache/iotdb/db/{ => engine/trigger}/sink/api/Configuration.java (94%)
rename server/src/main/java/org/apache/iotdb/db/{ => engine/trigger}/sink/api/Event.java (94%)
rename server/src/main/java/org/apache/iotdb/db/{ => engine/trigger}/sink/api/Handler.java (95%)
copy server/src/main/java/org/apache/iotdb/db/{ => engine/trigger}/sink/exception/SinkException.java (94%)
rename server/src/main/java/org/apache/iotdb/db/{ => engine/trigger}/sink/local/LocalIoTDBConfiguration.java (93%)
rename server/src/main/java/org/apache/iotdb/db/{ => engine/trigger}/sink/local/LocalIoTDBEvent.java (91%)
rename server/src/main/java/org/apache/iotdb/db/{ => engine/trigger}/sink/local/LocalIoTDBHandler.java (95%)
rename server/src/main/java/org/apache/iotdb/db/{ => engine/trigger}/sink/mqtt/MQTTConfiguration.java (93%)
rename server/src/main/java/org/apache/iotdb/db/{ => engine/trigger}/sink/mqtt/MQTTEvent.java (93%)
rename server/src/main/java/org/apache/iotdb/db/{ => engine/trigger}/sink/mqtt/MQTTHandler.java (93%)
copy server/src/main/java/org/apache/iotdb/db/{sink/exception/SinkException.java => exception/ContinuousQueryException.java} (72%)
delete mode 100644 server/src/main/java/org/apache/iotdb/db/metadata/MeasurementMeta.java
delete mode 100644 server/src/main/java/org/apache/iotdb/db/metadata/Metadata.java
rename server/src/main/java/org/apache/iotdb/db/metadata/{ => logfile}/MLogTxtWriter.java (74%)
rename server/src/main/java/org/apache/iotdb/db/metadata/{ => logfile}/MetadataOperationType.java (79%)
create mode 100644 server/src/main/java/org/apache/iotdb/db/metadata/mnode/EntityMNode.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/metadata/mnode/IEntityMNode.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/metadata/mnode/IMNode.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/metadata/mnode/IMeasurementMNode.java
copy jdbc/src/main/java/org/apache/iotdb/jdbc/Constant.java => server/src/main/java/org/apache/iotdb/db/metadata/mnode/IStorageGroupMNode.java (78%)
create mode 100644 server/src/main/java/org/apache/iotdb/db/metadata/mnode/InternalMNode.java
copy server/src/main/java/org/apache/iotdb/db/metadata/mnode/{StorageGroupMNode.java => StorageGroupEntityMNode.java} (72%)
rename server/src/main/java/org/apache/iotdb/db/metadata/{ => tag}/TagLogFile.java (97%)
create mode 100644 server/src/main/java/org/apache/iotdb/db/metadata/tag/TagManager.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/metadata/template/TemplateManager.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/metadata/utils/MetaFormatUtils.java
rename server/src/main/java/org/apache/iotdb/db/metadata/{ => utils}/MetaUtils.java (87%)
create mode 100644 server/src/main/java/org/apache/iotdb/db/qp/logical/crud/LikeOperator.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/qp/logical/crud/RegexpOperator.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/qp/logical/crud/SelectIntoOperator.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/qp/logical/sys/CreateContinuousQueryOperator.java
copy server/src/main/java/org/apache/iotdb/db/qp/logical/sys/{LoadFilesOperator.java => DropContinuousQueryOperator.java} (61%)
copy server/src/main/java/org/apache/iotdb/db/qp/logical/sys/{LoadFilesOperator.java => SetSystemModeOperator.java} (60%)
rename server/src/main/java/org/apache/iotdb/db/{sink/exception/SinkException.java => qp/logical/sys/ShowContinuousQueriesOperator.java} (76%)
create mode 100644 server/src/main/java/org/apache/iotdb/db/qp/physical/crud/MeasurementInfo.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/qp/physical/crud/SelectIntoPlan.java
rename server/src/main/java/org/apache/iotdb/db/qp/physical/crud/{SetDeviceTemplatePlan.java => SetSchemaTemplatePlan.java} (85%)
create mode 100644 server/src/main/java/org/apache/iotdb/db/qp/physical/sys/CreateContinuousQueryPlan.java
copy server/src/main/java/org/apache/iotdb/db/qp/physical/sys/{CreateFunctionPlan.java => DropContinuousQueryPlan.java} (55%)
copy server/src/main/java/org/apache/iotdb/db/qp/physical/sys/{MergePlan.java => LogPlan.java} (51%)
copy server/src/main/java/org/apache/iotdb/db/qp/physical/sys/{MergePlan.java => SetSystemModePlan.java} (81%)
rename server/src/main/java/org/apache/iotdb/db/qp/physical/sys/{SetUsingDeviceTemplatePlan.java => SetUsingSchemaTemplatePlan.java} (83%)
copy tsfile/src/main/java/org/apache/iotdb/tsfile/read/filter/factory/FilterSerializeId.java => server/src/main/java/org/apache/iotdb/db/qp/physical/sys/ShowContinuousQueriesPlan.java (80%)
create mode 100644 server/src/main/java/org/apache/iotdb/db/query/control/SessionManager.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/query/control/SessionTimeoutManager.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/query/control/TracingInfo.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/query/dataset/ShowContinuousQueriesResult.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/query/executor/fill/ValueFill.java
copy tsfile/src/main/java/org/apache/iotdb/tsfile/read/filter/factory/FilterSerializeId.java => server/src/main/java/org/apache/iotdb/db/query/udf/builtin/UDTFCosh.java (82%)
copy tsfile/src/main/java/org/apache/iotdb/tsfile/read/filter/factory/FilterSerializeId.java => server/src/main/java/org/apache/iotdb/db/query/udf/builtin/UDTFSinh.java (82%)
copy tsfile/src/main/java/org/apache/iotdb/tsfile/read/filter/factory/FilterSerializeId.java => server/src/main/java/org/apache/iotdb/db/query/udf/builtin/UDTFTanh.java (82%)
create mode 100644 server/src/main/java/org/apache/iotdb/db/tools/vis/TsFileExtractVisdata.java
create mode 100644 server/src/main/java/org/apache/iotdb/db/tools/vis/vis.m
create mode 100644 server/src/test/java/org/apache/iotdb/db/integration/IoTDBContinuousQueryIT.java
create mode 100644 server/src/test/java/org/apache/iotdb/db/integration/IoTDBCreateStorageGroupIT.java
create mode 100644 server/src/test/java/org/apache/iotdb/db/integration/IoTDBInIT.java
create mode 100644 server/src/test/java/org/apache/iotdb/db/integration/IoTDBInsertWithoutTimeIT.java
create mode 100644 server/src/test/java/org/apache/iotdb/db/integration/IoTDBLikeIT.java
create mode 100644 server/src/test/java/org/apache/iotdb/db/integration/IoTDBSelectIntoIT.java
create mode 100644 server/src/test/java/org/apache/iotdb/db/integration/IoTDBSessionTimeoutIT.java
copy server/src/test/java/org/apache/iotdb/db/integration/{IoTDBQueryDemoIT.java => IoTDBSetSystemReadOnlyWritableIT.java} (53%)
create mode 100644 server/src/test/java/org/apache/iotdb/db/integration/IoTDBTimePartitionIT.java
create mode 100644 service-rpc/src/main/java/org/apache/iotdb/rpc/IoTDBJDBCDataSet.java
create mode 100644 session/src/test/java/org/apache/iotdb/session/IoTDBSessionVectorIT.java
rename session/src/test/java/org/apache/iotdb/session/{SessionUT.java => SessionTest.java} (82%)
copy cluster/src/assembly/resources/sbin/stop-node.sh => site/src/main/.asf.yaml (65%)
create mode 100644 testcontainer/src/test/java/org/apache/iotdb/db/sql/ClusterSessionSimpleIT.java
create mode 100644 tsfile/src/main/java/org/apache/iotdb/tsfile/read/filter/operator/Like.java
create mode 100644 tsfile/src/main/java/org/apache/iotdb/tsfile/read/filter/operator/Regexp.java
rename tsfile/src/test/java/org/apache/iotdb/tsfile/write/{DefaultDeviceTemplateTest.java => DefaultSchemaTemplateTest.java} (93%)
create mode 100644 tsfile/src/test/java/org/apache/iotdb/tsfile/write/MetadataIndexConstructorTest.java