This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a change to branch OOMImprove
in repository https://gitbox.apache.org/repos/asf/iotdb.git.
from 87e3e1c merge with master
add fe913c9 Support partition removal (#1409)
add ab5f7cc fix series reader bug (#1434)
add 850c11c fix insertRecord serialize in Python example
add 0589dab set rpc version to v3
add a40b5f7 enlarge avg_series_point_num_threshold to 100000
add 6da16b4 Comparison IoTDB with other TSDBs (#1189)
add 8146b87 Add version info in MTree snapshot file name
add d1231f6 Fix test
add 662a8bc Change name
add 22a82b3 Abstract insertPlan
add 58b10ff rename markMeasurementInsertionFailed to
markFailedMeasurementInsertion
add 2cbee31 change the way to get MManager (#1431)
add 0e2d838 remove redundant type change
add 305fa47 [IOTDB-785] Disable anonymous access MQTT service (#1447)
add 6603dfe add insertStringRecord rpc method (#1450)
add 11e1f57 Fix logic of creating MTree snapshot (#1452)
add 5f08035 [IOTDB-787] set thrift and antlr as two independent module
(#1451)
add f8eaf79 fix upgrade
add 172ab45 [IoTDB-786]refactor the thrift rpc service to reduce
duplicate codes of RPC and Sync module (#1453)
add 7597566 fix maven warning about losing some plugin versions
add 8fcdb51 fix restart bug
add 1e2c3e9 premerge for the distributed version (#1326)
add 3129985 Update index.styl
add 12be837 fix LICENSE-binary (#1471)
add 36d524d [IOTDB-627]Support range deletion for timeseries (#1400)
add 5db19a9 [IOTDB-774]Fix "show timeseries" OOM problem (#1470)
add 212a6df Update config.js
add 54e9fdc remove seperate line
add d76356d [IOTDB-791] Remove unused PathException
add f80c7c3 check fetch size in query
add 3d0df95 add DOAP file
add 98b4e6f [IOTDB-790] change base_dir to system_dir (#1467)
add f270861 [IOTDB-792] do not get MManager.readLock when inserting to
avoid deadlock (#1481)
add ef586a1 fix tmpProperties
add 7e628d2 [IOTDB-716] add lZ4 compress method (#1448)
add 466a0ba fix check properties
add fcad569 fix check properties
add 842dd9b Add design documentations for new range delete (#1484)
add a0ed2d1 Add Tracing Doc (#1485)
add c27e51c readme
add 51194c1 update the first section of Data Model and Terminology
add 3714bdd solve hive-connector bug
add f4b7c87 reformat code
add d8777ed fix sonar
add dc9c8fc wait all wals are replayed successfully
add 99028b7 modify the logic to support cluster
add 0f2f84b use device node when update last cache
add 05bfe1c avoid string concat for single node version
add f6dc9a8 Merge pull request #1474 from mychaow/master
add f71116d change lock way
add 7f95b1a change the default fetch size in session
add fe8f60c [IOTDB-800] Add a new config type for those which could not
be modified after first start
add 0af58a0 fix limit in group by
add 0c167bb improve group by
add 99e2596 [IOTDB-799]remove log visualizer code and doc (#1516)
add 72169dc feat:add vm
add 1771ef0 fix chunkmeta bugs
add ea534cf update hot merge
add de6130e Merge branch 'hot_compaction' into add_vm_merge
add 873ad3b Merge pull request #1401 from zhanglingzhe0820/add_vm_merge
add 6483032 query adapter
add a10b404 update StorageGroupProcessor
add d08b086 Merge pull request #1410 from zhanglingzhe0820/add_vm_merge
add 8466408 resolve conflicts
add 6e0b8bd some changes in flush
add f88863b fix ChunkHeader merge
add c682ab3 fix small issues
add 5711c27 fix some small issues
add c2216eb clear get num
add bdb67d8 Fix hot compaction (#1412)
add 96f72bf fix recover folder
add 27a579d Fix hot compaction (#1415)
add ae637b6 add comment
add 6510a20 fix restart
add a50f46f fix recover vm
add b68bc19 delete unusable serialize
add a64002a query lock
add 96d2909 remove unused config
add acd8039 Merge branch 'hot_compaction' of
https://github.com/apache/incubator-iotdb into hot_compaction
add 9aa0bc2 Merge branch 'hot_compaction' of
https://github.com/apache/incubator-iotdb into hot_compaction
add 0b81e0b update mergeio
add c6abcb9 Merge branch 'hot_compaction' of
https://github.com/apache/incubator-iotdb into hot_compaction
add 7596294 Merge branch 'hot_compaction' of
https://github.com/apache/incubator-iotdb into hot_compaction
add 0ed3f9f Merge branch 'hot_compaction' of
https://github.com/apache/incubator-iotdb into hot_compaction
add 39235aa Merge branch 'hot_compaction' of
https://github.com/apache/incubator-iotdb into hot_compaction
add d3f80d2 update schema get
add 4cc7103 Merge pull request #1419 from zhanglingzhe0820/hot_compaction
add d2bd803 format memtable flush task
add 343b7e8 fix path
add cf089c6 Merge branch 'hot_compaction' of
https://github.com/apache/incubator-iotdb into hot_compaction
add 2d4b394 Merge remote-tracking branch 'origin/hot_compaction' into
hot_compaction
add 2ac8ce3 fix failed tests
add abee581 add recover support
add 62f4095 no need to serialize vmfile
add 7767fac update merge recover (#1421)
add 99cbcf4 add unseq tsfile processor recover
add 888daa4 fix resource readlock lack origin readlock
add 1e05957 fix sequence in TsFileReoverPerformer and MemtableFlushTask
add 820c377 Merge branch 'hot_compaction' of
https://github.com/apache/incubator-iotdb into hot_compaction
add 5c4f304 only serialize closed file
add 7fae051 and file exists judgment
add 886084e fix close bug
add 5b70863 and file exists judgment (#1424)
add 71b0c45 update startTime and endTime in vmfile tsfile resource
add f2057b3 add licenses
add aba6218 Merge branch 'hot_compaction' into fix_hot_compaction_recover
add 50b4054 Merge pull request #1426 from
zhanglingzhe0820/fix_hot_compaction_recover
add 2f71fb2 fix query deadlock
add 564d42d recover bug
add 105c019 fix recover bug
add cf15a27 add some comments
add 09f0bcb add merge version
add 592612c Merge commit '2f71fb218d32646396f34e5fd2819968923b125a' into
fix_hot_compaction_recover
add 3471ff9 Merge branch 'hot_compaction' into fix_hot_compaction_recover
add 451d422 add tmp remove logic
add a622a26 Merge pull request #1427 from
zhanglingzhe0820/fix_hot_compaction_recover
add f3e21bf fix recover
add 85ba4ee update version
add 731a526 Merge branch 'hot_compaction' into fix_hot_compaction_recover
add e93b1dc add merge
add cd7481f Merge pull request #1428 from
zhanglingzhe0820/fix_hot_compaction_recover
add 4f68137 fix SeriesReaderIT
add 9934b36 fix vm file merge bug
add 5b94dc2 Merge pull request #1432 from
zhanglingzhe0820/fix_vm_merge_bug
add b44f46a add recover processing for crashing while memtable is not full
add 83f3d9b fix recover
add b01f724 Merge branch 'master' into hot_compaction
add 9fcb20d Merge branch 'hot_compaction' of
https://github.com/apache/incubator-iotdb into hot_compaction
add 871fce0 add test
add 524c9fe resolve conflict
add c493621 add properties
add cff8f1d change vm mergeTimes to flushTimes
add b263bf0 change flush vm times to 11 and add log
add c038c03 fix test
add b59aad1 merge master
add c1472cb Merge branch 'master' of
https://github.com/apache/incubator-iotdb into hot_compaction
add 71b4711 fix review
add a9b2e87 fix test
add acfdee2 fix test
add d0d5815 split vm with flush (#1468)
add a7e9030 fix shouldClose
add 11f747a fix bug
add 336c034 Fix sonar problems in hot_compaction branch (#1469)
add 4b6fe39 Fix more sonar issues
add c20cdb7 Fix typo
add 732c112 fix conflicts
add 80355cd Fix tests
add 4dcd1d3 fix conflicts
add 42ce3f6 Fix conflicts
add 95de1f8 Merge remote-tracking branch 'origin/master' into
hot_compaction2
add 6b8e118 Fix sonar problems resulted by merging master
add caae141 change back the delete way
add dd88ab1 change name
add d4ff7f9 make query right
add 25c40da add javadoc for RestorableTsFileIOWriter
add 938e80a add log
add 07cc9dc fix windows ci bug
add 703014b add log close
add cb4bcf0 fix
add 782518d fix
add a100b24 fix
add e52e0e4 Merge branch 'hot_compaction' into fix_windows_ci_bug
add 9bf7da2 fix
add a436db2 just end file
add 9e30f0f Merge branch 'fix_windows_ci_bug' into add_vm_logs
add 2cefde3 update
add 4d7b1cf remove endFile
add f6d6d1d Merge pull request #1477 from zhanglingzhe0820/add_vm_logs
add 5e97e01 fix tests
add a4922ca Merge branch 'master' into hot_compaction
add 4b023b7 update log and add some reader close (#1480)
add 619172f fix sonar
add 92546c4 fix sonar
add e71e710 rename upgrade to tmp suffix
add 6d6ae7b reduce duplication
add f53b94a fix vm recover bug
add c2675fa fix
add 69ae505 update vm logger
add 7f35d50 fix
add 8f2fc3b add truncate
add 1e9297c add logger close
add f39b9e9 update vm merge utils
add f620159 log
add 2943f48 update log
add c979feb fix vm pack bug
add 3b3ac1a update filename compare
add 326898e add log
add f1f0307 fix sonar
add 97a9937 change back memtable size in IoTDBConfig
add 4d2cc32 Merge remote-tracking branch 'origin/master' into
hot_compaction
add f1adbb4 Merge pull request #1411 from apache/hot_compaction
add 21a0740 [IOTDB-805] Fix BufferUnderflowException when querying TsFile
stored in HDFS (#1519)
add 0d4492c add vm level test and fix bug (#1522)
add 8361653 Added python session client.
add 4dddddb added Apache licenses to Python files.
add db48ebb Rm vm tmp file (#1528)
add 9e5f824 Add doc for MeasurementSchema in Tablet (#1534)
add be4d4b1 delete old-version python example & update README file
add a3df582 Fix recover bug with vm (#1529)
add 5a5b12a Add file list on disk (#1541)
add 75ad80c [IOTDB-811] fix upgrading mlog many times when upgrading
system.properties crashed (#1543)
add 9f24a93 improve recover process
add 8b916e8 fix bug
add 86f6a67 add docs for recover process
add b2b6d32 Add tracing part of FileLists doc (#1547)
add 6eb95cc fix deadlock after showing latest timeseries
add 0b788bb update new range delete doc
add 6d616b5 Improve maven for stability (#1554)
add e4996e1 add keyword
add 1ca9aae add lost README_ZH
add e121e41 change query audit log to debug level
add 358640c fix TsFileWriteWithTablet (#1558)
add 289cfb0 fix the third party dependencies to make license compatible
with apache-license 2.0 (#1569)
add 0110fe7 fix load file
add 876451e Cherry from 0.10.1 (#1576)
add 51b5d4d fix doc links
add 3517a5c fix space encoding
add 0c17797 Fix UserGuide/Overview/Architecture
add 86405ca set props in MeasurementSchema to null by default to release
memory (#1585)
add 9fc0e17 [IOTDB-827] Fix no permissions for operation LAST (#1587)
add 8c252de fix null pointer
add 346e7a7 add a test
add d56e94f fix headers format
add 12de9c5 server log_info.log does not contain INFO level log (#1598)
add f465f06 Use readLock in `getActiveRatio`
add 794ad5f [ISSUE#1599]check datatype with encoding. (#1600)
add ffdf15f fix spark package name in doc (#1607)
add b3f21a3 [IOTDB-832] fix reconnection failure bug in sessionPool
(#1610)
add 5e6c4b3 fix docker jmx
add d70758c Merge pull request #1612 from apache/fix_docker_jmx
add 72aa40c [IOTDB-835] Fix delete timeseries and change data type then
write failed (#1625)
add d674035 [hotfix] Delete useless code in Jenkinsfile
add 5709256 add a data migration example (#1601)
add 571b7f5 [IOTDB-841] Unify the IOTDBConfig with iotdb-engine.cofig
(#1629)
add 379a7df disable vm (#1643)
add f0b8a4b [IOTDB-836] Fix merging statistics failed when endFile (#1637)
add 6ef6646 add Delete Storage Group statement to User Guide DDL (#1644)
add e502a4a change prepared statement log level from info to debug (#1649)
add c160923 Fix bug that 'List role privileges' cannot apply to root and
other issues in doc (#1647)
add ec9ef4f [IOTDB-849] Optimize value filter query (#1651)
add fd6992b [IOTDB-682] C++ client build (#1616)
add 9789c2c Update the master branch for releasing 0.10.1 (#1646)
add 12e1332 Support double quotation in Path and optimize the Path String
usage v2 (#1627)
add 4c224bc - Made it possible to load the config from the classpath
(#1661)
add 55c2e20 [IOTDB-855] Put back SessionPool resources if
RuntimeException occurs (#1663)
add afafc79 [IOTDB-839] Make Tablet api more friendly (#1658)
add 2ec3916 fix a bug which caused delete timeseries unsuccessfully
(#1664)
add 2c6e057 resolve grammatical mistake (#1669)
add 76a9aaa [IOTDB-837] ArrayIndexOutOfBoundsException if the
measurementId size is not consistent with the value size (#1662)
add 1fc68e7 IoTDB Session Interface Updates(0.9-0.10) (#1672)
add 988deda fix Chinese webpage translation (#1677)
add 1132192 fixed typo (#1674)
add 11323fe modify data manipulation doc (#1678)
add 393a91f [New feature] Add the alias and show it as column name when
querying (#1621)
add 4cedb4e Add java doc. (#1681)
add 7eeae49 Reduce unnecessary initialization (#1682)
add 1e48707 fix scheduleWithFixedDelay in wal
add 7e3f820 enlarge force_wal_period_in_ms to 100ms
add a7cfb1e Merge pull request #1679 from apache/real_fix_wal
add c626197 [Sonar] Fix Sonar checking bugs (#1673)
add 545d912 Fix thrift put some unnecessary bytes in a ByteBuffer (#1655)
add b3ea173 add new committer chaow (#1688)
add d71da59 IOTDB-851: enhance failure tolerance when recover WAL (#1665)
add 1aa0c50 Add show TTL to DDL Data Definition Language.md (#1695)
add df250c3 [IOTDB-813] Show storage group under given path prefix (#1694)
add 7e2dbc6 fix Url bug (#1699)
add cbf3b83 some changes
add 1a02d88 fix dead lock on UpgradeUtils (#1701)
add 0014143 Change hot compact way to level merge (#1620)
add 1e0933b [IOTDB-856] Clear up the IoTDBSessionIT (#1670)
add 287f3fa Add PPMC info for Jincheng Sun (#1709)
add 399917a [IOTDB-670] raw data query interface (#1704)
add d944de9 Move Session API updates into Native_API.md (#1706)
add 0c1822d [IOTDB-878][connector] Bump Flink to Flink 1.11.1 (#1711)
add 2c4fae5 [IOTDB-875]fix flush storage group error when no data in
storage group (#1700)
add 32abc11 [Hot compaction] Add upgrade logic for TsFileManagement
(#1707)
add 168cbbd Add merge speed limiting (#1712)
add 62f009c [IOTDB-873] Add count devices DDL (#1705)
add 883b5dc Fix As clause doc (#1697)
add 4852a10 Fix Python method "set_time_zone" exception message (#1713)
add 13c246e [IOTDB-871] change port to rpc port in session (#1720)
add b0b943a fix mem setting on windws when using 64-bit Java
add 237bd6f Merge pull request #1702 from
xiaoyekanren/fix_mem_setting_on_wind
add 83b7fce add new PPMC members Haonan Hou and Dawei Liu (#1729)
add d729f99 fix some importcsv tool bug (#1692)
add 7834fc8 [IOTDB-881] Fix Double quotes bug in Align by device (#1717)
add 42e3c16 fix importCsvIT bug (#1730)
add 3aaf7de [IOTDB-840] Encode the three enum fields in MeasurementSchema
to save memory (#1724)
add 2323f26 fix bug that cross-test generates data out of the target
folder (#1738)
add da54ec5 [IOTDB-850] check list user/role privilege (#1698)
add fc795d3 [IOTDB-848] support order by time asc/desc (#1650)
add 4e4df33 [IOTDB-877] fix prefix bug on show storage group and show
devices (#1723)
add e9defff [Doc]Add wal test doc (#1735)
add 686f066 [IOTDB-876] Add count storage group DDL (#1734)
add ffa9b2d Revert incorrect sonar fix in sync module (#1740)
add 0d853dc [IOTDB-869] Failed to insert data via Windows CLI (#1714)
add 5160615 add compaction resource delete (#1741)
add 8421bbb fix cross-tests bug (#1743)
add 0d8fd2e delete lock in the LeafNode (#1745)
add 8971a3a catch exception (#1748)
add 7809b9c fix ProgressBar bug (#1747)
add 85ff7e6 [IOTDB-872] Use system timezone in CLI (#1722)
add 0de9fff [IOTDB-904] fix update last cache NullPointerException (#1752)
add 479bfad Update maven download url for TravisCI (WinOS) (#1754)
add 0bdc1e1 Change TreeSet to List in getAllDevices (#1756)
add 38bf656 Improve the readUnLock way while inserting (#1757)
add ee8c17f update the website because of graduation (#1755)
add 3df2da3 fix ImportCsvToolIT bug
add a1260a0 Fixed getFloat(int ColumnIndex) Method.
add f2820e4 [bug] modify disableIS08601 to disableISO8601
add 3db6cb0 - Removed the incubation resources from the produced jars -
Made the source plugin create source-jars even for SNAPSHOT builds
add adb5926 [IOTDB-870] change tags and attributes output format to two
columns with json values(#1731)
add 5fa23d0 [IOTDB-892] Replace fastjson with Gson (#1728)
add c2ca774 Avoid type conversion when encoding MeasureSchema (#1749)
add ece4928 Update DML Data Manipulation Language.md (#1769)
add 2e7d902 [IOTDB-863]: add a switch to drop ouf-of-order data that is
recognized by IoTDB (#1693)
add 410815d [IOTDB-907] Change TreeSet to HashSet in getAllDevices (#1772)
add 1e3d945 [IOTDB-919] Update License binary as fastjson has been
removed (#1773)
add 79fe721 remove some redundant code (#1778)
add 52b087f [IOTDB-929] Update show timeseries information in readme
(#1786)
add c916da9 [IOTDB-934] Update TsFile structure graph (#1797)
add 1eb3cbe remove incubating or incubator word
add a12c90e revert travis.xml as sonarcloud does not rename iotdb repo
add 665df9b revert travis.xml as sonarcloud does not rename iotdb repo
add af08781 Update docs/zh/UserGuide/Get Started/Frequently asked
questions.md
add efbf93a Update docs/zh/SystemDesign/TsFile/Format.md
add 1cb82ba Update docs/UserGuide/Server/Download.md
add 45b803f Update README.md
add 9f44105 remove incubating or incubator word (#1790)
add c1cf736 [IOTDB-934] Add statistics description in TsFile document
(#1798)
add 7d63289 remove "incubator" word in all urls (#1802)
add f82f180 delete some useless type transfer while deserializing and
serializing MeasurementMNode (#1803)
add 3976682 fix progressBar print problem (#1805)
add 4b5e66f fix homepage link (#1806)
add 52ffce3 [IOTDB-920] Disable insert row thats only contains
time/timestamp column (#1774)
add 2f71cd7 [IOTDB-922] Int and Long can convert to each other in
ResultSet (#1775)
add eba7c0b [IOTDB-916] Add a config entry to make Last cache
configurable (#1770)
add 5195490 [IOTDB-934] Update TsFile structure graph (#1807)
add df8f876 Remove unnecessary lock in MManager (#1783)
add f24f637 fix Tracing bug (#1811)
add 5822e2b [IOTDB-936] Refactor getAllDevices in TsFileSequenceReader
(#1808)
add ba1ec68 print error log when set illegal sg name (#1810)
add ec0d69c Update MetadataIndexTree graph (#1812)
add aade12a resolve conflicts
add 4181276 some changes
add c9d275e fix session raw data query rpc pass statementId bug (#1819)
add efcfbd3 resolve conflicts
No new revisions were added by this update.
Summary of changes:
.gitignore | 7 +
.mvn/wrapper/MavenWrapperDownloader.java | 10 +-
.travis.yml | 4 +-
DISCLAIMER | 6 -
Jenkinsfile | 38 +-
LICENSE-binary | 74 +-
README.md | 52 +-
README_ZH.md | 44 +-
RELEASE_NOTES.md | 26 +
{example/mqtt => antlr}/pom.xml | 28 +-
.../org/apache/iotdb/db/qp/strategy/SqlBase.g4 | 329 +++-
cli/pom.xml | 2 +
cli/src/assembly/resources/sbin/start-cli.sh | 2 +-
.../java/org/apache/iotdb/cli/AbstractCli.java | 20 +
.../main/java/org/apache/iotdb/tool/ExportCsv.java | 1 +
.../main/java/org/apache/iotdb/tool/ImportCsv.java | 76 +-
.../StorageEngine/WAL.md => client-cpp/README.md | 8 +-
client-cpp/client-cpp-example/pom.xml | 162 ++
.../client-cpp-example/src/CMakeLists.txt | 20 +-
.../client-cpp-example/src/SessionExample.cpp | 296 ++++
client-cpp/pom.xml | 360 ++++
client-cpp/src/assembly/client-cpp.xml | 60 +
client-cpp/src/main/CMakeLists.txt | 42 +
client-cpp/src/main/IOTDBSession.cpp | 1018 +++++++++++
client-cpp/src/main/IOTDBSession.h | 633 +++++++
client-cpp/src/test/CMakeLists.txt | 41 +
client-cpp/src/test/cpp/sessionIT.cpp | 171 ++
.../src/test/main.cpp | 38 +-
client-py/compile.bat | 2 +-
client-py/compile.sh | 2 +-
client-py/readme.md | 10 +-
client-py/src/Session.py | 456 +++++
client-py/src/SessionExample.py | 107 ++
client-py/src/client_example.py | 348 ----
client-py/src/utils/Field.py | 176 ++
.../src/utils/IoTDBConstants.py | 42 +-
client-py/src/utils/IoTDBRpcDataSet.py | 219 +++
client-py/src/utils/RowRecord.py | 55 +
client-py/src/utils/SessionDataSet.py | 101 ++
client-py/src/utils/Tablet.py | 133 ++
.../src/utils/__init__.py | 2 -
compile-tools/README.md | 147 ++
compile-tools/boost/pom.xml | 141 ++
.../boost/src/assembly/bundle.xml | 30 +-
compile-tools/pom.xml | 121 ++
compile-tools/thrift/pom.xml | 420 +++++
.../thrift/src/assembly/compiler.xml | 32 +-
compile-tools/thrift/src/assembly/cpp.xml | 51 +
.../thrift/src/assembly/python.xml | 33 +-
{session => cross-tests}/pom.xml | 122 +-
.../tests/tools/importCsv}/AbstractScript.java | 21 +-
.../tests/tools/importCsv/ImportCsvTestIT.java | 156 ++
.../src/test/resources/iotdb-engine.properties | 0
distribution/pom.xml | 5 +-
distribution/src/assembly/distribution.xml | 6 +-
docker/src/main/Dockerfile | 10 +-
.../main/{Dockerfile-0.10.0 => Dockerfile-0.10.1} | 10 +-
docker/src/main/Dockerfile-0.8.1 | 4 +-
docker/src/main/Dockerfile-0.9.0 | 4 +-
docker/src/main/Dockerfile-0.9.1 | 4 +-
docker/src/main/Dockerfile-0.9.1-jre8 | 4 +-
docs/Blog/index.md | 2 +-
docs/Community/Community-Powered By.md | 2 +-
docs/Community/Feedback.md | 4 +-
docs/Development/ContributeGuide.md | 8 +-
docs/Development/HowToCommit.md | 22 +-
docs/Development/VoteRelease.md | 16 +-
docs/Download/README.md | 48 +-
docs/SystemDesign/Architecture/Architecture.md | 22 +-
docs/SystemDesign/Client/RPC.md | 11 +-
docs/SystemDesign/DataQuery/AlignByDeviceQuery.md | 14 +-
docs/SystemDesign/DataQuery/DataQuery.md | 18 +-
docs/SystemDesign/DataQuery/LastQuery.md | 2 +-
docs/SystemDesign/DataQuery/QueryFundamentals.md | 45 +-
docs/SystemDesign/QueryEngine/Planner.md | 6 +-
docs/SystemDesign/QueryEngine/QueryEngine.md | 4 +-
.../QueryEngine/ResultSetConstruction.md | 4 +-
docs/SystemDesign/SchemaManager/SchemaManager.md | 45 +
.../SystemDesign/StorageEngine/DataManipulation.md | 28 +-
docs/SystemDesign/StorageEngine/Recover.md | 106 ++
docs/SystemDesign/StorageEngine/StorageEngine.md | 8 +-
docs/SystemDesign/StorageEngine/WAL.md | 24 +-
docs/SystemDesign/Tools/Sync.md | 2 +-
docs/SystemDesign/TsFile/Format.md | 33 +-
docs/SystemDesign/TsFile/TsFile.md | 6 +-
docs/UserGuide/Architecture/Files.md | 8 +-
.../UserGuide/Architecture/Writing Data on HDFS.md | 2 +-
docs/UserGuide/Client/Command Line Interface.md | 32 +-
docs/UserGuide/Client/Programming - Native API.md | 185 +-
.../Client/Programming - Other Languages.md | 2 +-
docs/UserGuide/Client/Programming - TsFile API.md | 8 +-
docs/UserGuide/Client/Status Codes.md | 1 +
docs/UserGuide/Comparison/TSDB-Comparison.md | 386 +++++
docs/UserGuide/Concept/Compression.md | 2 +-
.../Concept/Data Model and Terminology.md | 10 +-
docs/UserGuide/Concept/Data Type.md | 2 +-
docs/UserGuide/Concept/Encoding.md | 2 +-
docs/UserGuide/Ecosystem Integration/Grafana.md | 8 +-
.../UserGuide/Ecosystem Integration/Hive TsFile.md | 8 +-
.../Ecosystem Integration/MapReduce TsFile.md | 6 +-
.../Ecosystem Integration/Spark TsFile.md | 24 +-
.../Get Started/Frequently asked questions.md | 12 +-
docs/UserGuide/Get Started/QuickStart.md | 10 +-
docs/UserGuide/Operation Manual/Administration.md | 2 +-
.../DDL Data Definition Language.md | 17 +-
.../DML Data Manipulation Language.md | 91 +-
docs/UserGuide/Operation Manual/SQL Reference.md | 110 +-
docs/UserGuide/Overview/Architecture.md | 2 +-
docs/UserGuide/Server/Config Manual.md | 10 +-
docs/UserGuide/Server/Docker Image.md | 8 +-
docs/UserGuide/Server/Download.md | 18 +-
docs/UserGuide/System Tools/Log Visualizer.md | 160 --
.../System Tools/Monitor and Log Tools.md | 4 +-
.../System Tools/Performance Tracing Tool.md | 61 +
docs/UserGuide/UserGuideReadme.md | 7 +-
docs/zh/Community/Community-Powered By.md | 2 +-
docs/zh/Community/Feedback.md | 4 +-
docs/zh/Development/ContributeGuide.md | 6 +-
docs/zh/Development/HowToCommit.md | 20 +-
docs/zh/Development/VoteRelease.md | 16 +-
docs/zh/Download/README.md | 48 +-
docs/zh/SystemDesign/Architecture/Architecture.md | 22 +-
docs/zh/SystemDesign/Client/RPC.md | 12 +-
.../SystemDesign/DataQuery/AlignByDeviceQuery.md | 14 +-
docs/zh/SystemDesign/DataQuery/DataQuery.md | 20 +-
docs/zh/SystemDesign/DataQuery/LastQuery.md | 2 +-
docs/zh/SystemDesign/DataQuery/OrderByTimeQuery.md | 190 +++
.../zh/SystemDesign/DataQuery/QueryFundamentals.md | 40 +-
docs/zh/SystemDesign/QueryEngine/Planner.md | 4 +-
docs/zh/SystemDesign/QueryEngine/QueryEngine.md | 4 +-
.../QueryEngine/ResultSetConstruction.md | 4 +-
.../zh/SystemDesign/SchemaManager/SchemaManager.md | 41 +
.../SystemDesign/StorageEngine/DataManipulation.md | 28 +-
docs/zh/SystemDesign/StorageEngine/FileLists.md | 156 ++
docs/zh/SystemDesign/StorageEngine/Recover.md | 107 ++
.../zh/SystemDesign/StorageEngine/StorageEngine.md | 8 +-
.../SystemDesign/StorageEngine/TsFileManagement.md | 225 +++
docs/zh/SystemDesign/StorageEngine/WAL.md | 23 +
docs/zh/SystemDesign/TsFile/Format.md | 29 +-
docs/zh/SystemDesign/TsFile/TsFile.md | 6 +-
docs/zh/UserGuide/Architecture/Files.md | 8 +-
.../UserGuide/Architecture/Writing Data on HDFS.md | 2 +-
docs/zh/UserGuide/Client/Command Line Interface.md | 30 +-
.../UserGuide/Client/Programming - Native API.md | 180 +-
.../Client/Programming - Other Languages.md | 2 +-
.../UserGuide/Client/Programming - TsFile API.md | 8 +-
docs/zh/UserGuide/Client/Status Codes.md | 1 +
docs/zh/UserGuide/Concept/Compression.md | 2 +-
.../Concept/Data Model and Terminology.md | 10 +-
docs/zh/UserGuide/Concept/Data Type.md | 2 +-
docs/zh/UserGuide/Concept/Encoding.md | 2 +-
docs/zh/UserGuide/Ecosystem Integration/Grafana.md | 8 +-
.../UserGuide/Ecosystem Integration/Hive TsFile.md | 12 +-
.../Ecosystem Integration/MapReduce TsFile.md | 6 +-
.../Ecosystem Integration/Spark TsFile.md | 24 +-
.../Get Started/Frequently asked questions.md | 14 +-
docs/zh/UserGuide/Get Started/QuickStart.md | 10 +-
.../UserGuide/Operation Manual/Administration.md | 2 +-
.../DDL Data Definition Language.md | 30 +-
.../DML Data Manipulation Language.md | 81 +-
.../zh/UserGuide/Operation Manual/SQL Reference.md | 112 +-
docs/zh/UserGuide/Overview/Architecture.md | 2 +-
docs/zh/UserGuide/Server/Config Manual.md | 10 +-
docs/zh/UserGuide/Server/Docker Image.md | 10 +-
docs/zh/UserGuide/Server/Download.md | 4 +-
docs/zh/UserGuide/System Tools/Log Visualizer.md | 146 --
.../System Tools/Monitor and Log Tools.md | 6 +-
.../System Tools/Performance Tracing Tool.md | 61 +
docs/zh/UserGuide/UserGuideReadme.md | 7 +-
.../org/apache/iotdb/flink/FlinkIoTDBSink.java | 4 +-
.../apache/iotdb/flink/FlinkTsFileBatchSink.java | 2 +-
.../apache/iotdb/flink/FlinkTsFileBatchSource.java | 2 +-
.../apache/iotdb/flink/FlinkTsFileStreamSink.java | 2 +-
.../iotdb/flink/FlinkTsFileStreamSource.java | 2 +-
.../iotdb/hadoop/tsfile/TSFMRReadExample.java | 3 +-
.../iotdb/hadoop/tsfile/TSMRWriteExample.java | 3 +-
.../apache/iotdb/hadoop/tsfile/TsFileHelper.java | 44 +-
.../org/apache/iotdb/DataMigrationExample.java | 185 ++
.../main/java/org/apache/iotdb/SessionExample.java | 99 +-
example/tsfile/readme.md | 2 +-
.../java/org/apache/iotdb/tsfile/TsFileRead.java | 50 +-
.../apache/iotdb/tsfile/TsFileSequenceRead.java | 137 +-
.../iotdb/tsfile/TsFileWriteWithTSRecord.java | 46 +-
.../apache/iotdb/tsfile/TsFileWriteWithTablet.java | 11 +-
flink-iotdb-connector/pom.xml | 1 -
.../java/org/apache/iotdb/flink/IoTDBSink.java | 3 +-
flink-tsfile-connector/pom.xml | 7 +
.../iotdb/flink/tsfile/RowTSRecordConverter.java | 5 +-
.../iotdb/flink/tsfile/TsFileInputFormat.java | 19 +-
.../flink/tsfile/RowTsFileConnectorTestBase.java | 2 +-
.../controller/DatabaseConnectController.java | 120 +-
hadoop/pom.xml | 5 +-
.../iotdb/hadoop/fileSystem/HDFSConfUtil.java | 3 +-
.../apache/iotdb/hadoop/fileSystem/HDFSOutput.java | 7 +-
.../apache/iotdb/hadoop/tsfile/TSFInputFormat.java | 23 +-
.../iotdb/hadoop/tsfile/TSFRecordReader.java | 43 +-
.../iotdb/hadoop/tsfile/TSFRecordWriter.java | 3 +-
hive-connector/pom.xml | 32 +-
.../org/apache/iotdb/hive/TSFHiveInputFormat.java | 11 +-
.../org/apache/iotdb/hive/TSFHiveRecordReader.java | 1 +
.../org/apache/iotdb/hive/TsFileDeserializer.java | 1 +
.../java/org/apache/iotdb/hive/TsFileSerDe.java | 18 +-
jdbc/pom.xml | 4 +-
jdbc/src/main/feature/feature.xml | 1 +
.../iotdb/jdbc/AbstractIoTDBJDBCResultSet.java | 2 +-
.../org/apache/iotdb/jdbc/IoTDBConnection.java | 13 +-
.../apache/iotdb/jdbc/IoTDBDatabaseMetadata.java | 2 +-
.../apache/iotdb/jdbc/IoTDBPreparedStatement.java | 6 +-
.../org/apache/iotdb/jdbc/IoTDBConnectionTest.java | 6 +-
licenses/EDL License 1.0 | 11 -
pom.xml | 89 +-
server/pom.xml | 47 +-
.../resources/conf/iotdb-engine.properties | 48 +-
server/src/assembly/resources/conf/iotdb-env.bat | 14 +-
server/src/assembly/resources/conf/iotdb-env.sh | 1 +
server/src/assembly/resources/conf/logback.xml | 1 +
.../resources/tools/logVisualize/config.properties | 22 -
.../tools/logVisualize/default.log.pattern | 45 -
.../tools/logVisualize/log-visualizer-cmd.bat | 65 -
.../tools/logVisualize/log-visualizer-cmd.sh | 47 -
.../tools/logVisualize/log-visualizer-gui.bat | 65 -
.../tools/logVisualize/log-visualizer-gui.sh | 47 -
.../plans/closeMetadataConsumption.plan | 6 -
.../tools/logVisualize/plans/compressionRatio.plan | 6 -
.../logVisualize/plans/dynamicParameters.plan | 6 -
.../tools/logVisualize/plans/flushSubmits.plan | 7 -
.../plans/flushTimeConsumption.plan.example | 56 -
.../tools/logVisualize/plans/memTableWait.plan | 6 -
.../tools/logVisualize/plans/mergeFileNum.plan | 7 -
.../tools/logVisualize/plans/mergeRate.plan | 10 -
.../logVisualize/plans/mergeSeriesProgress.plan | 7 -
.../org/apache/iotdb/db/auth/AuthorityChecker.java | 9 +-
.../iotdb/db/auth/authorizer/BasicAuthorizer.java | 2 +-
.../iotdb/db/auth/authorizer/OpenIdAuthorizer.java | 18 +-
.../iotdb/db/auth/role/LocalFileRoleAccessor.java | 4 +
.../iotdb/db/auth/user/LocalFileUserAccessor.java | 4 +
.../org/apache/iotdb/db/concurrent/ThreadName.java | 1 +
.../java/org/apache/iotdb/db/conf/IoTDBConfig.java | 182 +-
.../org/apache/iotdb/db/conf/IoTDBConfigCheck.java | 46 +-
.../org/apache/iotdb/db/conf/IoTDBConstant.java | 5 +-
.../org/apache/iotdb/db/conf/IoTDBDescriptor.java | 139 +-
.../db/conf/adapter/ActiveTimeSeriesCounter.java | 6 +-
.../iotdb/db/conf/adapter/CompressionRatio.java | 4 +-
.../db/conf/adapter/IoTDBConfigDynamicAdapter.java | 10 +-
.../db/conf/adapter/ManageDynamicParameters.java | 4 +-
.../db/conf/directories/DirectoryManager.java | 2 +-
.../strategy/RandomOnDiskUsableSpaceStrategy.java | 4 +-
.../org/apache/iotdb/db/engine/StorageEngine.java | 229 ++-
.../apache/iotdb/db/engine/cache/ChunkCache.java | 46 +-
.../iotdb/db/engine/cache/ChunkMetadataCache.java | 37 +-
.../db/engine/cache/TimeSeriesMetadataCache.java | 87 +-
.../apache/iotdb/db/engine/flush/FlushManager.java | 12 +-
.../iotdb/db/engine/flush/FlushManagerMBean.java | 1 -
.../iotdb/db/engine/flush/MemTableFlushTask.java | 42 +-
.../iotdb/db/engine/flush/TsFileFlushPolicy.java | 4 +-
.../db/engine/flush/pool/AbstractPoolManager.java | 8 +-
.../engine/flush/pool/FlushSubTaskPoolManager.java | 5 +-
.../db/engine/flush/pool/FlushTaskPoolManager.java | 5 +-
.../iotdb/db/engine/memtable/AbstractMemTable.java | 50 +-
.../apache/iotdb/db/engine/memtable/IMemTable.java | 9 +-
.../db/engine/memtable/IWritableMemChunk.java | 10 +-
.../iotdb/db/engine/memtable/WritableMemChunk.java | 9 +-
.../iotdb/db/engine/merge/manage/MergeContext.java | 8 +-
.../iotdb/db/engine/merge/manage/MergeManager.java | 69 +-
.../db/engine/merge/manage/MergeResource.java | 20 +-
.../iotdb/db/engine/merge/recover/LogAnalyzer.java | 62 +-
.../iotdb/db/engine/merge/recover/MergeLogger.java | 12 +-
.../engine/merge/selector/IMergePathSelector.java | 4 +-
.../merge/selector/MaxFileMergeFileSelector.java | 6 +-
.../engine/merge/selector/NaivePathSelector.java | 10 +-
.../iotdb/db/engine/merge/task/MergeFileTask.java | 83 +-
.../db/engine/merge/task/MergeMultiChunkTask.java | 26 +-
.../iotdb/db/engine/merge/task/MergeTask.java | 18 +-
.../db/engine/merge/task/RecoverMergeTask.java | 16 +-
.../iotdb/db/engine/modification/Deletion.java | 49 +-
.../iotdb/db/engine/modification/Modification.java | 10 +-
.../db/engine/modification/ModificationFile.java | 3 +-
.../io/LocalTextModificationAccessor.java | 36 +-
.../db/engine/querycontext/QueryDataSource.java | 11 +-
.../db/engine/querycontext/ReadOnlyMemChunk.java | 4 +-
.../engine/storagegroup/StorageGroupProcessor.java | 891 ++++++----
.../iotdb/db/engine/storagegroup/TsFileLock.java | 10 +-
.../db/engine/storagegroup/TsFileProcessor.java | 235 +--
.../db/engine/storagegroup/TsFileResource.java | 142 +-
.../HotCompactionMergeTaskPoolManager.java | 113 ++
.../engine/tsfilemanagement/TsFileManagement.java | 149 ++
.../TsFileManagementStrategy.java} | 24 +-
.../level/LevelTsFileManagement.java | 597 +++++++
.../normal/NormalTsFileManagement.java | 171 ++
.../utils/HotCompactionLogAnalyzer.java | 122 ++
.../utils/HotCompactionLogger.java | 87 +
.../tsfilemanagement/utils/HotCompactionUtils.java | 254 +++
.../apache/iotdb/db/engine/upgrade/UpgradeLog.java | 9 +-
.../iotdb/db/engine/upgrade/UpgradeTask.java | 62 +-
.../version/SimpleFileVersionController.java | 11 +-
.../iotdb/db/exception/query/PathException.java | 38 -
.../db/exception/runtime/SQLParserException.java | 7 +-
.../org/apache/iotdb/db/metadata/MLogWriter.java | 8 -
.../org/apache/iotdb/db/metadata/MManager.java | 1777 +++++++++-----------
.../java/org/apache/iotdb/db/metadata/MTree.java | 819 +++++----
.../apache/iotdb/db/metadata/MeasurementMeta.java | 83 +
.../org/apache/iotdb/db/metadata/MetaUtils.java | 79 +-
.../apache/iotdb/db/metadata/MetadataConstant.java | 10 +-
.../org/apache/iotdb/db/metadata/PartialPath.java | 213 +++
.../org/apache/iotdb/db/metadata/mnode/MNode.java | 139 +-
.../iotdb/db/metadata/mnode/MeasurementMNode.java | 19 +-
.../iotdb/db/metadata/mnode/StorageGroupMNode.java | 1 -
.../apache/iotdb/db/metrics/server/JettyUtil.java | 30 +-
.../iotdb/db/metrics/server/MetricsSystem.java | 26 +-
.../iotdb/db/metrics/server/QueryServlet.java | 28 +-
.../iotdb/db/metrics/server/ServerArgument.java | 63 +-
.../iotdb/db/metrics/server/SqlArgument.java | 26 +-
.../apache/iotdb/db/metrics/sink/ConsoleSink.java | 26 +-
.../iotdb/db/metrics/sink/MetricsServletSink.java | 26 +-
.../org/apache/iotdb/db/metrics/sink/Sink.java | 26 +-
.../apache/iotdb/db/metrics/source/JvmSource.java | 26 +-
.../iotdb/db/metrics/source/MetricsSource.java | 26 +-
.../org/apache/iotdb/db/metrics/source/Source.java | 26 +-
.../apache/iotdb/db/metrics/ui/MetricsPage.java | 37 +-
.../apache/iotdb/db/metrics/ui/MetricsWebUI.java | 26 +-
.../apache/iotdb/db/monitor/MonitorConstants.java | 13 +-
.../org/apache/iotdb/db/monitor/StatMonitor.java | 42 +-
.../apache/iotdb/db/mqtt/JSONPayloadFormatter.java | 27 +-
.../org/apache/iotdb/db/mqtt/PublishHandler.java | 15 +-
.../main/java/org/apache/iotdb/db/qp/Planner.java | 80 +-
.../apache/iotdb/db/qp/constant/DatetimeUtils.java | 14 +-
.../apache/iotdb/db/qp/constant/SQLConstant.java | 35 +-
.../apache/iotdb/db/qp/executor/IPlanExecutor.java | 18 +-
.../apache/iotdb/db/qp/executor/PlanExecutor.java | 643 +++----
.../org/apache/iotdb/db/qp/logical/Operator.java | 2 +-
.../db/qp/logical/crud/BasicFunctionOperator.java | 10 +-
.../db/qp/logical/crud/BasicOperatorType.java | 13 +-
.../db/qp/logical/crud/DeleteDataOperator.java | 18 +-
.../iotdb/db/qp/logical/crud/FilterOperator.java | 26 +-
.../iotdb/db/qp/logical/crud/FromOperator.java | 8 +-
.../iotdb/db/qp/logical/crud/InOperator.java | 10 +-
.../iotdb/db/qp/logical/crud/QueryOperator.java | 20 +
.../iotdb/db/qp/logical/crud/SFWOperator.java | 6 +-
.../iotdb/db/qp/logical/crud/SelectOperator.java | 15 +-
.../db/qp/logical/sys/AlterTimeSeriesOperator.java | 11 +-
.../iotdb/db/qp/logical/sys/AuthorOperator.java | 8 +-
.../iotdb/db/qp/logical/sys/CountOperator.java | 10 +-
.../qp/logical/sys/CreateTimeSeriesOperator.java | 17 +-
...hOperator.java => DeletePartitionOperator.java} | 37 +-
.../qp/logical/sys/DeleteStorageGroupOperator.java | 9 +-
.../qp/logical/sys/DeleteTimeSeriesOperator.java | 9 +-
.../iotdb/db/qp/logical/sys/FlushOperator.java | 8 +-
.../db/qp/logical/sys/SetStorageGroupOperator.java | 8 +-
.../iotdb/db/qp/logical/sys/SetTTLOperator.java | 7 +-
.../db/qp/logical/sys/ShowChildPathsOperator.java | 8 +-
.../db/qp/logical/sys/ShowDevicesOperator.java | 8 +-
...Operator.java => ShowStorageGroupOperator.java} | 72 +-
.../iotdb/db/qp/logical/sys/ShowTTLOperator.java | 8 +-
.../db/qp/logical/sys/ShowTimeSeriesOperator.java | 8 +-
.../apache/iotdb/db/qp/physical/PhysicalPlan.java | 34 +-
.../db/qp/physical/crud/AlignByDevicePlan.java | 17 +-
.../DeletePartitionPlan.java} | 34 +-
.../iotdb/db/qp/physical/crud/DeletePlan.java | 70 +-
.../iotdb/db/qp/physical/crud/InsertPlan.java | 438 +----
.../crud/{InsertPlan.java => InsertRowPlan.java} | 279 ++-
.../db/qp/physical/crud/InsertTabletPlan.java | 240 +--
.../iotdb/db/qp/physical/crud/QueryPlan.java | 25 +-
.../db/qp/physical/crud/RawDataQueryPlan.java | 9 +-
.../iotdb/db/qp/physical/crud/UpdatePlan.java | 18 +-
.../db/qp/physical/sys/AlterTimeSeriesPlan.java | 10 +-
.../iotdb/db/qp/physical/sys/AuthorPlan.java | 27 +-
.../iotdb/db/qp/physical/sys/ClearCachePlan.java | 4 +-
.../apache/iotdb/db/qp/physical/sys/CountPlan.java | 9 +-
.../db/qp/physical/sys/CreateSnapshotPlan.java | 4 +-
.../db/qp/physical/sys/CreateTimeSeriesPlan.java | 23 +-
.../iotdb/db/qp/physical/sys/DataAuthPlan.java | 4 +-
.../db/qp/physical/sys/DeleteStorageGroupPlan.java | 18 +-
.../db/qp/physical/sys/DeleteTimeSeriesPlan.java | 17 +-
.../apache/iotdb/db/qp/physical/sys/FlushPlan.java | 8 +-
.../db/qp/physical/sys/LoadConfigurationPlan.java | 4 +-
.../iotdb/db/qp/physical/sys/LoadDataPlan.java | 8 +-
.../apache/iotdb/db/qp/physical/sys/MergePlan.java | 4 +-
.../iotdb/db/qp/physical/sys/OperateFilePlan.java | 4 +-
.../db/qp/physical/sys/SetStorageGroupPlan.java | 19 +-
.../iotdb/db/qp/physical/sys/SetTTLPlan.java | 23 +-
.../db/qp/physical/sys/ShowChildPathsPlan.java | 8 +-
.../iotdb/db/qp/physical/sys/ShowDevicesPlan.java | 8 +-
.../apache/iotdb/db/qp/physical/sys/ShowPlan.java | 6 +-
...wDevicesPlan.java => ShowStorageGroupPlan.java} | 71 +-
.../iotdb/db/qp/physical/sys/ShowTTLPlan.java | 10 +-
.../db/qp/physical/sys/ShowTimeSeriesPlan.java | 40 +-
.../iotdb/db/qp/physical/sys/TracingPlan.java | 4 +-
.../iotdb/db/qp/strategy/LogicalGenerator.java | 310 +++-
.../iotdb/db/qp/strategy/PhysicalGenerator.java | 267 +--
.../qp/strategy/optimizer/ConcatPathOptimizer.java | 93 +-
.../qp/strategy/optimizer/ILogicalOptimizer.java | 2 +-
.../optimizer/MergeSingleFilterOptimizer.java | 17 +-
.../db/query/aggregation/AggregateResult.java | 7 +-
.../db/query/aggregation/impl/AvgAggrResult.java | 7 +-
.../db/query/aggregation/impl/CountAggrResult.java | 4 +-
.../aggregation/impl/FirstValueAggrResult.java | 9 +-
.../aggregation/impl/LastValueAggrResult.java | 15 +-
.../query/aggregation/impl/MaxTimeAggrResult.java | 7 +-
.../query/aggregation/impl/MaxValueAggrResult.java | 13 +-
.../query/aggregation/impl/MinTimeAggrResult.java | 9 +-
.../query/aggregation/impl/MinValueAggrResult.java | 11 +-
.../db/query/aggregation/impl/SumAggrResult.java | 7 +-
.../iotdb/db/query/control/FileReaderManager.java | 16 +-
.../iotdb/db/query/control/QueryFileManager.java | 3 +-
.../db/query/control/QueryResourceManager.java | 32 +-
.../iotdb/db/query/control/TracingManager.java | 4 +-
.../db/query/dataset/AlignByDeviceDataSet.java | 29 +-
.../apache/iotdb/db/query/dataset/ListDataSet.java | 10 +-
.../db/query/dataset/NonAlignEngineDataSet.java | 24 +-
.../dataset/RawQueryDataSetWithValueFilter.java | 17 +-
.../dataset/RawQueryDataSetWithoutValueFilter.java | 44 +-
.../db/query/dataset/ShowTimeSeriesResult.java | 81 +-
.../db/query/dataset/ShowTimeseriesDataSet.java | 139 ++
.../iotdb/db/query/dataset/SingleDataSet.java | 7 +-
.../dataset/groupby/GroupByEngineDataSet.java | 46 +-
.../db/query/dataset/groupby/GroupByExecutor.java | 3 +
.../query/dataset/groupby/GroupByFillDataSet.java | 79 +-
.../query/dataset/groupby/GroupByTimeDataSet.java | 19 +-
.../groupby/GroupByWithValueFilterDataSet.java | 130 +-
.../groupby/GroupByWithoutValueFilterDataSet.java | 76 +-
.../dataset/groupby/LocalGroupByExecutor.java | 135 +-
.../db/query/executor/AggregationExecutor.java | 97 +-
.../iotdb/db/query/executor/FillQueryExecutor.java | 19 +-
.../iotdb/db/query/executor/LastQueryExecutor.java | 101 +-
.../iotdb/db/query/executor/QueryRouter.java | 55 +-
.../db/query/executor/RawDataQueryExecutor.java | 87 +-
.../apache/iotdb/db/query/executor/fill/IFill.java | 4 +-
.../db/query/executor/fill/LastPointReader.java | 7 +-
.../iotdb/db/query/executor/fill/LinearFill.java | 17 +-
.../iotdb/db/query/executor/fill/PreviousFill.java | 11 +-
.../FixLengthIExternalSortFileDeserializer.java | 75 +-
.../db/query/reader/chunk/DiskChunkLoader.java | 2 +-
.../db/query/reader/chunk/MemChunkReader.java | 28 +-
.../iotdb/db/query/reader/chunk/MemPageReader.java | 38 +-
.../chunk/metadata/DiskChunkMetadataLoader.java | 7 +-
.../chunk/metadata/MemChunkMetadataLoader.java | 11 +-
.../reader/series/DescSeriesReaderByTimestamp.java | 53 +
.../db/query/reader/series/IReaderByTimestamp.java | 15 +-
.../query/reader/series/SeriesAggregateReader.java | 15 +-
.../reader/series/SeriesRawDataBatchReader.java | 15 +-
.../iotdb/db/query/reader/series/SeriesReader.java | 350 +++-
.../reader/series/SeriesReaderByTimestamp.java | 33 +-
.../universal/DescPriorityMergeReader.java} | 39 +-
.../reader/universal/PriorityMergeReader.java | 28 +-
.../query/timegenerator/ServerTimeGenerator.java | 56 +-
...stAllocatorMBean.java => CachedStringPool.java} | 22 +-
.../org/apache/iotdb/db/rescon/MemTablePool.java | 2 +-
.../java/org/apache/iotdb/db/service/IoTDB.java | 29 +-
.../org/apache/iotdb/db/service/MQTTService.java | 2 +
.../iotdb/db/service/MetricsServiceMBean.java | 26 +-
.../java/org/apache/iotdb/db/service/Monitor.java | 4 +-
.../org/apache/iotdb/db/service/MonitorMBean.java | 2 +-
.../org/apache/iotdb/db/service/RPCService.java | 218 +--
.../org/apache/iotdb/db/service/ServiceType.java | 1 +
.../org/apache/iotdb/db/service/StaticResps.java | 8 +
.../org/apache/iotdb/db/service/TSServiceImpl.java | 566 +++++--
.../iotdb/db/service/thrift/ThriftService.java | 150 ++
.../db/service/thrift/ThriftServiceThread.java | 143 ++
.../iotdb/db/sync/receiver/SyncServerManager.java | 189 +--
.../receiver/SyncServerManagerMBean.java} | 4 +-
.../iotdb/db/sync/receiver/load/FileLoader.java | 12 +-
.../db/sync/receiver/load/FileLoaderManager.java | 3 +-
.../receiver/recover/SyncReceiverLogAnalyzer.java | 1 +
.../db/sync/receiver/transfer/SyncServiceImpl.java | 40 +-
.../db/sync/sender/manage/SyncFileManager.java | 47 +-
.../iotdb/db/sync/sender/transfer/SyncClient.java | 11 +-
.../apache/iotdb/db/tools/IoTDBDataDirViewer.java | 12 +-
.../iotdb/db/tools/TsFileResourcePrinter.java | 3 +-
.../apache/iotdb/db/tools/TsFileSketchTool.java | 254 +--
.../apache/iotdb/db/tools/logvisual/LogEntry.java | 146 --
.../apache/iotdb/db/tools/logvisual/LogFilter.java | 220 ---
.../apache/iotdb/db/tools/logvisual/LogParser.java | 46 -
.../iotdb/db/tools/logvisual/LogVisualizer.java | 437 -----
.../iotdb/db/tools/logvisual/PatternLogParser.java | 197 ---
.../db/tools/logvisual/TimeSeriesStatistics.java | 113 --
.../iotdb/db/tools/logvisual/VisualUtils.java | 69 -
.../db/tools/logvisual/VisualizationPlan.java | 259 ---
.../db/tools/logvisual/conf/GuiPropertyKeys.java | 48 -
.../exceptions/NoLogFileLoadedException.java | 28 -
.../logvisual/exceptions/NoSuchPlanException.java | 28 -
.../exceptions/UnmatchedContentException.java | 28 -
.../exceptions/VisualizationException.java | 39 -
.../db/tools/logvisual/gui/ClosableComboTab.java | 42 -
.../iotdb/db/tools/logvisual/gui/ClosableTab.java | 55 -
.../db/tools/logvisual/gui/FileSelectionBox.java | 109 --
.../db/tools/logvisual/gui/LabeledComboBox.java | 63 -
.../iotdb/db/tools/logvisual/gui/LoadLogBox.java | 62 -
.../tools/logvisual/gui/LogVisualizationGui.java | 182 --
.../iotdb/db/tools/logvisual/gui/MainPanel.java | 107 --
.../iotdb/db/tools/logvisual/gui/PlanBox.java | 301 ----
.../db/tools/logvisual/gui/PlanDetailPanel.java | 242 ---
.../db/tools/logvisual/gui/ResultPlotTab.java | 49 -
.../db/tools/logvisual/gui/ResultStatisticTab.java | 74 -
.../iotdb/db/tools/memestimation/MemEstTool.java | 8 +-
.../db/tools/memestimation/MemEstToolCmd.java | 6 +-
.../db/tools/upgrade/TsFileOnlineUpgradeTool.java | 1 +
.../db/tools/watermark/WatermarkDetector.java | 94 +-
.../org/apache/iotdb/db/utils/CommonUtils.java | 39 +-
.../org/apache/iotdb/db/utils/FileLoaderUtils.java | 15 +-
.../org/apache/iotdb/db/utils/FilePathUtils.java | 23 +-
.../java/org/apache/iotdb/db/utils/MergeUtils.java | 54 +-
.../org/apache/iotdb/db/utils/OpenFileNumUtil.java | 12 +-
.../apache/iotdb/db/utils/QueryDataSetUtils.java | 2 +
.../java/org/apache/iotdb/db/utils/QueryUtils.java | 55 +-
.../org/apache/iotdb/db/utils/SchemaUtils.java | 83 +-
.../org/apache/iotdb/db/utils/SerializeUtils.java | 24 +-
.../apache/iotdb/db/utils/TypeInferenceUtils.java | 7 +-
.../org/apache/iotdb/db/utils/UpgradeUtils.java | 17 +-
.../iotdb/db/utils/datastructure/TVList.java | 35 +-
.../iotdb/db/writelog/io/BatchLogReader.java | 3 +-
.../writelog/manager/MultiFileLogNodeManager.java | 36 +-
.../iotdb/db/writelog/recover/LogReplayer.java | 116 +-
.../writelog/recover/TsFileRecoverPerformer.java | 132 +-
.../db/auth/authorizer/OpenIdAuthorizerTest.java | 18 +-
.../apache/iotdb/db/conf/IoTDBDescriptorTest.java | 76 +
.../adapter/IoTDBConfigDynamicAdapterTest.java | 20 +-
.../org/apache/iotdb/db/constant/TestConstant.java | 16 +-
.../iotdb/db/engine/MetadataManagerHelper.java | 46 +-
.../db/engine/cache/ChunkMetadataCacheTest.java | 44 +-
.../db/engine/memtable/MemTableFlushTaskTest.java | 6 +-
.../iotdb/db/engine/memtable/MemTablePoolTest.java | 1 +
.../apache/iotdb/db/engine/merge/MergeLogTest.java | 3 +-
.../iotdb/db/engine/merge/MergeManagerTest.java | 12 +
.../iotdb/db/engine/merge/MergeOverLapTest.java | 41 +-
.../iotdb/db/engine/merge/MergePerfTest.java | 11 +-
.../iotdb/db/engine/merge/MergeTaskTest.java | 50 +-
.../apache/iotdb/db/engine/merge/MergeTest.java | 51 +-
.../iotdb/db/engine/merge/MergeUpgradeTest.java | 14 +-
.../engine/modification/DeletionFileNodeTest.java | 108 +-
.../db/engine/modification/DeletionQueryTest.java | 143 +-
.../engine/modification/ModificationFileTest.java | 17 +-
.../io/LocalTextModificationAccessorTest.java | 9 +-
.../storagegroup/FileNodeManagerBenchmark.java | 29 +-
.../storagegroup/StorageGroupProcessorTest.java | 399 ++++-
.../iotdb/db/engine/storagegroup/TTLTest.java | 142 +-
.../engine/storagegroup/TsFileProcessorTest.java | 164 +-
.../version/SysTimeVersionControllerTest.java | 1 +
.../iotdb/db/integration/IOTDBGroupByIT.java | 39 +
.../apache/iotdb/db/integration/IOTDBInsertIT.java | 123 ++
.../iotdb/db/integration/IoTDBAddSubDeviceIT.java | 9 +-
.../iotdb/db/integration/IoTDBAggregationIT.java | 35 +-
.../integration/IoTDBAggregationLargeDataIT.java | 285 ++--
.../apache/iotdb/db/integration/IoTDBAliasIT.java | 49 +-
.../iotdb/db/integration/IoTDBAlignByDeviceIT.java | 591 +++----
.../org/apache/iotdb/db/integration/IoTDBAsIT.java | 603 +++++++
.../iotdb/db/integration/IoTDBAuthorizationIT.java | 1290 +++++++-------
.../apache/iotdb/db/integration/IoTDBCloseIT.java | 112 +-
.../db/integration/IoTDBCreateSnapshotIT.java | 41 +-
.../apache/iotdb/db/integration/IoTDBDaemonIT.java | 28 +-
.../db/integration/IoTDBDeleteStorageGroupIT.java | 14 +-
.../db/integration/IoTDBDeleteTimeseriesIT.java | 184 ++
.../iotdb/db/integration/IoTDBDeletionIT.java | 37 +
.../iotdb/db/integration/IoTDBDisableAlignIT.java | 178 +-
.../db/integration/IoTDBEngineTimeGeneratorIT.java | 24 +-
.../apache/iotdb/db/integration/IoTDBFillIT.java | 283 ++--
.../db/integration/IoTDBFlushQueryMergeIT.java | 67 +-
.../iotdb/db/integration/IoTDBGroupByFillIT.java | 40 +
.../iotdb/db/integration/IoTDBLargeDataIT.java | 23 +-
.../apache/iotdb/db/integration/IoTDBLastIT.java | 179 +-
.../db/integration/IoTDBLoadExternalTsfileIT.java | 165 +-
.../iotdb/db/integration/IoTDBMergeTest.java | 68 +-
.../iotdb/db/integration/IoTDBMetadataFetchIT.java | 252 ++-
.../IoTDBMultiOverlappedChunkInUnseqIT.java | 9 +-
.../db/integration/IoTDBMultiOverlappedPageIT.java | 20 +-
.../iotdb/db/integration/IoTDBMultiSeriesIT.java | 27 +-
.../db/integration/IoTDBMultiStatementsIT.java | 92 +-
.../iotdb/db/integration/IoTDBNumberPathIT.java | 13 +-
.../db/integration/IoTDBOverlappedPageIT.java | 12 +-
.../iotdb/db/integration/IoTDBQueryDemoIT.java | 191 +--
.../iotdb/db/integration/IoTDBQuotedPathIT.java | 152 +-
.../iotdb/db/integration/IoTDBRecoverIT.java | 75 +-
.../db/integration/IoTDBRemovePartitionIT.java | 197 +++
.../iotdb/db/integration/IoTDBRestartIT.java | 142 +-
.../iotdb/db/integration/IoTDBResultSetIT.java | 124 ++
.../db/integration/IoTDBSequenceDataQueryIT.java | 51 +-
.../iotdb/db/integration/IoTDBSeriesReaderIT.java | 55 +-
.../iotdb/db/integration/IoTDBSimpleQueryIT.java | 441 ++++-
.../integration/IoTDBSortedShowTimeseriesIT.java | 141 +-
.../iotdb/db/integration/IoTDBTagAlterIT.java | 424 ++---
.../apache/iotdb/db/integration/IoTDBTagIT.java | 758 +++++----
.../iotdb/db/integration/IoTDBTimeZoneIT.java | 12 +-
.../apache/iotdb/db/integration/IoTDBTtlIT.java | 18 +-
.../iotdb/db/metadata/MManagerAdvancedTest.java | 133 +-
.../iotdb/db/metadata/MManagerBasicTest.java | 278 ++-
.../iotdb/db/metadata/MManagerImproveTest.java | 57 +-
.../org/apache/iotdb/db/metadata/MTreeTest.java | 342 ++--
.../apache/iotdb/db/metadata/MetaUtilsTest.java | 65 +
.../apache/iotdb/db/metadata/PartialPathTest.java | 74 +
.../apache/iotdb/db/mqtt/PublishHandlerTest.java | 4 +-
.../java/org/apache/iotdb/db/qp/PlannerTest.java | 59 +-
.../iotdb/db/qp/other/TSPlanContextAuthorTest.java | 7 +-
.../iotdb/db/qp/plan/ConcatOptimizerTest.java | 44 +-
.../iotdb/db/qp/plan/LogicalPlanSmallTest.java | 136 +-
.../apache/iotdb/db/qp/plan/PhysicalPlanTest.java | 151 +-
.../apache/iotdb/db/qp/plan/SerializationTest.java | 89 +
.../db/query/control/FileReaderManagerTest.java | 4 +-
.../dataset/EngineDataSetWithValueFilterTest.java | 36 +-
.../db/query/dataset/GroupByFillDataSetTest.java | 188 +++
.../db/query/dataset/GroupByLevelDataSetTest.java | 6 +-
.../db/query/dataset/GroupByTimeDataSetTest.java | 155 +-
.../query/executor/GroupByEngineDataSetTest.java | 10 +-
.../iotdb/db/query/reader/ReaderTestHelper.java | 11 +-
.../reader/series/SeriesAggregateReaderTest.java | 36 +-
.../reader/series/SeriesReaderByTimestampTest.java | 25 +-
.../db/query/reader/series/SeriesReaderTest.java | 69 +-
.../query/reader/series/SeriesReaderTestUtil.java | 54 +-
.../apache/iotdb/db/sql/CheckPathValidityTest.java | 3 +-
.../db/sync/receiver/load/FileLoaderTest.java | 68 +-
.../recover/SyncReceiverLogAnalyzerTest.java | 46 +-
.../db/sync/sender/manage/SyncFileManagerTest.java | 28 +-
.../sender/recover/SyncSenderLogAnalyzerTest.java | 30 +-
.../apache/iotdb/db/tools/IoTDBWatermarkTest.java | 74 +-
.../org/apache/iotdb/db/tools/WalCheckerTest.java | 19 +-
.../apache/iotdb/db/utils/EnvironmentUtils.java | 15 +-
.../iotdb/db/utils/TypeInferenceUtilsTest.java | 7 +-
.../db/utils/datastructure/PrecisionTest.java | 2 +-
.../apache/iotdb/db/writelog/PerformanceTest.java | 49 +-
.../iotdb/db/writelog/WriteLogNodeManagerTest.java | 10 +-
.../apache/iotdb/db/writelog/WriteLogNodeTest.java | 43 +-
.../iotdb/db/writelog/io/LogWriterReaderTest.java | 17 +-
.../db/writelog/io/MultiFileLogReaderTest.java | 6 +-
.../db/writelog/recover/DeviceStringTest.java | 31 +-
.../iotdb/db/writelog/recover/LogReplayerTest.java | 110 +-
.../recover/RecoverResourceFromReaderTest.java | 57 +-
.../db/writelog/recover/SeqTsFileRecoverTest.java | 42 +-
.../writelog/recover/UnseqTsFileRecoverTest.java | 50 +-
service-rpc/pom.xml | 111 +-
.../java/org/apache/iotdb/rpc/IoTDBRpcDataSet.java | 1 +
.../java/org/apache/iotdb/rpc/TSStatusCode.java | 1 +
session/pom.xml | 2 +-
.../java/org/apache/iotdb/session/Session.java | 152 +-
.../org/apache/iotdb/session/SessionDataSet.java | 4 +-
.../org/apache/iotdb/session/SessionUtils.java | 1 +
.../org/apache/iotdb/session/pool/SessionPool.java | 36 +-
.../iotdb/session/IoTDBSessionComplexIT.java | 820 +++++++++
.../org/apache/iotdb/session/IoTDBSessionIT.java | 1272 --------------
.../apache/iotdb/session/IoTDBSessionSimpleIT.java | 266 +++
.../java/org/apache/iotdb/session/SessionUT.java | 26 +-
.../apache/iotdb/session/pool/SessionPoolTest.java | 69 +-
site/README-zh.md | 6 +-
site/README.md | 2 +
site/iotdb-doap.rdf | 80 +
site/pom.xml | 24 +-
site/src/main/.vuepress/config.js | 31 +-
site/src/main/.vuepress/theme/components/Page.vue | 5 +-
.../theme/global-components/Contributor.vue | 13 +-
.../.vuepress/theme/global-components/IoTDB.vue | 23 +-
.../.vuepress/theme/global-components/IoTDBZH.vue | 25 +-
site/src/main/.vuepress/theme/styles/index.styl | 4 +-
site/src/main/deploy.js | 2 +-
site/src/main/package.json | 6 +-
spark-iotdb-connector/pom.xml | 5 -
.../apache/iotdb/spark/db/EnvironmentUtils.java | 28 +-
.../iotdb/spark/tsfile/qp/QueryProcessor.java | 2 +
.../qp/optimizer/MergeSingleFilterOptimizer.java | 1 +
.../tsfile/qp/optimizer/PhysicalOptimizer.java | 2 +
.../apache/iotdb/spark/tsfile/DefaultSource.scala | 2 +-
.../iotdb/spark/tsfile/NarrowConverter.scala | 71 +-
.../apache/iotdb/spark/tsfile/WideConverter.scala | 54 +-
{service-rpc => thrift}/pom.xml | 72 +-
{service-rpc => thrift}/rpc-changelist.md | 13 +-
.../src/main/thrift/cluster.thrift | 34 +-
{service-rpc => thrift}/src/main/thrift/rpc.thrift | 75 +-
.../src/main/thrift/sync.thrift | 0
{service-rpc => thrift}/src/pypi/README.md | 6 +-
{service-rpc => thrift}/src/pypi/setup.py | 2 +-
tools/common.sh | 8 +-
tools/download_staged_release.sh | 8 +-
tsfile/pom.xml | 16 +-
.../tsfile/common/constant/TsFileConstant.java | 5 +-
.../apache/iotdb/tsfile/compress/ICompressor.java | 47 +-
.../iotdb/tsfile/compress/IUnCompressor.java | 106 +-
.../iotdb/tsfile/encoding/encoder/RleEncoder.java | 1 +
.../iotdb/tsfile/file/header/ChunkHeader.java | 32 +-
.../iotdb/tsfile/file/metadata/ChunkMetadata.java | 58 +-
.../file/metadata/MetadataIndexConstructor.java | 1 +
.../file/metadata/enums/CompressionType.java | 80 +-
.../tsfile/file/metadata/enums/TSDataType.java | 41 +-
.../tsfile/file/metadata/enums/TSEncoding.java | 41 +-
.../file/metadata/statistics/Statistics.java | 5 +
.../fileOutputFactory/HDFSOutputFactory.java | 3 +-
.../tsfile/fileSystem/fsFactory/HDFSFactory.java | 12 +-
.../iotdb/tsfile/read/TsFileCheckStatus.java | 1 -
.../iotdb/tsfile/read/TsFileSequenceReader.java | 136 +-
.../apache/iotdb/tsfile/read/common/BatchData.java | 53 +-
.../iotdb/tsfile/read/common/BatchDataFactory.java | 23 +-
.../org/apache/iotdb/tsfile/read/common/Chunk.java | 26 +-
.../iotdb/tsfile/read/common/DescBatchData.java | 66 +
.../org/apache/iotdb/tsfile/read/common/Path.java | 206 +--
.../iotdb/tsfile/read/common/TimeColumn.java | 111 --
.../apache/iotdb/tsfile/read/common/TimeRange.java | 62 +-
.../read/controller/CachedChunkLoaderImpl.java | 2 +-
.../read/controller/MetadataQuerierByFileImpl.java | 2 +
.../iotdb/tsfile/read/filter/TimeFilter.java | 2 +-
.../query/dataset/DataSetWithoutTimeGenerator.java | 1 +
.../tsfile/read/query/dataset/QueryDataSet.java | 8 +
.../read/query/timegenerator/TimeGenerator.java | 6 +-
.../query/timegenerator/TsFileTimeGenerator.java | 5 +
.../read/query/timegenerator/node/AndNode.java | 58 +-
.../read/query/timegenerator/node/LeafNode.java | 1 -
.../read/query/timegenerator/node/OrNode.java | 38 +-
.../iotdb/tsfile/read/reader/IPageReader.java | 7 +-
.../tsfile/read/reader/chunk/ChunkReader.java | 29 +-
.../read/reader/chunk/ChunkReaderByTimestamp.java | 4 +-
.../iotdb/tsfile/read/reader/page/PageReader.java | 49 +-
.../reader/series/FileSeriesReaderByTimestamp.java | 2 +
.../org/apache/iotdb/tsfile/utils/BytesUtils.java | 21 +-
.../iotdb/tsfile/utils/RamUsageEstimator.java | 1 +
.../iotdb/tsfile/utils/ReadWriteIOUtils.java | 12 +-
.../tsfile/v1/file/metadata/ChunkMetadataV1.java | 11 +-
.../tsfile/v1/read/TsFileSequenceReaderForV1.java | 2 +-
.../iotdb/tsfile/write/chunk/ChunkWriterImpl.java | 1 +
.../iotdb/tsfile/write/chunk/IChunkWriter.java | 6 +
.../apache/iotdb/tsfile/write/record/Tablet.java | 62 +-
.../tsfile/write/schema/MeasurementSchema.java | 77 +-
...easurementSchema.java => TimeseriesSchema.java} | 108 +-
.../write/writer/ForceAppendTsFileWriter.java | 3 +-
.../tsfile/write/writer/LocalTsFileOutput.java | 4 +-
.../write/writer/RestorableTsFileIOWriter.java | 42 +-
.../iotdb/tsfile/write/writer/TsFileIOWriter.java | 20 +-
.../iotdb/tsfile/write/writer/TsFileOutput.java | 4 +-
.../apache/iotdb/tsfile/compress/CompressTest.java | 32 +-
.../compress/{SnappyTest.java => LZ4Test.java} | 41 +-
.../apache/iotdb/tsfile/compress/SnappyTest.java | 21 +-
.../tsfile/encoding/decoder/BitmapDecoderTest.java | 1 -
.../iotdb/tsfile/read/GetAllDevicesTest.java | 90 +
.../iotdb/tsfile/read/ReadInPartitionTest.java | 22 +-
.../iotdb/tsfile/read/ReadOnlyTsFileTest.java | 20 +-
.../org/apache/iotdb/tsfile/read/ReadTest.java | 59 +-
.../iotdb/tsfile/read/TimePlainEncodeReadTest.java | 71 +-
.../tsfile/read/TsFileSequenceReaderTest.java | 1 -
.../apache/iotdb/tsfile/read/common/PathTest.java | 80 +-
.../iotdb/tsfile/read/common/TimeRangeTest.java | 70 +
.../tsfile/read/controller/ChunkLoaderTest.java | 2 +-
.../controller/IMetadataQuerierByFileImplTest.java | 16 +-
.../read/filter/IExpressionOptimizerTest.java | 30 +-
.../read/query/executor/QueryExecutorTest.java | 20 +-
.../tsfile/read/query/timegenerator/NodeTest.java | 2 -
.../read/query/timegenerator/ReadWriteTest.java | 8 +-
.../query/timegenerator/ReaderByTimestampTest.java | 2 +-
.../timegenerator/TimeGeneratorReadEmptyTest.java | 8 +-
.../timegenerator/TimeGeneratorReadWriteTest.java | 8 +-
.../query/timegenerator/TimeGeneratorTest.java | 6 +-
.../TsFileGeneratorForSeriesReaderByTimestamp.java | 22 +-
.../tsfile/read/reader/FakedTimeGenerator.java | 12 +-
.../iotdb/tsfile/read/reader/PageReaderTest.java | 55 +
.../iotdb/tsfile/read/reader/ReaderTest.java | 14 +-
.../apache/iotdb/tsfile/utils/FileGenerator.java | 101 +-
.../apache/iotdb/tsfile/utils/RecordUtilsTest.java | 12 +-
.../iotdb/tsfile/utils/StringContainerTest.java | 5 +-
.../iotdb/tsfile/utils/TsFileGeneratorForTest.java | 109 +-
.../org/apache/iotdb/tsfile/write/PerfTest.java | 91 +-
.../iotdb/tsfile/write/ReadPageInMemTest.java | 16 +-
...SameMeasurementsWithDifferentDataTypesTest.java | 4 +-
.../iotdb/tsfile/write/TsFileReadWriteTest.java | 4 +-
.../iotdb/tsfile/write/TsFileWriterTest.java | 18 +-
.../org/apache/iotdb/tsfile/write/WriteTest.java | 51 +-
.../write/schema/converter/SchemaBuilderTest.java | 6 +-
.../write/writer/ForceAppendTsFileWriterTest.java | 8 +-
.../writer/MeasurementSchemaSerializeTest.java | 55 +
.../write/writer/RestorableTsFileIOWriterTest.java | 102 +-
761 files changed, 30231 insertions(+), 18502 deletions(-)
delete mode 100644 DISCLAIMER
copy {example/mqtt => antlr}/pom.xml (64%)
rename {server =>
antlr}/src/main/antlr4/org/apache/iotdb/db/qp/strategy/SqlBase.g4 (68%)
copy docs/zh/SystemDesign/StorageEngine/WAL.md => client-cpp/README.md (77%)
create mode 100644 client-cpp/client-cpp-example/pom.xml
copy server/src/assembly/resources/sbin/stop-server.sh =>
client-cpp/client-cpp-example/src/CMakeLists.txt (70%)
mode change 100755 => 100644
create mode 100644 client-cpp/client-cpp-example/src/SessionExample.cpp
create mode 100644 client-cpp/pom.xml
create mode 100644 client-cpp/src/assembly/client-cpp.xml
create mode 100644 client-cpp/src/main/CMakeLists.txt
create mode 100644 client-cpp/src/main/IOTDBSession.cpp
create mode 100644 client-cpp/src/main/IOTDBSession.h
create mode 100644 client-cpp/src/test/CMakeLists.txt
create mode 100644 client-cpp/src/test/cpp/sessionIT.cpp
copy
tsfile/src/main/java/org/apache/iotdb/tsfile/file/metadata/ChunkGroupMetadata.java
=> client-cpp/src/test/main.cpp (56%)
create mode 100644 client-py/src/Session.py
create mode 100644 client-py/src/SessionExample.py
delete mode 100755 client-py/src/client_example.py
create mode 100644 client-py/src/utils/Field.py
copy server/src/assembly/resources/sbin/stop-server.sh =>
client-py/src/utils/IoTDBConstants.py (64%)
mode change 100755 => 100644
create mode 100644 client-py/src/utils/IoTDBRpcDataSet.py
create mode 100644 client-py/src/utils/RowRecord.py
create mode 100644 client-py/src/utils/SessionDataSet.py
create mode 100644 client-py/src/utils/Tablet.py
copy
server/src/main/resources/META-INF/services/org.apache.iotdb.db.mqtt.PayloadFormatter
=> client-py/src/utils/__init__.py (94%)
create mode 100644 compile-tools/README.md
create mode 100644 compile-tools/boost/pom.xml
copy site/src/main/deploy.js => compile-tools/boost/src/assembly/bundle.xml
(58%)
create mode 100644 compile-tools/pom.xml
create mode 100644 compile-tools/thrift/pom.xml
copy site/src/main/deploy.js => compile-tools/thrift/src/assembly/compiler.xml
(53%)
create mode 100644 compile-tools/thrift/src/assembly/cpp.xml
copy site/src/main/deploy.js => compile-tools/thrift/src/assembly/python.xml
(53%)
copy {session => cross-tests}/pom.xml (50%)
copy {cli/src/test/java/org/apache/iotdb/cli =>
cross-tests/src/test/java/org/apache/iotdb/cross/tests/tools/importCsv}/AbstractScript.java
(74%)
create mode 100644
cross-tests/src/test/java/org/apache/iotdb/cross/tests/tools/importCsv/ImportCsvTestIT.java
copy {server => cross-tests}/src/test/resources/iotdb-engine.properties (100%)
copy docker/src/main/{Dockerfile-0.10.0 => Dockerfile-0.10.1} (79%)
create mode 100644 docs/SystemDesign/StorageEngine/Recover.md
create mode 100644 docs/UserGuide/Comparison/TSDB-Comparison.md
delete mode 100644 docs/UserGuide/System Tools/Log Visualizer.md
create mode 100644 docs/UserGuide/System Tools/Performance Tracing Tool.md
create mode 100644 docs/zh/SystemDesign/DataQuery/OrderByTimeQuery.md
create mode 100644 docs/zh/SystemDesign/StorageEngine/FileLists.md
create mode 100644 docs/zh/SystemDesign/StorageEngine/Recover.md
create mode 100644 docs/zh/SystemDesign/StorageEngine/TsFileManagement.md
delete mode 100644 docs/zh/UserGuide/System Tools/Log Visualizer.md
create mode 100644 docs/zh/UserGuide/System Tools/Performance Tracing Tool.md
create mode 100644
example/session/src/main/java/org/apache/iotdb/DataMigrationExample.java
delete mode 100644 licenses/EDL License 1.0
delete mode 100644
server/src/assembly/resources/tools/logVisualize/config.properties
delete mode 100644
server/src/assembly/resources/tools/logVisualize/default.log.pattern
delete mode 100644
server/src/assembly/resources/tools/logVisualize/log-visualizer-cmd.bat
delete mode 100644
server/src/assembly/resources/tools/logVisualize/log-visualizer-cmd.sh
delete mode 100644
server/src/assembly/resources/tools/logVisualize/log-visualizer-gui.bat
delete mode 100644
server/src/assembly/resources/tools/logVisualize/log-visualizer-gui.sh
delete mode 100644
server/src/assembly/resources/tools/logVisualize/plans/closeMetadataConsumption.plan
delete mode 100644
server/src/assembly/resources/tools/logVisualize/plans/compressionRatio.plan
delete mode 100644
server/src/assembly/resources/tools/logVisualize/plans/dynamicParameters.plan
delete mode 100644
server/src/assembly/resources/tools/logVisualize/plans/flushSubmits.plan
delete mode 100644
server/src/assembly/resources/tools/logVisualize/plans/flushTimeConsumption.plan.example
delete mode 100644
server/src/assembly/resources/tools/logVisualize/plans/memTableWait.plan
delete mode 100644
server/src/assembly/resources/tools/logVisualize/plans/mergeFileNum.plan
delete mode 100644
server/src/assembly/resources/tools/logVisualize/plans/mergeRate.plan
delete mode 100644
server/src/assembly/resources/tools/logVisualize/plans/mergeSeriesProgress.plan
create mode 100644
server/src/main/java/org/apache/iotdb/db/engine/tsfilemanagement/HotCompactionMergeTaskPoolManager.java
create mode 100644
server/src/main/java/org/apache/iotdb/db/engine/tsfilemanagement/TsFileManagement.java
copy server/src/main/java/org/apache/iotdb/db/{service/IoTDBShutdownHook.java
=> engine/tsfilemanagement/TsFileManagementStrategy.java} (56%)
create mode 100644
server/src/main/java/org/apache/iotdb/db/engine/tsfilemanagement/level/LevelTsFileManagement.java
create mode 100644
server/src/main/java/org/apache/iotdb/db/engine/tsfilemanagement/normal/NormalTsFileManagement.java
create mode 100644
server/src/main/java/org/apache/iotdb/db/engine/tsfilemanagement/utils/HotCompactionLogAnalyzer.java
create mode 100644
server/src/main/java/org/apache/iotdb/db/engine/tsfilemanagement/utils/HotCompactionLogger.java
create mode 100644
server/src/main/java/org/apache/iotdb/db/engine/tsfilemanagement/utils/HotCompactionUtils.java
delete mode 100644
server/src/main/java/org/apache/iotdb/db/exception/query/PathException.java
create mode 100644
server/src/main/java/org/apache/iotdb/db/metadata/MeasurementMeta.java
create mode 100755
server/src/main/java/org/apache/iotdb/db/metadata/PartialPath.java
copy
server/src/main/java/org/apache/iotdb/db/qp/logical/sys/{FlushOperator.java =>
DeletePartitionOperator.java} (59%)
copy
server/src/main/java/org/apache/iotdb/db/qp/logical/sys/{ShowChildPathsOperator.java
=> ShowStorageGroupOperator.java} (77%)
copy server/src/main/java/org/apache/iotdb/db/qp/physical/{sys/FlushPlan.java
=> crud/DeletePartitionPlan.java} (59%)
copy
server/src/main/java/org/apache/iotdb/db/qp/physical/crud/{InsertPlan.java =>
InsertRowPlan.java} (63%)
copy
server/src/main/java/org/apache/iotdb/db/qp/physical/sys/{ShowDevicesPlan.java
=> ShowStorageGroupPlan.java} (76%)
create mode 100644
server/src/main/java/org/apache/iotdb/db/query/dataset/ShowTimeseriesDataSet.java
create mode 100644
server/src/main/java/org/apache/iotdb/db/query/reader/series/DescSeriesReaderByTimestamp.java
copy
server/src/main/java/org/apache/iotdb/db/query/{externalsort/ExternalSortJob.java
=> reader/universal/DescPriorityMergeReader.java} (51%)
copy
server/src/main/java/org/apache/iotdb/db/rescon/{TVListAllocatorMBean.java =>
CachedStringPool.java} (62%)
create mode 100644
server/src/main/java/org/apache/iotdb/db/service/thrift/ThriftService.java
create mode 100644
server/src/main/java/org/apache/iotdb/db/service/thrift/ThriftServiceThread.java
copy server/src/main/java/org/apache/iotdb/db/{service/RPCServiceMBean.java =>
sync/receiver/SyncServerManagerMBean.java} (92%)
delete mode 100644
server/src/main/java/org/apache/iotdb/db/tools/logvisual/LogEntry.java
delete mode 100644
server/src/main/java/org/apache/iotdb/db/tools/logvisual/LogFilter.java
delete mode 100644
server/src/main/java/org/apache/iotdb/db/tools/logvisual/LogParser.java
delete mode 100644
server/src/main/java/org/apache/iotdb/db/tools/logvisual/LogVisualizer.java
delete mode 100644
server/src/main/java/org/apache/iotdb/db/tools/logvisual/PatternLogParser.java
delete mode 100644
server/src/main/java/org/apache/iotdb/db/tools/logvisual/TimeSeriesStatistics.java
delete mode 100644
server/src/main/java/org/apache/iotdb/db/tools/logvisual/VisualUtils.java
delete mode 100644
server/src/main/java/org/apache/iotdb/db/tools/logvisual/VisualizationPlan.java
delete mode 100644
server/src/main/java/org/apache/iotdb/db/tools/logvisual/conf/GuiPropertyKeys.java
delete mode 100644
server/src/main/java/org/apache/iotdb/db/tools/logvisual/exceptions/NoLogFileLoadedException.java
delete mode 100644
server/src/main/java/org/apache/iotdb/db/tools/logvisual/exceptions/NoSuchPlanException.java
delete mode 100644
server/src/main/java/org/apache/iotdb/db/tools/logvisual/exceptions/UnmatchedContentException.java
delete mode 100644
server/src/main/java/org/apache/iotdb/db/tools/logvisual/exceptions/VisualizationException.java
delete mode 100644
server/src/main/java/org/apache/iotdb/db/tools/logvisual/gui/ClosableComboTab.java
delete mode 100644
server/src/main/java/org/apache/iotdb/db/tools/logvisual/gui/ClosableTab.java
delete mode 100644
server/src/main/java/org/apache/iotdb/db/tools/logvisual/gui/FileSelectionBox.java
delete mode 100644
server/src/main/java/org/apache/iotdb/db/tools/logvisual/gui/LabeledComboBox.java
delete mode 100644
server/src/main/java/org/apache/iotdb/db/tools/logvisual/gui/LoadLogBox.java
delete mode 100644
server/src/main/java/org/apache/iotdb/db/tools/logvisual/gui/LogVisualizationGui.java
delete mode 100644
server/src/main/java/org/apache/iotdb/db/tools/logvisual/gui/MainPanel.java
delete mode 100644
server/src/main/java/org/apache/iotdb/db/tools/logvisual/gui/PlanBox.java
delete mode 100644
server/src/main/java/org/apache/iotdb/db/tools/logvisual/gui/PlanDetailPanel.java
delete mode 100644
server/src/main/java/org/apache/iotdb/db/tools/logvisual/gui/ResultPlotTab.java
delete mode 100644
server/src/main/java/org/apache/iotdb/db/tools/logvisual/gui/ResultStatisticTab.java
create mode 100644
server/src/test/java/org/apache/iotdb/db/conf/IoTDBDescriptorTest.java
create mode 100644
server/src/test/java/org/apache/iotdb/db/integration/IOTDBInsertIT.java
create mode 100644
server/src/test/java/org/apache/iotdb/db/integration/IoTDBAsIT.java
create mode 100644
server/src/test/java/org/apache/iotdb/db/integration/IoTDBDeleteTimeseriesIT.java
create mode 100644
server/src/test/java/org/apache/iotdb/db/integration/IoTDBRemovePartitionIT.java
create mode 100644
server/src/test/java/org/apache/iotdb/db/integration/IoTDBResultSetIT.java
create mode 100644
server/src/test/java/org/apache/iotdb/db/metadata/MetaUtilsTest.java
create mode 100644
server/src/test/java/org/apache/iotdb/db/metadata/PartialPathTest.java
create mode 100644
server/src/test/java/org/apache/iotdb/db/qp/plan/SerializationTest.java
create mode 100644
server/src/test/java/org/apache/iotdb/db/query/dataset/GroupByFillDataSetTest.java
create mode 100644
session/src/test/java/org/apache/iotdb/session/IoTDBSessionComplexIT.java
delete mode 100644
session/src/test/java/org/apache/iotdb/session/IoTDBSessionIT.java
create mode 100644
session/src/test/java/org/apache/iotdb/session/IoTDBSessionSimpleIT.java
create mode 100644 site/iotdb-doap.rdf
copy {service-rpc => thrift}/pom.xml (77%)
rename {service-rpc => thrift}/rpc-changelist.md (94%)
rename {service-rpc => thrift}/src/main/thrift/cluster.thrift (93%)
rename {service-rpc => thrift}/src/main/thrift/rpc.thrift (88%)
rename {service-rpc => thrift}/src/main/thrift/sync.thrift (100%)
rename {service-rpc => thrift}/src/pypi/README.md (94%)
rename {service-rpc => thrift}/src/pypi/setup.py (97%)
copy
server/src/main/java/org/apache/iotdb/db/exception/query/UnSupportedFillTypeException.java
=>
tsfile/src/main/java/org/apache/iotdb/tsfile/read/common/BatchDataFactory.java
(65%)
create mode 100644
tsfile/src/main/java/org/apache/iotdb/tsfile/read/common/DescBatchData.java
delete mode 100644
tsfile/src/main/java/org/apache/iotdb/tsfile/read/common/TimeColumn.java
copy
tsfile/src/main/java/org/apache/iotdb/tsfile/write/schema/{MeasurementSchema.java
=> TimeseriesSchema.java} (65%)
copy tsfile/src/test/java/org/apache/iotdb/tsfile/compress/{SnappyTest.java =>
LZ4Test.java} (58%)
create mode 100644
tsfile/src/test/java/org/apache/iotdb/tsfile/read/GetAllDevicesTest.java
create mode 100644
tsfile/src/test/java/org/apache/iotdb/tsfile/write/writer/MeasurementSchemaSerializeTest.java