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

Remove ^@ From Output #114

Open
juliojimenez opened this issue Feb 8, 2023 · 0 comments
Open

Remove ^@ From Output #114

juliojimenez opened this issue Feb 8, 2023 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@juliojimenez
Copy link
Owner

juliojimenez commented Feb 8, 2023

Describe the bug
Remove ^@ From Output

To Reproduce
Steps to reproduce the behavior:

(ch:query *db* "CREATE TABLE string_demo 
                (
                    city String,
                    state FixedString(2)
                )
                ENGINE = MergeTree
                ORDER BY tuple()" :console t)

(ch:query *db* "INSERT INTO string_demo VALUES
                    ('Albany', 'NY'),
                    ('Salem', 'OR'),
                    ('Just testing', 'X')" :console t)

(ch:query *db* "SELECT *
                FROM string_demo FORMAT Pretty" :console t)

(ch:query *db* "SELECT *
                FROM string_demo FORMAT CSV")

Output:

┌──────────────┬───────┐
│ city         │ state │
├──────────────┼───────┤
│ Albany       │ NY    │
├──────────────┼───────┤
│ Salem        │ OR    │
├──────────────┼───────┤
│ Just testing │ X\0     │
└──────────────┴───────┘
(("\"X\0\"")
 ("\"OR\"
\"Just testing\"")
 ("\"NY\"
\"Salem\"")
 ("\"Albany\""))
@juliojimenez juliojimenez self-assigned this Feb 8, 2023
@juliojimenez juliojimenez added the bug Something isn't working label Feb 8, 2023
@juliojimenez juliojimenez added this to the Bugs milestone Feb 8, 2023
@juliojimenez juliojimenez changed the title Remove Remove ^@ From Output Feb 8, 2023
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

1 participant