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)

Reply via email to