[ 
https://issues.apache.org/jira/browse/NIFI-9377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17507864#comment-17507864
 ] 

Mathew Kapkiai commented on NIFI-9377:
--------------------------------------

Hi Pierre,

I suggest you proceed with adding documentation concerning this.

Got success too working with Arabic characters e.g. ሞልተዋል.

Used the same solution as Alexandr with success after taking time in calcite 
source code.

 

I added in bootstrap.conf line : 
java.arg.18=-Dcalcite.default.charset=utf-8

> NiFi QueryRecord Error:  org.apache.calcite.runtime.CalciteException: Failed 
> to encode '%Поиск%' in character set 'ISO-8859-1'
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-9377
>                 URL: https://issues.apache.org/jira/browse/NIFI-9377
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.12.0, 1.12.1, 1.14.0, 1.13.2, 1.15.0
>            Reporter: Alexandr Mikhaylov
>            Priority: Major
>         Attachments: image-2021-11-13-16-07-59-879.png
>
>
> QueryrRecord Processor not working when using non-ASCII characters in a 
> select phrase.
> Example use Russian Cyrillic symbols:
> JSON:
> [
> { "id":"test", "message":"Search Поиск" }
> ]
> QueryRecord Property Value:
> select * from flowfile where message like '%Поиск%'
> Error:
> NiFi org.apache.calcite.runtime.CalciteException: Failed to encode '%Поиск%' 
> in character set 'ISO-8859-1'
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to