-
Notifications
You must be signed in to change notification settings - Fork 752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add compat test for fuse engine #6557
Comments
Is it possible to add a compact test for databend-query with different versions(current and previous version) to https://github.com/datafuselabs/databend/blob/main/tests/compat/test-compat.sh? |
Suppose the query is only compatible with a limited number of history versions. In that case, the query needs two versions defined: If the query must be compatible with all history versions, The fuse-data-compat-test would be:
And the fuse-data-Compatability may differ slightly from the meta service compatibility. |
@drmingdrmer will start this task with meta-srv compact framework. cc @dantengsky |
I'm trying to build up a script that will:
My question is: |
Fuse table compatability test This script tests whether a newer version databend-query can read fuse table data written by a older version databend-query. Usage ```shell tests/fuse-compat/test-fuse-compat.sh <old_ver> ``` E.g. `tests/fuse-compat/test-fuse-compat.sh 0.7.151` tests if the fuse-table written by **databend-query-0.7.151** can be read by **current** version databend-qeury. Prerequisites - Current version of databend-query and databend-meta must reside in `./bins`: - `./bins/current/databend-query` - `./bins/current/databend-meta` Since building a binary takes several minutes, this step is usually done by the calling process, e.g., the CI script. Testing data - Suite `tests/fuse-compat/compat-logictest/fuse_compat_write` writes data into a fuse table via an old version query. - Suite `tests/fuse-compat/compat-logictest/fuse_compat_read` reads the data via current version query. Fuse table maintainers update these two `logictest` scripts to let the write/read operations cover fuse-table features. - Part of databendlabs#6557 TODO - [ ] Complete logictest script `tests/fuse-compat/compat-logictest/{fuse_compat_write|fuse_compat_read}` to cover fuse-table features.
The version to assert being compatible with the latest databend-query has to be explicitly specified: |
Summary
Like:
https://github.com/datafuselabs/databend/blob/main/.github/actions/test_compat/action.yml
Ensure that each of our versions is compatible with the previous ones.
The text was updated successfully, but these errors were encountered: