diff --git a/tests/queries/0_stateless/01482_move_to_prewhere_and_cast.reference b/tests/queries/bugs/01482_move_to_prewhere_and_cast.reference similarity index 100% rename from tests/queries/0_stateless/01482_move_to_prewhere_and_cast.reference rename to tests/queries/bugs/01482_move_to_prewhere_and_cast.reference diff --git a/tests/queries/0_stateless/01482_move_to_prewhere_and_cast.sql b/tests/queries/bugs/01482_move_to_prewhere_and_cast.sql similarity index 100% rename from tests/queries/0_stateless/01482_move_to_prewhere_and_cast.sql rename to tests/queries/bugs/01482_move_to_prewhere_and_cast.sql