From f75d25fec2c1a5581eeb8ce73a890e5792df02c7 Mon Sep 17 00:00:00 2001 From: Andrew Lamb Date: Sun, 12 Feb 2023 01:18:19 +0100 Subject: [PATCH] Add negative test for SORT BY (#5254) --- datafusion/core/tests/sqllogictests/test_files/order.slt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/datafusion/core/tests/sqllogictests/test_files/order.slt b/datafusion/core/tests/sqllogictests/test_files/order.slt index 0263781c58fb..f6477cb713b7 100644 --- a/datafusion/core/tests/sqllogictests/test_files/order.slt +++ b/datafusion/core/tests/sqllogictests/test_files/order.slt @@ -254,6 +254,9 @@ ORDER BY time; 2 2022-01-01T01:00:00 3 2022-01-02T00:00:00 +## SORT BY is not supported +statement error DataFusion error: This feature is not implemented: SORT BY +select * from t SORT BY time; ## Cleanup statement ok