Skip to content

fix: add test for null values #627

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

Merged
merged 51 commits into from
May 30, 2025
Merged

fix: add test for null values #627

merged 51 commits into from
May 30, 2025

Conversation

everpcpc
Copy link
Member

@everpcpc everpcpc commented May 28, 2025

root@localhost:8000/default/default> select * from test;

select
  *
from
  test

╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│       i64       │        u64       │        f64        │         s        │        s2        │        d       │              t             │
│ Nullable(Int64) │ Nullable(UInt64) │ Nullable(Float64) │ Nullable(String) │ Nullable(String) │ Nullable(Date) │     Nullable(Timestamp)    │
├─────────────────┼──────────────────┼───────────────────┼──────────────────┼──────────────────┼────────────────┼────────────────────────────┤
│              -1 │                1 │                 1 │ '\''             │ NULL             │ 2011-03-06     │ 2011-03-06 06:20:00.000000 │
│              -2 │                2 │                 2 │ '"'              │ ''               │ 2012-05-31     │ 2012-05-31 11:20:00.000000 │
│              -3 │                3 │                 3 │ '\\'             │ 'NULL'           │ 2016-04-04     │ 2016-04-04 11:30:00.000000 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

@everpcpc everpcpc marked this pull request as ready for review May 29, 2025 06:52
@everpcpc everpcpc merged commit 237e847 into databendlabs:main May 30, 2025
31 checks passed
@everpcpc everpcpc deleted the fix-null branch May 30, 2025 01:40
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

Successfully merging this pull request may close these issues.

bug: nullable response for varchar
2 participants