I am trying to do some basic things with calcite to understand the framework. I have setup a simple example that is supposed to read from 2 json files. My model looks like <
The problem is case-sensitivity. Because you did not enclose the table name in double-quotes, Calcite's SQL parser converted it to upper case. Because the file is called 'a.json', the table is also called 'a', whereas your query is looking for a table called 'A'.
The solution is to write your query as follows:
select _MAP['name'] from "a"
This becomes:
stat.execute("select _MAP['name'] from \"a\"");
when you embed it in Java.