[ 
https://issues.apache.org/jira/browse/DRILL-5772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arina Ielchiieva updated DRILL-5772:
------------------------------------
    Description: 
Now saffron.propertries file will be added into Drill conf directory which will 
define default encoding used to parse query string.
Content:
{noformat}
saffron.default.charset=UTF-16LE
saffron.default.nationalcharset=UTF-16LE
saffron.default.collation.name=UTF-16LE$en_US 
{noformat}
This information should be also documented, probably in 
https://drill.apache.org/docs/data-type-conversion/.

  was:
Add unit test to indicated how utf-8 support can be enabled in Drill.
To select utf-8 data user needs to update system property 
{{saffron.default.charset}} to {{UTF-16LE}} before starting the drillbit. 
Calcite uses this property to get default charset, if it is not set then 
{{ISO-8859-1}} is used by default. Drill gets default charset from Calcite.

Enable 

This information should be also documented, probably in 
https://drill.apache.org/docs/data-type-conversion/.


> Enable UTF-8 support in query string by default
> -----------------------------------------------
>
>                 Key: DRILL-5772
>                 URL: https://issues.apache.org/jira/browse/DRILL-5772
>             Project: Apache Drill
>          Issue Type: Task
>    Affects Versions: 1.11.0
>            Reporter: Arina Ielchiieva
>            Assignee: Arina Ielchiieva
>              Labels: doc-impacting, ready-to-commit
>             Fix For: 1.12.0
>
>
> Now saffron.propertries file will be added into Drill conf directory which 
> will define default encoding used to parse query string.
> Content:
> {noformat}
> saffron.default.charset=UTF-16LE
> saffron.default.nationalcharset=UTF-16LE
> saffron.default.collation.name=UTF-16LE$en_US 
> {noformat}
> This information should be also documented, probably in 
> https://drill.apache.org/docs/data-type-conversion/.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to