Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Commit 0e1ebd1

Browse files
committed
Merge remote-tracking branch 'ppanopticon/avatica-convert-value-fix' into pull-requests-from-ppanopticon
2 parents ed9e803 + e66afe1 commit 0e1ebd1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/src/main/java/org/apache/calcite/avatica/util/AbstractCursor.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1318,8 +1318,9 @@ private Object convertValue() throws SQLException {
13181318
return componentAccessor.getInt();
13191319
case Types.BIGINT:
13201320
return componentAccessor.getLong();
1321-
case Types.FLOAT:
1321+
case Types.REAL:
13221322
return componentAccessor.getFloat();
1323+
case Types.FLOAT:
13231324
case Types.DOUBLE:
13241325
return componentAccessor.getDouble();
13251326
case Types.ARRAY:

0 commit comments

Comments
 (0)