Skip to content

Commit

Permalink
Fix ColumnFactory missing new data types (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
HTHou authored Oct 18, 2024
1 parent 75fec86 commit f8480cc
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,18 @@ public class ColumnFactory {
public static Column create(TSDataType dataType, int initialCapacity) {
switch (dataType) {
case INT64:
case TIMESTAMP:
return new LongColumn(initialCapacity);
case DOUBLE:
return new DoubleColumn(initialCapacity);
case FLOAT:
return new FloatColumn(initialCapacity);
case TEXT:
case STRING:
case BLOB:
return new BinaryColumn(initialCapacity);
case INT32:
case DATE:
return new IntColumn(initialCapacity);
case BOOLEAN:
return new BooleanColumn(initialCapacity);
Expand Down

0 comments on commit f8480cc

Please sign in to comment.