You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Community, federated query cannot query binary type data, none of the following types can be queried.
BIT
BINARY
VARBINARY
BLOB
LONGBLOB
MEDIUMBLOB
Which version of ShardingSphere did you use?
master
mysql: 8.0
Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-JDBC and ShardingSphere-Proxy
Expected behavior
Actual behavior
ERROR 30000 (HY000): Unknown exception.
More details: class [B cannot be cast to class [Ljava.lang.Object; ([B and [Ljava.lang.Object; are in module java.base of loader 'bootstrap')
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
create table t_product_extend
(
extend_id int not null
primary key,
product_id int not null,
type_int int not null,
type_smallint smallint not null,
type_decimal decimal not null,
type_float float not null,
type_double double not null,
type_bit bit(64) not null,
type_tinyint tinyint not null,
type_mediumint mediumint not null,
type_bigint bigint not null,
type_date date not null,
type_time time not null,
type_datetime datetime not null,
type_timestamp timestamp not null,
type_year year not null,
type_char char not null,
type_text text not null,
type_varchar varchar(50) not null,
type_longtext longtext not null,
type_longblob longblob not null,
type_mediumtext mediumtext not null,
type_mediumblob mediumblob not null,
type_binary binary(255) not null,
type_varbinary varbinary(1024) not null,
type_blob blob not null,
type_enum enum ('spring', 'summer', 'autumn', 'winter') not null,
type_set set ('spring', 'summer', 'autumn', 'winter') not null,
type_json json not null,
type_unsigned_int int unsigned not null,
type_unsigned_bigint bigint unsigned not null,
type_unsigned_tinyint tinyint unsigned not null,
type_unsigned_smallint smallint unsigned not null,
type_unsigned_float float unsigned not null,
type_unsigned_double double unsigned not null,
type_unsigned_decimal decimal unsigned not null
);
select type_bit from t_product_extend;
select type_binary from t_product_extend;
select type_varbinary from t_product_extend;
select type_blob from t_product_extend;
select type_mediumblob from t_product_extend;
select type_longblob from t_product_extend;
The text was updated successfully, but these errors were encountered:
Hi Community, federated query cannot query binary type data, none of the following types can be queried.
Which version of ShardingSphere did you use?
master
mysql: 8.0
Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-JDBC and ShardingSphere-Proxy
Expected behavior
Actual behavior
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
The text was updated successfully, but these errors were encountered: