[
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}
Another option to override saffron properties is to set them as system options.
This will take higher priority then saffron.properties file.
Add to {{drill-evn.sh}}:
{noformat}
DRILL_JAVA_OPTS="$DRILL_JAVA_OPTS -Dsaffron.default.charset=ISO-8859-1
-Dsaffron.default.nationalcharset=ISO-8859-1
-Dsaffron.default.collation.name=ISO-8859-1$en_US"
{noformat}
This information should be also documented, probably in
https://drill.apache.org/docs/data-type-conversion/.
was:
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/.
> 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}
> Another option to override saffron properties is to set them as system
> options. This will take higher priority then saffron.properties file.
> Add to {{drill-evn.sh}}:
> {noformat}
> DRILL_JAVA_OPTS="$DRILL_JAVA_OPTS -Dsaffron.default.charset=ISO-8859-1
> -Dsaffron.default.nationalcharset=ISO-8859-1
> -Dsaffron.default.collation.name=ISO-8859-1$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)