tajo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blrun...@apache.org
Subject [1/5] TAJO-101: HiveQL converter (jaehwa)
Date Mon, 09 Sep 2013 10:46:35 GMT
Updated Branches:
  refs/heads/master d33dfb276 -> d27e51ee5


http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/d27e51ee/tajo-core/tajo-core-backend/src/test/queries/select_13.hiveql
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/test/queries/select_13.hiveql b/tajo-core/tajo-core-backend/src/test/queries/select_13.hiveql
new file mode 100644
index 0000000..c76b1a0
--- /dev/null
+++ b/tajo-core/tajo-core-backend/src/test/queries/select_13.hiveql
@@ -0,0 +1,2 @@
+select A.*
+from table1 AS A
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/d27e51ee/tajo-core/tajo-core-backend/src/test/queries/select_13.sql
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/test/queries/select_13.sql b/tajo-core/tajo-core-backend/src/test/queries/select_13.sql
new file mode 100644
index 0000000..19410ea
--- /dev/null
+++ b/tajo-core/tajo-core-backend/src/test/queries/select_13.sql
@@ -0,0 +1,2 @@
+select A.*
+from table1  A
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/d27e51ee/tajo-core/tajo-core-backend/src/test/queries/select_14.sql
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/test/queries/select_14.sql b/tajo-core/tajo-core-backend/src/test/queries/select_14.sql
new file mode 100644
index 0000000..27c9a5a
--- /dev/null
+++ b/tajo-core/tajo-core-backend/src/test/queries/select_14.sql
@@ -0,0 +1,2 @@
+select *
+from table1
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/d27e51ee/tajo-core/tajo-core-backend/src/test/queries/select_9.hiveql
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/test/queries/select_9.hiveql b/tajo-core/tajo-core-backend/src/test/queries/select_9.hiveql
new file mode 100644
index 0000000..96e6042
--- /dev/null
+++ b/tajo-core/tajo-core-backend/src/test/queries/select_9.hiveql
@@ -0,0 +1,4 @@
+SELECT A.*
+FROM table1 A
+WHERE A.member_name is not null
+and A.post_code is null
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/d27e51ee/tajo-core/tajo-core-backend/src/test/queries/select_9.sql
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/test/queries/select_9.sql b/tajo-core/tajo-core-backend/src/test/queries/select_9.sql
new file mode 100644
index 0000000..8f99ca3
--- /dev/null
+++ b/tajo-core/tajo-core-backend/src/test/queries/select_9.sql
@@ -0,0 +1,4 @@
+SELECT A.*
+FROM table1 AS A
+WHERE A.member_name is not null
+and A.post_code is null
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tajo/blob/d27e51ee/tajo-core/tajo-core-backend/src/test/queries/union_1.hiveql
----------------------------------------------------------------------
diff --git a/tajo-core/tajo-core-backend/src/test/queries/union_1.hiveql b/tajo-core/tajo-core-backend/src/test/queries/union_1.hiveql
new file mode 100644
index 0000000..d5cda15
--- /dev/null
+++ b/tajo-core/tajo-core-backend/src/test/queries/union_1.hiveql
@@ -0,0 +1,14 @@
+SELECT unioninput.*
+FROM (
+  select table1.key, table1.value
+  FROM table1
+  WHERE table1.key < 100
+  UNION ALL
+  SELECT table2.*
+  FROM table2
+  WHERE table2.key > 100
+  UNION ALL
+  select table3.key, table3.value
+  FROM table3
+  WHERE table3.key < 100
+) unioninput
\ No newline at end of file


Mime
View raw message