Skip to main content
eub
Bronze ⭐️⭐️⭐️
December 4, 2024
Question

When execute insert query with single-quoted utf8 (korean) word, it converts the word into CHAR in a wrong way on Cloudera JDBC Connector for Apache Impala

 

insert into temp.string_Test values ("아이오에우");
=> insert into temp.string_Test values ("아이오에우")

insert into temp.string_Test values ('아이오에우');
=> INSERT INTO `temp`.`string_Test` VALUES (CAST('아이오에우' AS CHAR(5)))

 

Like above, when I use single quotation with utf8 words, it casts the word into CHAR and the word is broken.

Could you fix this problem for impala jdbc connector?

 

eub_0-1733316336692.png

 

1 reply

DianaTorres
Community Manager
Community Manager
December 5, 2024

@eub Welcome to the Cloudera Community!

To help you get the best possible solution, I have tagged our Impala experts @jAnshula @Saurabhatiyal who may be able to assist you further.

Please keep us updated on your post, and we hope you find a satisfactory solution to your query.

Translate
Regards, Diana Torres, Senior Community Moderator