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

Nodes not printing properly after large output. #2992

Closed
Tracked by #3666
MSebanc opened this issue Mar 4, 2024 · 3 comments
Closed
Tracked by #3666

Nodes not printing properly after large output. #2992

MSebanc opened this issue Mar 4, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@MSebanc
Copy link
Collaborator

MSebanc commented Mar 4, 2024

When returning a node table with a node that is greater than 200,000 characters, the remaining nodes afterwards stop printing in the shell once they reach their properties.

match (a:test) return a;

{_ID: 0:0, _LABEL: test, name: hello}
*large node here*
{_ID: 0:2, _LABEL: test, name: 
{_ID: 0:3, _LABEL: test, name: 
{_ID: 0:4, _LABEL: test, name: 

Returning a.name instead prints everything as expected.

When exporting this table to a csv, one of the nodes that fails to print has another node as the property which may be related to the printing issue.

"{_ID: 0:2, _LABEL: test, name: {_ID: 0:0, _LABEL: test, name: hello}JASDghjlaSDLGHASDFghlaSFGLAFlgkfAGLHKFadsglhkdfGLDFSgkldfsaghkfasdgdf...

To recreate this bug, here is the cypher queries to set up the node table: test.txt

@MSebanc MSebanc added the bug Something isn't working label Mar 4, 2024
@ray6080 ray6080 assigned benjaminwinger and unassigned ray6080 Mar 5, 2024
@andyfengHKU
Copy link
Contributor

I thought we chunk string to 4K on current master. So this is expected? @ray6080

@andyfengHKU andyfengHKU mentioned this issue Jul 10, 2024
81 tasks
@acquamarin
Copy link
Collaborator

kuzu> match (a:test) return a;
-------------------------------------------------------------------------------------------------------------------------------------------------
| a                                                                                                                                             |
-------------------------------------------------------------------------------------------------------------------------------------------------
| {_ID: 0:0, _LABEL: test, name: hello}                                                                                                         |
-------------------------------------------------------------------------------------------------------------------------------------------------
| {_ID: 0:1, _LABEL: test, name: jhaGSKJDgaskjhdASHJKGKGJHASdgkhjdasGHJASDghjlaSDLGHASDFghlaSFGLAFlgkfAGLHKFadsglhkdfGLDFSgkldfsaghkfasdgdfs... |
-------------------------------------------------------------------------------------------------------------------------------------------------
| {_ID: 0:2, _LABEL: test, name: JASDghjlaSDLGHASDFghlaSFGLAFlgkfAGLHKFadsglhkdfGLDFSgkldfsaghkfasdgdfsgklfdsaghjlafsdgkhsdfaghkdsfaghjkdsfa... |
-------------------------------------------------------------------------------------------------------------------------------------------------
| {_ID: 0:3, _LABEL: test, name: hello adksjfhjkagddfashkgjasdfghjasdfhgsdafhgjsadfghsadfkhgadsf}                                               |
-------------------------------------------------------------------------------------------------------------------------------------------------
| {_ID: 0:4, _LABEL: test, name: hello adksjfhjkagddfashkgjasdfghjasdfhgsdafhggadsf}                                                            |
-------------------------------------------------------------------------------------------------------------------------------------------------
| {_ID: 0:5, _LABEL: test, name: hello adksjsdfhgsdafhggadsf}                                                                                   |
-------------------------------------------------------------------------------------------------------------------------------------------------
| {_ID: 0:6, _LABEL: test, name: hello adksjsdfhgsdafhggaruhlreafuihlafreuiarefiulrafeiugrfeauigfreaiugrafeuiglafreugilraefugilrafedsf}         |
-------------------------------------------------------------------------------------------------------------------------------------------------
| {_ID: 0:7, _LABEL: test, name: hello adksjsdfhgsdafhggaruhlreafuihlafreuiarefiulrafeiugrfeauigfreaiugrafeuiglafreugilraefugilrafeartreaura... |
-------------------------------------------------------------------------------------------------------------------------------------------------
| {_ID: 0:8, _LABEL: test, name: hello adksjsdfhgsdafhggaruhlreafuihlafreuiarefiulrafeiugrfeauigfreaiugrafeuiglafreugilraefugilrafeartreaura... |
-------------------------------------------------------------------------------------------------------------------------------------------------
| {_ID: 0:9, _LABEL: test, name: hello adksjsdfhgsdafhggaruhlreafuihlafreuiarefiulrafeiugrfeauigfreaiugrafeuiglafreugilraefugilrafeartreaura... |
-------------------------------------------------------------------------------------------------------------------------------------------------

Works expected on my side.
@MSebanc Can you double check the result? And close the issue if disappears

@MSebanc
Copy link
Collaborator Author

MSebanc commented Jul 11, 2024

It works as expected on my side too, closing as resolved 👍

@MSebanc MSebanc closed this as completed Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants