Skip to content

Port remaining sql integration tests from rust to sqllogictest #6195

Closed
@alamb

Description

@alamb

Is your feature request related to a problem or challenge?

As described in https://github.com/apache/arrow-datafusion/tree/main/datafusion/core/tests/sqllogictests DataFusion has many tests that use the sqllogictest framework which is easy to write and update compared to rust tests

We still have a non trivial number of old tests that are written in Rust and run in the sql integration test:
https://arrow.apache.org/datafusion/contributor-guide/index.html#rust-integration-tests

cargo test -p datafusion --test sql_integration

This ticket tracks the work to port the tests from rust to sqllogictests

Describe the solution you'd like

Port tests from datafusion/core/tests/sql to sqllogictests in datafusion/core/tests/sqllogictests/test_files

For each test, the goal is to:

  1. Port as many tests as possiible (follow the example of Port test in select.rs to sqllogic #6158 or one of the other tests linked to Port sql tests written in Rust to sqllogictests #4495)

Then we can figure out what to do with the tests that can not be ported easily

Remaining items:

Describe alternatives you've considered

No response

Additional context

Follow on to #4495

Marking this as a good first issue as there are many examples and it will get people familiar with how to run tests and how to use datafusion as a library, while also helping the community

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