You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2020/08/07 09:01:57 UTC

[GitHub] [druid] BigRantLing edited a comment on issue #6548: Non-English charset support for Druid Jdbc.

BigRantLing edited a comment on issue #6548:
URL: https://github.com/apache/druid/issues/6548#issuecomment-670413330


   Before you execute the sql, you can recode it to `iso88591`,like below:
   ``` java
           String sql = "select cache_group, count(1) from table where cache_group = '北京NEW' group by cache_group";
           String recodeSql = new String(sql.getBytes(), Charsets.ISO_8859_1);
           ResultSet result = statement.executeQuery(recodeSql);
   ```
   I think this will solve your problem@fanwu72 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org