[3/3] incubator-kylin git commit: KYLIN-943 enable top n sqls (reverted from commit e6100b548f67624fc4729ba1afc02f5b2db41a9f)
KYLIN-943 enable top n sqls (reverted from commit e6100b548f67624fc4729ba1afc02f5b2db41a9f) Project: http://git-wip-us.apache.org/repos/asf/incubator-kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-kylin/commit/b12d8678 Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/b12d8678 Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/b12d8678 Branch: refs/heads/2.x-staging Commit: b12d86783221847a5528b2e2d9da20a3a242bdea Parents: 4731f58 Author: honmaAuthored: Wed Oct 28 15:21:04 2015 +0800 Committer: honma Committed: Wed Oct 28 15:21:04 2015 +0800 -- query/src/test/resources/query/sql/query82.sql | 27 -- .../resources/query/sql/query82.sql.disable | 27 ++ query/src/test/resources/query/sql/query83.sql | 29 .../resources/query/sql/query83.sql.disable | 29 4 files changed, 56 insertions(+), 56 deletions(-) -- http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/b12d8678/query/src/test/resources/query/sql/query82.sql -- diff --git a/query/src/test/resources/query/sql/query82.sql b/query/src/test/resources/query/sql/query82.sql deleted file mode 100644 index 57e9de0..000 --- a/query/src/test/resources/query/sql/query82.sql +++ /dev/null @@ -1,27 +0,0 @@ --- --- 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 test_kylin_fact.cal_dt, seller_id - FROM test_kylin_fact - inner JOIN edw.test_cal_dt as test_cal_dt - ON test_kylin_fact.cal_dt = test_cal_dt.cal_dt - inner JOIN test_category_groupings - ON test_kylin_fact.leaf_categ_id = test_category_groupings.leaf_categ_id - AND test_kylin_fact.lstg_site_id = test_category_groupings.site_id - group by - test_kylin_fact.cal_dt, test_kylin_fact.seller_id order by sum(test_kylin_fact.price) desc limit 20 http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/b12d8678/query/src/test/resources/query/sql/query82.sql.disable -- diff --git a/query/src/test/resources/query/sql/query82.sql.disable b/query/src/test/resources/query/sql/query82.sql.disable new file mode 100644 index 000..57e9de0 --- /dev/null +++ b/query/src/test/resources/query/sql/query82.sql.disable @@ -0,0 +1,27 @@ +-- +-- 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 test_kylin_fact.cal_dt, seller_id + FROM test_kylin_fact + inner JOIN edw.test_cal_dt as test_cal_dt + ON test_kylin_fact.cal_dt = test_cal_dt.cal_dt + inner JOIN test_category_groupings + ON test_kylin_fact.leaf_categ_id = test_category_groupings.leaf_categ_id + AND test_kylin_fact.lstg_site_id = test_category_groupings.site_id + group by + test_kylin_fact.cal_dt, test_kylin_fact.seller_id order by sum(test_kylin_fact.price) desc limit 20 http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/b12d8678/query/src/test/resources/query/sql/query83.sql -- diff --git a/query/src/test/resources/query/sql/query83.sql b/query/src/test/resources/query/sql/query83.sql deleted file mode 100644 index 514beb4..000 --- a/query/src/test/resources/query/sql/query83.sql +++ /dev/null @@
incubator-kylin git commit: KYLIN-943 enable top n sqls
Repository: incubator-kylin Updated Branches: refs/heads/2.x-staging 8162100db -> e6100b548 KYLIN-943 enable top n sqls Project: http://git-wip-us.apache.org/repos/asf/incubator-kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-kylin/commit/e6100b54 Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/e6100b54 Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/e6100b54 Branch: refs/heads/2.x-staging Commit: e6100b548f67624fc4729ba1afc02f5b2db41a9f Parents: 8162100 Author: honmaAuthored: Tue Oct 27 14:24:01 2015 +0800 Committer: honma Committed: Tue Oct 27 14:24:01 2015 +0800 -- query/src/test/resources/query/sql/query82.sql | 27 ++ .../resources/query/sql/query82.sql.disable | 27 -- query/src/test/resources/query/sql/query83.sql | 29 .../resources/query/sql/query83.sql.disable | 29 4 files changed, 56 insertions(+), 56 deletions(-) -- http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/e6100b54/query/src/test/resources/query/sql/query82.sql -- diff --git a/query/src/test/resources/query/sql/query82.sql b/query/src/test/resources/query/sql/query82.sql new file mode 100644 index 000..57e9de0 --- /dev/null +++ b/query/src/test/resources/query/sql/query82.sql @@ -0,0 +1,27 @@ +-- +-- 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 test_kylin_fact.cal_dt, seller_id + FROM test_kylin_fact + inner JOIN edw.test_cal_dt as test_cal_dt + ON test_kylin_fact.cal_dt = test_cal_dt.cal_dt + inner JOIN test_category_groupings + ON test_kylin_fact.leaf_categ_id = test_category_groupings.leaf_categ_id + AND test_kylin_fact.lstg_site_id = test_category_groupings.site_id + group by + test_kylin_fact.cal_dt, test_kylin_fact.seller_id order by sum(test_kylin_fact.price) desc limit 20 http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/e6100b54/query/src/test/resources/query/sql/query82.sql.disable -- diff --git a/query/src/test/resources/query/sql/query82.sql.disable b/query/src/test/resources/query/sql/query82.sql.disable deleted file mode 100644 index 57e9de0..000 --- a/query/src/test/resources/query/sql/query82.sql.disable +++ /dev/null @@ -1,27 +0,0 @@ --- --- 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 test_kylin_fact.cal_dt, seller_id - FROM test_kylin_fact - inner JOIN edw.test_cal_dt as test_cal_dt - ON test_kylin_fact.cal_dt = test_cal_dt.cal_dt - inner JOIN test_category_groupings - ON test_kylin_fact.leaf_categ_id = test_category_groupings.leaf_categ_id - AND test_kylin_fact.lstg_site_id = test_category_groupings.site_id - group by - test_kylin_fact.cal_dt, test_kylin_fact.seller_id order by sum(test_kylin_fact.price) desc limit 20 http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/e6100b54/query/src/test/resources/query/sql/query83.sql -- diff --git a/query/src/test/resources/query/sql/query83.sql b/query/src/test/resources/query/sql/query83.sql new file mode 100644 index 000..514beb4 --- /dev/null +++