Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-15109

[Python] Add more info to show_versions()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.0.1
    • 7.0.0
    • Python

    Description

      In the R arrow package, we have a function arrow_info() which provides information on versions and optional components. Python has show_versions(), but it's not as detailed. We can add the following to the Python function:

      • List of optional components and whether they are enabled
      • Which allocator is used
      • SIMD level

      Example R output:

      Arrow package version: 6.0.1.9000
      
      Capabilities:
                     
      dataset    TRUE
      parquet    TRUE
      json       TRUE
      s3         TRUE
      utf8proc   TRUE
      re2        TRUE
      snappy     TRUE
      gzip       TRUE
      brotli     TRUE
      zstd       TRUE
      lz4        TRUE
      lz4_frame  TRUE
      lzo       FALSE
      bz2        TRUE
      jemalloc   TRUE
      mimalloc   TRUE
      
      Memory:
                        
      Allocator mimalloc
      Current    0 bytes
      Max        0 bytes
      
      Runtime:
                              
      SIMD Level          none
      Detected SIMD Level none
      
      Build:
                                                                   
      C++ Library Version                            7.0.0-SNAPSHOT
      C++ Compiler                                       AppleClang
      C++ Compiler Version                          13.0.0.13000029
      Git ID               cf8d81d9fcbc43ce57b8a0d36c05f8b4273a5fa3
      

      Example Python output (current behavior):

      pyarrow version info
      --------------------
      Package kind: not indicated
      Arrow C++ library version: 7.0.0-SNAPSHOT
      Arrow C++ compiler: AppleClang 13.0.0.13000029
      Arrow C++ compiler flags:  -Qunused-arguments -fcolor-diagnostics -ggdb -O0
      Arrow C++ git revision: d033ce769571a0f12e37ab165bc29d2b202b3a61
      Arrow C++ git description: apache-arrow-7.0.0.dev-313-gd033ce769
      

      Attachments

        Issue Links

          Activity

            People

              wjones127 Will Jones
              wjones127 Will Jones
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 50m
                  3h 50m