Skip to content

[Bug] (JDBC) Error while querying JDBC catalog #31868

@DarvenDuan

Description

@DarvenDuan

Search before asking

  • I had searched in the issues and found no similar issues.

Version

master

What's Wrong?

Creating a JDBC catalog for querying mysql,and I got err msg bellow:
ERROR 1105 (HY000): errCode = 2, detailMessage = (11.91.162.209)[INTERNAL_ERROR]UdfRuntimeException: jdbc get block address: CAUSED BY: SQLException: Conversion not supported for type java.lang.Byte

mysql table:
CREATE TABLE mysql_test_tbl ( c_tinyint tinyint(4) DEFAULT NULL, c_smallint smallint(6) DEFAULT NULL, c_int int(11) DEFAULT NULL, c_bigint bigint(20) DEFAULT NULL, c_float float DEFAULT NULL, c_double double DEFAULT NULL, c_decimal decimal(10,0) DEFAULT NULL, c_char char(1) DEFAULT NULL, c_varchar varchar(64) DEFAULT NULL, c_text text, c_date date DEFAULT NULL, c_datetime datetime DEFAULT NULL, c_timestamp timestamp NULL DEFAULT NULL ) ENGINE=InnoDB

What You Expected?

query succeed

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions