Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions jdbc/src/java/org/apache/hive/jdbc/JdbcColumn.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

package org.apache.hive.jdbc;

import java.math.BigInteger;
import java.math.BigDecimal;
import java.sql.Date;
import java.sql.SQLException;
import java.sql.Timestamp;
Expand Down Expand Up @@ -97,7 +97,7 @@ static String columnClassName(Type hiveType, JdbcColumnAttributes columnAttribut
case Types.TIMESTAMP_WITH_TIMEZONE:
return TimestampTZ.class.getName();
case Types.DECIMAL:
return BigInteger.class.getName();
return BigDecimal.class.getName();
case Types.BINARY:
return byte[].class.getName();
case Types.OTHER:
Expand Down
Loading