Uploaded image for project: 'Livy'
  1. Livy
  2. LIVY-579

Python 2 unicode support does not work if OS encoding is not UTF-8

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.6
    • Fix Version/s: None
    • Component/s: Interpreter
    • Labels:
      None

      Description

      LC_ALL=en_US.ASCII mvn -Pspark-2.4 -Pthriftserver test -pl :livy-repl_2.11 -Dsuites="*.Python2InterpreterSpec unicode" 
      ...
      [INFO] --- scalatest-maven-plugin:1.0:test (test) @ livy-repl_2.11 ---
      Discovery starting.
      Discovery completed in 627 milliseconds.
      Run starting. Expected test count is: 1
      Python2InterpreterSpec:
      - should print unicode correctly *** FAILED *** (1 second, 127 milliseconds)
        ExecuteSuccess(JObject(List((text/plain,JString(?))))) did not equal ExecuteSuccess(JObject(List((text/plain,JString(?))))) (PythonInterpreterSpec.scala:266)
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vanzin Marcelo Masiero Vanzin
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: