Skip to content

Unexpected Behavior in SQLness Test about COPY TABLE FORM #7234

@Standing-Man

Description

@Standing-Man

What type of bug is this?

Incorrect result

What subsystems are affected?

Other

Minimal reproduce step

In the current COPY TABLE FROM command sqlness test, there is no demo.json file, yet the SQL still successfully imports data into the table.

https://github.com/GreptimeTeam/greptimedb/blob/e7928aaeeeccba607d50f7c96da0b77d777c4d16/tests/cases/standalone/common/copy/copy_from_fs_csv.result#L45C1-L45C87

What did you expect to see?

The expected SQLness test result should be as follows:
Error: 1004(InvalidArguments), Path not found: ${SQLNESS_HOME}/demo/export/json/demo.json

What did you see instead?

Successfully imported data into the table from a non-existent JSON file.

What operating system did you use?

Mac OS X ARM

What version of GreptimeDB did you use?

v1.0.0-beta

Relevant log output and stack trace

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory Bugs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions