You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by vl...@apache.org on 2019/01/04 14:09:18 UTC
[calcite] branch master updated: Site: fix JSON syntax error at
file adapter page (Marc Prud'hommeaux)
This is an automated email from the ASF dual-hosted git repository.
vladimirsitnikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite.git
The following commit(s) were added to refs/heads/master by this push:
new 1556cdd Site: fix JSON syntax error at file adapter page (Marc Prud'hommeaux)
1556cdd is described below
commit 1556cdd4bb67e85f1e4036730fa510a29db59df3
Author: Marc Prud'hommeaux <ma...@glimpse.io>
AuthorDate: Tue Dec 11 21:35:20 2018 -0500
Site: fix JSON syntax error at file adapter page (Marc Prud'hommeaux)
The "tables" operand should take an array, but the JSON example doesn't wrap the two tables in brackets.
fixes #965
---
site/_docs/file_adapter.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/site/_docs/file_adapter.md b/site/_docs/file_adapter.md
index 54d9a8e..1112a09 100644
--- a/site/_docs/file_adapter.md
+++ b/site/_docs/file_adapter.md
@@ -72,13 +72,13 @@ as follows.
"type": "custom",
"factory": "org.apache.calcite.adapter.file.FileSchemaFactory",
"operand": {
- "tables": {
+ "tables": [ {
"name": "EMPS",
"url": "file:file/src/test/resources/sales/EMPS.html"
}, {
"name": "DEPTS"
"url": "file:file/src/test/resources/sales/DEPTS.html"
- }
+ } ]
}
]
}