This is an automated email from the ASF dual-hosted git repository.

dataroaring pushed a commit to branch branch-4.0-preview
in repository https://gitbox.apache.org/repos/asf/doris.git

commit fd87d701a4bbee643dfce35662e8335dff865a57
Author: morrySnow <101034200+morrys...@users.noreply.github.com>
AuthorDate: Fri Apr 26 10:26:16 2024 +0800

    [chore](variable) deprecated GROUP_BY_AND_HAVING_USE_ALIAS_FIRST (#34133)
    
    this variable intro by #15748 for backward compatibility.
    currently, it is used very infrequently.
    Nereids do not support it anymore.
    So, we tag it as deprecated, and will remove it in the future.
---
 fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java 
b/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java
index 1c349d29571..b7769864694 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java
@@ -1330,7 +1330,7 @@ public class SessionVariable implements Serializable, 
Writable {
 
     // Default value is false, which means the group by and having clause
     // should first use column name not alias. According to mysql.
-    @VariableMgr.VarAttr(name = GROUP_BY_AND_HAVING_USE_ALIAS_FIRST)
+    @VariableMgr.VarAttr(name = GROUP_BY_AND_HAVING_USE_ALIAS_FIRST, varType = 
VariableAnnotation.DEPRECATED)
     public boolean groupByAndHavingUseAliasFirst = false;
 
     // Whether disable block file cache. Block cache only works when FE's 
query options sets disableFileCache false


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to