Repository: kylin
Updated Branches:
  refs/heads/master 8fbfc580c -> 96935fe99


KYLIN-2085 Add test cases


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

Branch: refs/heads/master
Commit: 96935fe99996cd02efe0b8d11d25f2f67a83ad17
Parents: 8fbfc58
Author: lidongsjtu <lid...@apache.org>
Authored: Wed Oct 12 17:21:24 2016 +0800
Committer: lidongsjtu <lid...@apache.org>
Committed: Wed Oct 12 17:29:00 2016 +0800

----------------------------------------------------------------------
 .../src/test/resources/query/sql/query100.sql   | 20 ++++++++++++++++++++
 .../resources/query/sql_dynamic/query04.dat     |  2 ++
 .../resources/query/sql_dynamic/query04.sql     | 20 ++++++++++++++++++++
 3 files changed, 42 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/96935fe9/kylin-it/src/test/resources/query/sql/query100.sql
----------------------------------------------------------------------
diff --git a/kylin-it/src/test/resources/query/sql/query100.sql 
b/kylin-it/src/test/resources/query/sql/query100.sql
new file mode 100644
index 0000000..a2b0d1b
--- /dev/null
+++ b/kylin-it/src/test/resources/query/sql/query100.sql
@@ -0,0 +1,20 @@
+--
+-- Licensed to the Apache Software Foundation (ASF) under one
+-- or more contributor license agreements.  See the NOTICE file
+-- distributed with this work for additional information
+-- regarding copyright ownership.  The ASF licenses this file
+-- to you under the Apache License, Version 2.0 (the
+-- "License"); you may not use this file except in compliance
+-- with the License.  You may obtain a copy of the License at
+--
+--     http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+--
+
+select count(*) as cnt from test_kylin_fact
+where lstg_format_name>='AAAA' and 'BBBB'>=lstg_format_name
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/kylin/blob/96935fe9/kylin-it/src/test/resources/query/sql_dynamic/query04.dat
----------------------------------------------------------------------
diff --git a/kylin-it/src/test/resources/query/sql_dynamic/query04.dat 
b/kylin-it/src/test/resources/query/sql_dynamic/query04.dat
new file mode 100644
index 0000000..e8506ab
--- /dev/null
+++ b/kylin-it/src/test/resources/query/sql_dynamic/query04.dat
@@ -0,0 +1,2 @@
+AAAA
+BBBB
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/kylin/blob/96935fe9/kylin-it/src/test/resources/query/sql_dynamic/query04.sql
----------------------------------------------------------------------
diff --git a/kylin-it/src/test/resources/query/sql_dynamic/query04.sql 
b/kylin-it/src/test/resources/query/sql_dynamic/query04.sql
new file mode 100644
index 0000000..135cf69
--- /dev/null
+++ b/kylin-it/src/test/resources/query/sql_dynamic/query04.sql
@@ -0,0 +1,20 @@
+--
+-- Licensed to the Apache Software Foundation (ASF) under one
+-- or more contributor license agreements.  See the NOTICE file
+-- distributed with this work for additional information
+-- regarding copyright ownership.  The ASF licenses this file
+-- to you under the Apache License, Version 2.0 (the
+-- "License"); you may not use this file except in compliance
+-- with the License.  You may obtain a copy of the License at
+--
+--     http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+--
+
+select count(*) as cnt from test_kylin_fact
+where lstg_format_name>=? and ?>=lstg_format_name
\ No newline at end of file

Reply via email to