Skip to main content
Joseguebri
Silver ⭐️⭐️
Feb 10, 2025 11:28 PM UTC
Question

Problems with utf-8

Hello everyone.

 

I want to create a table to support ute-8 in an string column, however, I don´t know the value I have to pass when I create the table:

create table test(

id int,

message string ENCODING codec)

as kudu;

Which are all differents values I can use to codec parameter for utf-8

Thanks in advance.

4 replies

VidyaSargur
Community Manager
Community Manager
Feb 11, 2025 6:09 AM UTC

@Joseguebri Welcome to our community! To help you get the best possible answer, I have tagged our Kudu experts @ChrisGe  who may be able to assist you further.

Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.

Translate
Regards, Vidya Sargur Madabhushi| Senior Community Manager | Was your question answered? Make sure to mark the answer as the Best Answer. If you find a reply useful, say thanks by clicking on the thumbs up button.
Joseguebri
Silver ⭐️⭐️
Feb 11, 2025 2:37 PM UTC
Thank you very much.
Translate
ChrisGe
Gold ⭐️
Gold ⭐️
Feb 11, 2025 7:05 AM UTC

you can use "varchar" define your kudu table column, see below:

https://kudu.apache.org/docs/schema_design.html#varchar

Translate
Joseguebri
Silver ⭐️⭐️
Feb 11, 2025 3:43 PM UTC

Thank you very much.

Actually, I am tryin to insert values from a TIBCO EBX table to a cloudera´s table. The connection is via JDBC. I tried with varchar column and it failed too.

Thanks in advance.

Translate