[
https://issues.apache.org/jira/browse/NIFI-9377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17445966#comment-17445966
]
Pierre Villard commented on NIFI-9377:
--------------------------------------
This is something I'm suggesting following some random searches in the Calcite
code. It seems to be only available through environment variables. If you can
confirm that's it's working for you in production, I'll be adding some
documentation to the processor to let users know about this.
> 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)