Skip to content

string cast array missing null value #1716

@cxzl25

Description

@cxzl25

Describe the bug

To Reproduce

spark-sql (default)> select * from test_t1 ;
NULL
set spark.auron.enable=true;
select cast(array(c1) as string ) from test_t1 ;
[]

set spark.auron.enable=false;
set spark.sql.legacy.castComplexTypesToString.enabled=false;
select cast(array(c1) as string ) from test_t1 ;
[null]

Expected behavior

Screenshots

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions