This is an automated email from the ASF dual-hosted git repository.
suneet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new 2db02876cf Updating an error msg (#12450)
2db02876cf is described below
commit 2db02876cf95f2179c3cc2a7a443e250c3fe451a
Author: somu-imply <[email protected]>
AuthorDate: Wed Apr 20 07:56:09 2022 -0700
Updating an error msg (#12450)
* Updating an error msg
* Added an extra [] so removing it
---
sql/src/main/java/org/apache/druid/sql/calcite/rel/DruidQuery.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sql/src/main/java/org/apache/druid/sql/calcite/rel/DruidQuery.java
b/sql/src/main/java/org/apache/druid/sql/calcite/rel/DruidQuery.java
index a0627dfa4f..cab3d74f42 100644
--- a/sql/src/main/java/org/apache/druid/sql/calcite/rel/DruidQuery.java
+++ b/sql/src/main/java/org/apache/druid/sql/calcite/rel/DruidQuery.java
@@ -1213,7 +1213,7 @@ public class DruidQuery
// Cannot handle this ordering.
// Scan cannot ORDER BY non-time columns.
plannerContext.setPlanningError(
- "SQL query requires order by non-time column on a datasource[%s],
which is not supported.",
+ "SQL query is a scan and requires order by on a datasource[%s],
which is not supported.",
dataSource
);
return null;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]