TL;DR
This paper introduces Spatter, a tool that uses affine equivalent inputs and a geometry-aware generator to automatically detect logic bugs in spatial database engines, uncovering previously unknown issues and improving testing effectiveness.
Contribution
The paper presents a novel affine equivalent inputs concept and a geometry-aware SQL generator, advancing automated bug detection in spatial database management systems.
Findings
Detected 34 new bugs in four SDBMSs, with 30 confirmed and 18 fixed.
Geometry-aware generator outperforms naive random-shape generator.
AEI identified 14 bugs overlooked by previous methods.
Abstract
Spatial Database Management Systems (SDBMSs) aim to store, manipulate, and retrieve spatial data. SDBMSs are employed in various modern applications, such as geographic information systems, computer-aided design tools, and location-based services. However, the presence of logic bugs in SDBMSs can lead to incorrect results, substantially undermining the reliability of these applications. Detecting logic bugs in SDBMSs is challenging due to the lack of ground truth for identifying incorrect results. In this paper, we propose an automated geometry-aware generator to generate high-quality SQL statements for SDBMSs and a novel concept named Affine Equivalent Inputs (AEI) to validate the results of SDBMSs. We implemented them as a tool named Spatter (Spatial DBMSs Tester) for finding logic bugs in four popular SDBMSs: PostGIS, DuckDB Spatial, MySQL, and SQL Server. Our testing campaign…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
