Skip to content

Support scalar values for func Array #2331

@Ted-Jiang

Description

@Ted-Jiang

Describe the bug

Finished dev [unoptimized + debuginfo] target(s) in 0.85s
     Running `target/debug/datafusion-cli`
DataFusion CLI v7.0.0
❯ SELECT array(1, 2, 3);
NotImplemented("Array is not implemented for scalar values.")

Supposed

> SELECT array(1, 2, 3);
 [1,2,3]

To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions