SilverNarcissus commented on a change in pull request #1524:
URL: https://github.com/apache/iotdb/pull/1524#discussion_r512456005



##########
File path: 
tsfile/src/main/java/org/apache/iotdb/tsfile/file/metadata/enums/TSDataType.java
##########
@@ -98,6 +99,23 @@ public short serialize() {
     return enumToByte();
   }
 
+  public int getDataTypeSize() {
+    switch (this) {
+      case BOOLEAN:
+        return 1;
+      case INT32:
+      case FLOAT:
+        // For text: return the size of reference here

Review comment:
       Yes, In 64-bit machine, it should return 8




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to