Skip to content

Conversation

@jt2594838
Copy link
Contributor

Use modifications as filters to remove deleted data during query processing.

jt2594838 and others added 26 commits January 20, 2019 10:30
# Conflicts:
#	iotdb/src/test/java/org/apache/iotdb/db/engine/bufferwrite/BufferWriteProcessorNewTest.java
#	iotdb/src/test/java/org/apache/iotdb/db/engine/bufferwrite/BufferWriteProcessorTest.java
# Conflicts:
#	iotdb/src/main/java/org/apache/iotdb/db/qp/strategy/PhysicalGenerator.java
#	iotdb/src/main/java/org/apache/iotdb/db/query/reader/sequence/SealedTsFilesReader.java
measurementSchema.getType(), measurementSchema.getEncodingType(), statistics, 0, 0, 0, 0);
writer.endChunk(0);
ChunkGroupFooter footer = new ChunkGroupFooter(deviceId, 0, 1);
writer.endChunkGroup(footer);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there exist any tests for TsFile?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, the changes to TsFile are minimal, and those changes are covered by tests in IoTDB.

**/
private long recordCountForNextMemCheck = 100;
private long chunkGroupSizeThreshold;
private long version = 0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can add some comments about the version.
Although there is no comments for recordCountForNextMemCheck and chunkGroupSizeThreshold.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added, though it is hard to explain a few words.

switch (dataType) {
case BOOLEAN:
pageData.putBoolean(valueDecoder.readBoolean(valueBuffer));
boolean aBoolean = valueDecoder.readBoolean(valueBuffer);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should take these examination type code (boolean, int32, int64, float, double, etc) into single methods.
Maybe we can do it after the fix_sonar pr.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah,I've seen that PR and I will leave this to later merge.

# Conflicts:
#	iotdb/src/main/java/org/apache/iotdb/db/engine/filenode/FileNodeProcessor.java
#	iotdb/src/main/java/org/apache/iotdb/db/engine/overflow/ioV2/OverflowResource.java
#	iotdb/src/main/java/org/apache/iotdb/db/engine/overflow/ioV2/OverflowSupport.java
jt2594838 and others added 11 commits January 24, 2019 22:23
# Conflicts:
#	tsfile/src/main/java/org/apache/iotdb/tsfile/read/reader/chunk/ChunkReaderWithFilter.java
#	tsfile/src/main/java/org/apache/iotdb/tsfile/read/reader/chunk/ChunkReaderWithoutFilter.java
#	tsfile/src/main/java/org/apache/iotdb/tsfile/read/reader/page/PageReader.java
fix some uts with incorrect answers
@jixuan1989 jixuan1989 closed this Feb 19, 2019
@jt2594838 jt2594838 deleted the delete_dev3 branch February 21, 2019 03:36
mzp0514 pushed a commit to mzp0514/iotdb that referenced this pull request Apr 26, 2021
# This is the 1st commit message:

Fix query one sensor in a vector from memtable (apache#3056)

Fix query one sensor in a vector from memtable
# This is the commit message apache#2:

[IOTDB-1310] Enable docker, docker-compose and testcontainer for End to end test (apache#3024)

* enable TestCongtainer for E2E test for (singleNode and cluster)

* remove duplicated operations in integration-test phase

* move spotless:apply to a profile `spotless`, which is enabled by default.

Co-authored-by: xiangdong huang <sainthxd@gmail.com>
# This is the commit message apache#3:

add sink interface

# This is the commit message apache#4:

3 new event sinks

# This is the commit message apache#5:

add ts sink

# This is the commit message apache#6:

add ts sink

# This is the commit message apache#7:

add mqtt sink

# This is the commit message apache#8:

refactor sink module

# This is the commit message apache#9:

init package sink.manager

# This is the commit message apache#10:

rename SinkException

# This is the commit message apache#11:

remove id in config

# This is the commit message apache#12:

fix doc

# This is the commit message apache#13:

add test framework

# This is the commit message apache#14:

add alertmanager sink & test & doc

# This is the commit message apache#15:

beautify the doc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants