diff --git a/tests/queries/0_stateless/018001_dateDiff_DateTime64.reference b/tests/queries/0_stateless/01801_dateDiff_DateTime64.reference similarity index 100% rename from tests/queries/0_stateless/018001_dateDiff_DateTime64.reference rename to tests/queries/0_stateless/01801_dateDiff_DateTime64.reference diff --git a/tests/queries/0_stateless/018001_dateDiff_DateTime64.sql b/tests/queries/0_stateless/01801_dateDiff_DateTime64.sql similarity index 100% rename from tests/queries/0_stateless/018001_dateDiff_DateTime64.sql rename to tests/queries/0_stateless/01801_dateDiff_DateTime64.sql diff --git a/tests/queries/0_stateless/018002_formatDateTime_DateTime64_century.reference b/tests/queries/0_stateless/01802_formatDateTime_DateTime64_century.reference similarity index 100% rename from tests/queries/0_stateless/018002_formatDateTime_DateTime64_century.reference rename to tests/queries/0_stateless/01802_formatDateTime_DateTime64_century.reference diff --git a/tests/queries/0_stateless/018002_formatDateTime_DateTime64_century.sql b/tests/queries/0_stateless/01802_formatDateTime_DateTime64_century.sql similarity index 100% rename from tests/queries/0_stateless/018002_formatDateTime_DateTime64_century.sql rename to tests/queries/0_stateless/01802_formatDateTime_DateTime64_century.sql diff --git a/tests/queries/0_stateless/018002_toDateTime64_large_values.reference b/tests/queries/0_stateless/01802_toDateTime64_large_values.reference similarity index 100% rename from tests/queries/0_stateless/018002_toDateTime64_large_values.reference rename to tests/queries/0_stateless/01802_toDateTime64_large_values.reference diff --git a/tests/queries/0_stateless/018002_toDateTime64_large_values.sql b/tests/queries/0_stateless/01802_toDateTime64_large_values.sql similarity index 100% rename from tests/queries/0_stateless/018002_toDateTime64_large_values.sql rename to tests/queries/0_stateless/01802_toDateTime64_large_values.sql