[IOTDB-3073][IOTDB-3095] Unescape identifier and Use antlr to parse PartialPath/Path...
authorLiao Lanyu <48237151+Plutooooooo@users.noreply.github.com>
Tue, 17 May 2022 15:48:09 +0000 (23:48 +0800)
committerGitHub <noreply@github.com>
Tue, 17 May 2022 15:48:09 +0000 (23:48 +0800)
commitf4e458178ce09b2b3f3894ecde4887dcd52efb6f
tree1b294e3b4fcd71882d1a964f03ccdbbe5327f734
parentb8cd0c2cc09912e5e12bd783503a428f7987b044
[IOTDB-3073][IOTDB-3095] Unescape identifier and Use antlr to parse PartialPath/Path (#5848)
66 files changed:
antlr/pom.xml
antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/IdentifierParser.g4 [new file with mode: 0644]
antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/InfluxDBSqlParser.g4
antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/IoTDBSqlParser.g4
antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/PathParser.g4 [new file with mode: 0644]
antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/SqlLexer.g4
client-py/tests/test_dataframe.py
cluster/src/test/java/org/apache/iotdb/cluster/client/sync/SyncClientAdaptorTest.java
confignode/src/test/java/org/apache/iotdb/confignode/persistence/ClusterSchemaInfoTest.java
integration/src/test/java/org/apache/iotdb/db/integration/IoTDBContinuousQueryIT.java
integration/src/test/java/org/apache/iotdb/db/integration/IoTDBCreateTimeseriesIT.java
integration/src/test/java/org/apache/iotdb/db/integration/IoTDBQuotedPathIT.java
integration/src/test/java/org/apache/iotdb/db/integration/IoTDBSelectIntoIT.java
integration/src/test/java/org/apache/iotdb/db/integration/IoTDBSimpleQueryIT.java
integration/src/test/java/org/apache/iotdb/db/integration/IoTDBSyntaxConventionIdentifierIT.java
integration/src/test/java/org/apache/iotdb/db/integration/withoutNullFilter/IoTDBWithoutNullAnyFilterIT.java
integration/src/test/java/org/apache/iotdb/session/IoTDBSessionComplexIT.java
integration/src/test/java/org/apache/iotdb/session/IoTDBSessionSimpleIT.java
integration/src/test/java/org/apache/iotdb/session/IoTDBSessionSyntaxConventionIT.java
integration/src/test/java/org/apache/iotdb/session/SessionTest.java
integration/src/test/java/org/apache/iotdb/session/template/TemplateUT.java
node-commons/pom.xml
node-commons/src/main/java/org/apache/iotdb/commons/path/PartialPath.java
node-commons/src/main/java/org/apache/iotdb/commons/utils/PathUtils.java
node-commons/src/test/java/org/apache/iotdb/commons/path/PartialPathTest.java
node-commons/src/test/java/org/apache/iotdb/commons/utils/PathUtilsTest.java [deleted file]
schema-engine-rocksdb/src/main/java/org/apache/iotdb/db/metadata/schemaregion/rocksdb/RSchemaRegion.java
schema-engine-rocksdb/src/main/java/org/apache/iotdb/db/metadata/schemaregion/rocksdb/RSchemaUtils.java
server/pom.xml
server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
server/src/main/java/org/apache/iotdb/db/engine/cq/ContinuousQueryTask.java
server/src/main/java/org/apache/iotdb/db/metadata/idtable/IDTableHashmapImpl.java
server/src/main/java/org/apache/iotdb/db/metadata/idtable/entry/SHA256DeviceID.java
server/src/main/java/org/apache/iotdb/db/metadata/mtree/MTreeBelowSGCachedImpl.java
server/src/main/java/org/apache/iotdb/db/metadata/mtree/MTreeBelowSGMemoryImpl.java
server/src/main/java/org/apache/iotdb/db/metadata/mtree/store/disk/schemafile/SchemaFile.java
server/src/main/java/org/apache/iotdb/db/metadata/path/AlignedPath.java
server/src/main/java/org/apache/iotdb/db/metadata/template/Template.java
server/src/main/java/org/apache/iotdb/db/mpp/plan/parser/ASTVisitor.java
server/src/main/java/org/apache/iotdb/db/mpp/plan/parser/StatementGenerator.java
server/src/main/java/org/apache/iotdb/db/qp/physical/sys/SetTemplatePlan.java
server/src/main/java/org/apache/iotdb/db/qp/physical/sys/UnsetTemplatePlan.java
server/src/main/java/org/apache/iotdb/db/qp/sql/IoTDBSqlVisitor.java
server/src/main/java/org/apache/iotdb/db/qp/strategy/LogicalGenerator.java
server/src/main/java/org/apache/iotdb/db/qp/strategy/optimizer/ConcatPathOptimizer.java
server/src/main/java/org/apache/iotdb/db/query/dataset/groupby/GroupByLevelDataSet.java
server/src/test/java/org/apache/iotdb/db/engine/compaction/CompactionSchedulerTest.java
server/src/test/java/org/apache/iotdb/db/metadata/MetaUtilsTest.java
server/src/test/java/org/apache/iotdb/db/metadata/PartialPathTest.java [deleted file]
server/src/test/java/org/apache/iotdb/db/metadata/SchemaBasicTest.java
server/src/test/java/org/apache/iotdb/db/metadata/mtree/MTreeAboveSGTest.java
server/src/test/java/org/apache/iotdb/db/metadata/mtree/schemafile/SchemaFileTest.java
server/src/test/java/org/apache/iotdb/db/metadata/upgrade/MetadataUpgradeTest.java
server/src/test/java/org/apache/iotdb/db/mpp/plan/plan/node/metadata/read/DeviceSchemaScanNodeSerdeTest.java
server/src/test/java/org/apache/iotdb/db/mpp/plan/plan/node/metadata/read/SchemaCountNodeSerdeTest.java
server/src/test/java/org/apache/iotdb/db/mpp/plan/plan/node/metadata/read/TimeSeriesSchemaScanNodeSerdeTest.java
server/src/test/java/org/apache/iotdb/db/mpp/plan/plan/node/sink/FragmentSinkNodeSerdeTest.java
server/src/test/java/org/apache/iotdb/db/qp/physical/PhysicalPlanSerializeTest.java
tsfile/pom.xml
tsfile/src/main/java/org/apache/iotdb/tsfile/common/constant/TsFileConstant.java
tsfile/src/main/java/org/apache/iotdb/tsfile/exception/PathParseException.java [new file with mode: 0644]
tsfile/src/main/java/org/apache/iotdb/tsfile/read/common/Path.java
tsfile/src/main/java/org/apache/iotdb/tsfile/read/common/parser/PathNodesGenerator.java [new file with mode: 0644]
tsfile/src/main/java/org/apache/iotdb/tsfile/read/common/parser/PathParseError.java [new file with mode: 0644]
tsfile/src/main/java/org/apache/iotdb/tsfile/read/common/parser/PathVisitor.java [new file with mode: 0644]
tsfile/src/test/java/org/apache/iotdb/tsfile/read/common/PathTest.java