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/04/21 04:53:50 UTC

git commit: TAJO-777: Partition column in function parameter occurs NPE. (missed test files)

Repository: tajo
Updated Branches:
  refs/heads/master e56a7a41f -> f1f36ec5f


TAJO-777: Partition column in function parameter occurs NPE. (missed test files)


Project: http://git-wip-us.apache.org/repos/asf/tajo/repo
Commit: http://git-wip-us.apache.org/repos/asf/tajo/commit/f1f36ec5
Tree: http://git-wip-us.apache.org/repos/asf/tajo/tree/f1f36ec5
Diff: http://git-wip-us.apache.org/repos/asf/tajo/diff/f1f36ec5

Branch: refs/heads/master
Commit: f1f36ec5f5ef78168dfe024c07c1ba122f2d78c6
Parents: e56a7a41
Author: Hyunsik Choi <hy...@apache.org>
Authored: Mon Apr 21 11:53:25 2014 +0900
Committer: Hyunsik Choi <hy...@apache.org>
Committed: Mon Apr 21 11:53:25 2014 +0900

----------------------------------------------------------------------
 .../src/test/resources/queries/TestTablePartitions/case4.sql  | 1 +
 .../src/test/resources/queries/TestTablePartitions/case5.sql  | 1 +
 .../src/test/resources/queries/TestTablePartitions/case6.sql  | 1 +
 .../src/test/resources/queries/TestTablePartitions/case7.sql  | 1 +
 .../test/resources/results/TestTablePartitions/case4.result   | 7 +++++++
 .../test/resources/results/TestTablePartitions/case5.result   | 7 +++++++
 .../test/resources/results/TestTablePartitions/case6.result   | 7 +++++++
 7 files changed, 25 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tajo/blob/f1f36ec5/tajo-core/src/test/resources/queries/TestTablePartitions/case4.sql
----------------------------------------------------------------------
diff --git a/tajo-core/src/test/resources/queries/TestTablePartitions/case4.sql b/tajo-core/src/test/resources/queries/TestTablePartitions/case4.sql
new file mode 100644
index 0000000..477a456
--- /dev/null
+++ b/tajo-core/src/test/resources/queries/TestTablePartitions/case4.sql
@@ -0,0 +1 @@
+select pow(key, 2) from testQueryCasesOnColumnPartitionedTable
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/tajo/blob/f1f36ec5/tajo-core/src/test/resources/queries/TestTablePartitions/case5.sql
----------------------------------------------------------------------
diff --git a/tajo-core/src/test/resources/queries/TestTablePartitions/case5.sql b/tajo-core/src/test/resources/queries/TestTablePartitions/case5.sql
new file mode 100644
index 0000000..180dd72
--- /dev/null
+++ b/tajo-core/src/test/resources/queries/TestTablePartitions/case5.sql
@@ -0,0 +1 @@
+select round(pow(key + 1, 2)) from testQueryCasesOnColumnPartitionedTable
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/tajo/blob/f1f36ec5/tajo-core/src/test/resources/queries/TestTablePartitions/case6.sql
----------------------------------------------------------------------
diff --git a/tajo-core/src/test/resources/queries/TestTablePartitions/case6.sql b/tajo-core/src/test/resources/queries/TestTablePartitions/case6.sql
new file mode 100644
index 0000000..cd54486
--- /dev/null
+++ b/tajo-core/src/test/resources/queries/TestTablePartitions/case6.sql
@@ -0,0 +1 @@
+select col1, key from testQueryCasesOnColumnPartitionedTable order by pow(key, 2) desc
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/tajo/blob/f1f36ec5/tajo-core/src/test/resources/queries/TestTablePartitions/case7.sql
----------------------------------------------------------------------
diff --git a/tajo-core/src/test/resources/queries/TestTablePartitions/case7.sql b/tajo-core/src/test/resources/queries/TestTablePartitions/case7.sql
new file mode 100644
index 0000000..e2c4d83
--- /dev/null
+++ b/tajo-core/src/test/resources/queries/TestTablePartitions/case7.sql
@@ -0,0 +1 @@
+select col1, key from testQueryCasesOnColumnPartitionedTable WHERE key BETWEEN 35 AND 48;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/tajo/blob/f1f36ec5/tajo-core/src/test/resources/results/TestTablePartitions/case4.result
----------------------------------------------------------------------
diff --git a/tajo-core/src/test/resources/results/TestTablePartitions/case4.result b/tajo-core/src/test/resources/results/TestTablePartitions/case4.result
new file mode 100644
index 0000000..bcf2197
--- /dev/null
+++ b/tajo-core/src/test/resources/results/TestTablePartitions/case4.result
@@ -0,0 +1,7 @@
+?pow
+-------------------------------
+289.0
+1296.0
+1444.0
+2025.0
+2401.0
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/tajo/blob/f1f36ec5/tajo-core/src/test/resources/results/TestTablePartitions/case5.result
----------------------------------------------------------------------
diff --git a/tajo-core/src/test/resources/results/TestTablePartitions/case5.result b/tajo-core/src/test/resources/results/TestTablePartitions/case5.result
new file mode 100644
index 0000000..2c2918d
--- /dev/null
+++ b/tajo-core/src/test/resources/results/TestTablePartitions/case5.result
@@ -0,0 +1,7 @@
+?round
+-------------------------------
+324
+1369
+1521
+2116
+2500
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/tajo/blob/f1f36ec5/tajo-core/src/test/resources/results/TestTablePartitions/case6.result
----------------------------------------------------------------------
diff --git a/tajo-core/src/test/resources/results/TestTablePartitions/case6.result b/tajo-core/src/test/resources/results/TestTablePartitions/case6.result
new file mode 100644
index 0000000..3c49070
--- /dev/null
+++ b/tajo-core/src/test/resources/results/TestTablePartitions/case6.result
@@ -0,0 +1,7 @@
+col1,key
+-------------------------------
+3,49.0
+3,45.0
+2,38.0
+1,36.0
+1,17.0
\ No newline at end of file