https://github.com/yuanchengjiang/sqlxdiff
To enhance the differential testing on DBMS via SQL query mappings
https://github.com/yuanchengjiang/sqlxdiff
questdb sql testing
Last synced: about 1 year ago
JSON representation
To enhance the differential testing on DBMS via SQL query mappings
- Host: GitHub
- URL: https://github.com/yuanchengjiang/sqlxdiff
- Owner: YuanchengJiang
- Created: 2024-05-07T10:33:12.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-01-03T05:07:00.000Z (about 1 year ago)
- Last Synced: 2025-02-24T23:01:46.605Z (about 1 year ago)
- Topics: questdb, sql, testing
- Language: Python
- Homepage:
- Size: 63.5 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SQLxDiff
The key idea of SQLxDiff is to expand the working scope of differential testing on database management systems by adopting SQL query mappings between old and new database instances. We observe that small efforts into query mappings pay off with greater testing coverage.
See more details at https://arxiv.org/abs/2501.01236
**This is the demonstration code for SQLxDiff, showcasing its functionality with QuestDB and Postgres.**
## Setup
### Prerequisites
- Ensure you have set up the related databases (QuestDB and Postgres). Please refer to `driver.py` for the connection details.
- Python (version 3.8 or later) installed.
- Install necessary Python libraries using `pip install -r requirements.txt`.
### Usage
- Run the main script to start the comparison: `python main.py`
### Bugs
- See https://github.com/questdb/questdb/issues?q=is%3Aissue+author%3AYuanchengJiang+