You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Danny Chen (Jira)" <ji...@apache.org> on 2020/02/20 05:27:00 UTC

[jira] [Commented] (CALCITE-2816) PsTableFunction fails in Russian locale

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

Danny Chen commented on CALCITE-2816:
-------------------------------------

Remove the fix version tag because there is even no PR yet.

> PsTableFunction fails in Russian locale
> ---------------------------------------
>
>                 Key: CALCITE-2816
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2816
>             Project: Calcite
>          Issue Type: Bug
>    Affects Versions: 1.18.0
>            Reporter: Vladimir Sitnikov
>            Priority: Major
>             Fix For: 1.22.0
>
>
> The issue is present for quite a long time.
> ps output is locale-dependent and parsing is not:
> {noformat}
> [ERROR] testPs(org.apache.calcite.adapter.os.OsAdapterTest) Time elapsed: 3.018 s <<< ERROR!
> java.lang.RuntimeException: exception while executing [select * from ps]
> at org.apache.calcite.adapter.os.OsAdapterTest.testPs(OsAdapterTest.java:155)
> Caused by: java.lang.RuntimeException: while parsing value [0,1] of field [pcpu] in line [ 0 1 1 0 Ss root 0,1 0,0 4367200 5420 ?? 18янв19 106:03.36 0 0 0 /sbin/launchd]
> at org.apache.calcite.adapter.os.OsAdapterTest.lambda$testPs$3(OsAdapterTest.java:157)
> at org.apache.calcite.adapter.os.OsAdapterTest.testPs(OsAdapterTest.java:155){noformat}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)