Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-3599

z.show() function does not render certain strings correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.8.0
    • None
    • front-end, Interpreters
    • None

    Description

      It seems that certain strings are not rendered properly by the z.show() function. Simple test case to recreate the issue. 

       

      %spark.pyspark
      columns = ['id', 'value', 'hash']
      vals = [
       (1, 2, '0xf24543ee178d7147c63d4e8de015bf92792df6f19a71'),
       (2, 0, 'test')
      ]
      df = sqlContext.createDataFrame(vals, columns)
      df.printSchema()
      root 
      |-- id: long (nullable = true) 
      |-- value: long (nullable = true) 
      |-- hash: string (nullable = true)
      

       

      And then the show function:

      %spark.pyspark
      z.show(df)
      

      Outputs: 

      Attachments

        1. image-2018-07-09-14-38-54-324.png
          6 kB
          Pari Lingampally
        2. image-2019-03-15-00-00-26-745.png
          15 kB
          Hayk Zargaryan

        Issue Links

          Activity

            People

              Unassigned Unassigned
              plingampally Pari Lingampally
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: