kuzu icon indicating copy to clipboard operation
kuzu copied to clipboard

Bug: CLI table display isn't aesthetic when there are unicode characters in table name

Open prrao87 opened this issue 6 months ago • 1 comments

Kùzu version

0.5.0

What operating system are you using?

macOS

What happened?

This might be related to unicode parsing in #4068, but I'm not sure.

CREATE NODE TABLE IF NOT EXISTS `Bücher` (title STRING, price INT64, PRIMARY KEY (title));
CREATE (n:`Bücher` {title: 'Der Thron der Sieben Königreiche'}) SET n.price = 20;
MATCH (n:Bücher) RETURN label(n);

The CLI output isn't looking consistent (the vertical line is offset incorrectly):

┌─────────┐
│ Bücher │
│ STRING  │
├─────────┤
│ Bücher  │
└─────────┘

Are there known steps to reproduce?

Create tables with unicode characters in the name and try to display them in the CLI.

prrao87 avatar Aug 13 '24 16:08 prrao87