You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by jh...@apache.org on 2015/08/01 00:43:17 UTC
[40/50] [abbrv] incubator-calcite git commit: Schema for
[CALCITE-729] IndexOutOfBoundsException in ROLLUP query on JDBC data source
Schema for [CALCITE-729] IndexOutOfBoundsException in ROLLUP query on JDBC data source
Project: http://git-wip-us.apache.org/repos/asf/incubator-calcite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-calcite/commit/ee68f833
Tree: http://git-wip-us.apache.org/repos/asf/incubator-calcite/tree/ee68f833
Diff: http://git-wip-us.apache.org/repos/asf/incubator-calcite/diff/ee68f833
Branch: refs/heads/branch-release
Commit: ee68f83359f01194283c14dbe80c27c0694fbf29
Parents: 0e7de28
Author: Julian Hyde <jh...@apache.org>
Authored: Fri May 15 13:01:56 2015 -0700
Committer: Julian Hyde <jh...@apache.org>
Committed: Fri May 15 21:39:09 2015 -0700
----------------------------------------------------------------------
core/src/test/resources/hsqldb-model.json | 55 ++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-calcite/blob/ee68f833/core/src/test/resources/hsqldb-model.json
----------------------------------------------------------------------
diff --git a/core/src/test/resources/hsqldb-model.json b/core/src/test/resources/hsqldb-model.json
new file mode 100644
index 0000000..a53efef
--- /dev/null
+++ b/core/src/test/resources/hsqldb-model.json
@@ -0,0 +1,55 @@
+/*
+ * 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.
+ */
+{
+ version: '1.0',
+ defaultSchema: 'SCOTT',
+ schemas: [ {
+ type: 'jdbc',
+ name: 'FOODMART',
+ jdbcUser: 'FOODMART',
+ jdbcPassword: 'FOODMART',
+ jdbcUrl: 'jdbc:hsqldb:res:foodmart',
+ jdbcSchema: 'foodmart'
+ }, {
+ type: 'jdbc',
+ name: 'SCOTT',
+ jdbcUser: 'SA',
+ jdbcPassword: '',
+ jdbcUrl: 'jdbc:hsqldb:res:scott',
+ jdbcSchema: 'SCOTT'
+ }, {
+ type: 'custom',
+ name: 'FOODMART_CLONE',
+ factory: 'org.apache.calcite.adapter.clone.CloneSchema$Factory',
+ operand: {
+ jdbcUser: 'FOODMART',
+ jdbcPassword: 'FOODMART',
+ jdbcUrl: 'jdbc:hsqldb:res:foodmart',
+ jdbcSchema: 'foodmart'
+ }
+ }, {
+ type: 'custom',
+ name: 'SCOTT_CLONE',
+ factory: 'org.apache.calcite.adapter.clone.CloneSchema$Factory',
+ operand: {
+ jdbcUser: 'SA',
+ jdbcPassword: '',
+ jdbcUrl: 'jdbc:hsqldb:res:scott',
+ jdbcSchema: 'SCOTT'
+ }
+ } ]
+}