You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2022/10/19 09:00:00 UTC

[jira] [Commented] (HIVE-26650) Run qtests with different default encoding

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

Stamatis Zampetakis commented on HIVE-26650:
--------------------------------------------

Maybe instead of changing globally the default encoding with surefire we could configure it per-test by introducing a new qt option in a similar way that we do for the default timezone (introduced by HIVE-24074). 

{noformat}
--! qt:timezone:Asia/Singapore
{noformat}


> Run qtests with different default encoding
> ------------------------------------------
>
>                 Key: HIVE-26650
>                 URL: https://issues.apache.org/jira/browse/HIVE-26650
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: László Bodor
>            Priority: Major
>
> {code}
>          <groupId>org.apache.maven.plugins</groupId>
>          <artifactId>maven-surefire-plugin</artifactId>
>          <configuration>
> +          <argLine>-Dfile.encoding=US-ASCII</argLine>
> {code}
> and we expect the qtests (with special UTF8 chars) to produce the very same output ==> ensure that character encodings aren't messed up



--
This message was sent by Atlassian Jira
(v8.20.10#820010)