You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Will Jones (Jira)" <ji...@apache.org> on 2021/12/14 22:21:00 UTC

[jira] [Created] (ARROW-15109) [Python] Add more info to show_versions()

Will Jones created ARROW-15109:
----------------------------------

             Summary: [Python] Add more info to show_versions()
                 Key: ARROW-15109
                 URL: https://issues.apache.org/jira/browse/ARROW-15109
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Python
    Affects Versions: 6.0.1
            Reporter: Will Jones


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:

{code}
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
{code}

Example Python output (current behavior):

{code}
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
{code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)