Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AsciiTable formats integers in neo4j driver format incorrectly #28

Open
moxious opened this issue Sep 13, 2018 · 0 comments
Open

AsciiTable formats integers in neo4j driver format incorrectly #28

moxious opened this issue Sep 13, 2018 · 0 comments

Comments

@moxious
Copy link

moxious commented Sep 13, 2018

Example query:

    call dbms.queryJmx('java.lang:type=Memory') yield attributes 
    with attributes.HeapMemoryUsage as heap 
    with heap.value.properties as heapProps 
    return heapProps.init as init, heapProps.used as used, heapProps.max as max;

Putting this into ASCIITable yields the wrong result. It should probably call neo4j.int() on those nested types. This is an oddity of the JS driver, because numeric coverage in JS doesn't match longs in java.

╒════════════════════════════╤══════════════════════════╤══════════════════╕
│"init"                      │"used"                    │"max"             │
╞════════════════════════════╪══════════════════════════╪══════════════════╡
│{"low":-2147483648,"high":0}│{"low":212860936,"high":0}│{"low":0,"high":1}│
└────────────────────────────┴──────────────────────────┴──────────────────┘
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant