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

Joe Witt commented on NIFI-9377:
--------------------------------

We could possibly expose some processor property to allow the user to set this 
particular system property. The downside is that is a JVM wide impact so 
perhaps not a great idea to do.  I suppose setting it in nifi.properties is 
better

> 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