Skip to content

UNION ALL query return wrong type, NULL value but get '' #4926

@rongyousu

Description

@rongyousu

the detail is that:
sql:
with a as
(
select 2 as id, '1234' as user_id
union all
select 1 as id, NULL as user_id
),
b as
(
select 4 as id, '543' as user_id
union all
select 3 as id, NULL as user_id
)
select id,user_id from a
union all
select id ,user_id from b

the result is :
image

my value is "NULL " ,but use with lable ,the result is issue, now is ''

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions