Skip to content

Commit 77ec540

Browse files
committed
Merge branch 'main' into fix_http_compression
2 parents 6c27f41 + 98ab5cf commit 77ec540

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseDataType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public enum ClickHouseDataType implements SQLType {
130130
Dynamic(Object.class, true, true, false, 0, 0, 0, 0, 0, true, 0x2B),
131131
Time(LocalDateTime.class, true, false, false, 4, 9, 0, 0, 9, false, 0x32), // 0x33 for Time(Timezone)
132132
Time64(LocalDateTime.class, true, false, false, 8, 9, 0, 0, 0, false, 0x34), // 0x35 for Time64(P, Timezone)
133-
QBit(Double.class, true, false, false, 0, 0, 0, 0, 0, true, 0x36),
133+
QBit(Double.class, true, true, false, 0, 0, 0, 0, 0, true, 0x36),
134134
;
135135

136136
public static final List<ClickHouseDataType> ORDERED_BY_RANGE_INT_TYPES =

client-v2/src/test/java/com/clickhouse/client/datatypes/DataTypeTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ public void testVariantWithSimpleDataTypes() throws Exception {
171171

172172
switch (dataType) {
173173
case BFloat16:
174+
case QBit:
174175
// TODO: add support
175176
continue dataTypesLoop;
176177
// skipped
@@ -464,6 +465,7 @@ public void testDynamicWithPrimitives() throws Exception {
464465
for (ClickHouseDataType dataType : ClickHouseDataType.values()) {
465466
switch (dataType) {
466467
case BFloat16:
468+
case QBit:
467469
// TODO: add support
468470
continue;
469471
case Array:

0 commit comments

Comments
 (0)