You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Vladimir Sitnikov (JIRA)" <ji...@apache.org> on 2019/02/02 09:04:00 UTC

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

Vladimir Sitnikov created CALCITE-2816:
------------------------------------------

             Summary: 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
            Assignee: Julian Hyde


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
(v7.6.3#76005)