You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tajo.apache.org by hy...@apache.org on 2014/03/28 14:26:43 UTC
git commit: TAJO-718: A group-by clause with the same columns but
aliased causes planning error. (Add missed test query files)
Repository: tajo
Updated Branches:
refs/heads/master 8c1f04042 -> 5d94b031b
TAJO-718: A group-by clause with the same columns but aliased causes planning error. (Add missed test query files)
Project: http://git-wip-us.apache.org/repos/asf/tajo/repo
Commit: http://git-wip-us.apache.org/repos/asf/tajo/commit/5d94b031
Tree: http://git-wip-us.apache.org/repos/asf/tajo/tree/5d94b031
Diff: http://git-wip-us.apache.org/repos/asf/tajo/diff/5d94b031
Branch: refs/heads/master
Commit: 5d94b031bad1505af42aacc3a89435953ff73eec
Parents: 8c1f040
Author: Hyunsik Choi <hy...@apache.org>
Authored: Fri Mar 28 22:25:55 2014 +0900
Committer: Hyunsik Choi <hy...@apache.org>
Committed: Fri Mar 28 22:25:55 2014 +0900
----------------------------------------------------------------------
.../resources/queries/TestCaseByCases/testTAJO718Case.sql | 10 ++++++++++
.../results/TestCaseByCases/testTAJO718Case.result | 5 +++++
2 files changed, 15 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tajo/blob/5d94b031/tajo-core/tajo-core-backend/src/test/resources/queries/TestCaseByCases/testTAJO718Case.sql
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/test/resources/queries/TestCaseByCases/testTAJO718Case.sql b/tajo-core/tajo-core-backend/src/test/resources/queries/TestCaseByCases/testTAJO718Case.sql
new file mode 100644
index 0000000..73e9f6a
--- /dev/null
+++ b/tajo-core/tajo-core-backend/src/test/resources/queries/TestCaseByCases/testTAJO718Case.sql
@@ -0,0 +1,10 @@
+SELECT
+ "lineitem".l_orderkey AS l_orderkey,
+ "lineitem".l_orderkey AS l_orderkey1,
+ COUNT ("lineitem".l_orderkey) AS T57801e5322bc50
+FROM
+ "lineitem"
+GROUP BY
+ l_orderkey, l_orderkey1
+ORDER BY
+ l_orderkey, l_orderkey1;
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/tajo/blob/5d94b031/tajo-core/tajo-core-backend/src/test/resources/results/TestCaseByCases/testTAJO718Case.result
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/test/resources/results/TestCaseByCases/testTAJO718Case.result b/tajo-core/tajo-core-backend/src/test/resources/results/TestCaseByCases/testTAJO718Case.result
new file mode 100644
index 0000000..86c4d57
--- /dev/null
+++ b/tajo-core/tajo-core-backend/src/test/resources/results/TestCaseByCases/testTAJO718Case.result
@@ -0,0 +1,5 @@
+l_orderkey,l_orderkey1,t57801e5322bc50
+-------------------------------
+1,1,2
+2,2,1
+3,3,2
\ No newline at end of file