You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2022/12/14 07:03:41 UTC

[doris] branch master updated: [fix](regression) Nereids' const by constant case is unstable (#15062)

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

morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 83e81c60a2 [fix](regression) Nereids' const by constant case is unstable (#15062)
83e81c60a2 is described below

commit 83e81c60a2c8f1255e7268359cfc3b58dc86c72d
Author: morrySnow <10...@users.noreply.github.com>
AuthorDate: Wed Dec 14 15:03:35 2022 +0800

    [fix](regression) Nereids' const by constant case is unstable (#15062)
---
 regression-test/data/nereids_syntax_p0/order_by_const.out      | 2 +-
 regression-test/suites/nereids_syntax_p0/order_by_const.groovy | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/regression-test/data/nereids_syntax_p0/order_by_const.out b/regression-test/data/nereids_syntax_p0/order_by_const.out
index 39000858a2..6df998919d 100644
--- a/regression-test/data/nereids_syntax_p0/order_by_const.out
+++ b/regression-test/data/nereids_syntax_p0/order_by_const.out
@@ -10,7 +10,7 @@
 1455	1312	29
 
 -- !sql --
-1432	1303	15
 1165	1303	9
+1432	1303	15
 1455	1312	29
 
diff --git a/regression-test/suites/nereids_syntax_p0/order_by_const.groovy b/regression-test/suites/nereids_syntax_p0/order_by_const.groovy
index d2888debef..b06abb16db 100644
--- a/regression-test/suites/nereids_syntax_p0/order_by_const.groovy
+++ b/regression-test/suites/nereids_syntax_p0/order_by_const.groovy
@@ -23,5 +23,5 @@ suite("order_by_const") {
 
     qt_sql """SELECT lo_custkey, lo_partkey, lo_suppkey FROM lineorder ORDER BY 1, 2 LIMIT 3"""
     qt_sql """SELECT lo_partkey, lo_custkey, lo_suppkey FROM lineorder ORDER BY 1, 2 LIMIT 3"""
-    qt_sql """SELECT lo_partkey, lo_custkey, lo_suppkey FROM lineorder ORDER BY 'g', 1+1 LIMIT 3"""
-}
\ No newline at end of file
+    qt_sql """SELECT lo_partkey, lo_custkey, lo_suppkey FROM lineorder ORDER BY 1, 'g', 1+1 LIMIT 3"""
+}


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