{"id":15483007,"url":"https://github.com/devth/calcite-map-demo","last_synced_at":"2025-04-22T15:45:48.366Z","repository":{"id":23418904,"uuid":"26781595","full_name":"devth/calcite-map-demo","owner":"devth","description":"Demonstration of integrating Calcite with a hierarchical dataset","archived":false,"fork":false,"pushed_at":"2015-02-03T23:20:48.000Z","size":244,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T16:41:03.841Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-17T23:03:39.000Z","updated_at":"2025-03-15T23:04:06.000Z","dependencies_parsed_at":"2022-08-18T23:02:16.764Z","dependency_job_id":null,"html_url":"https://github.com/devth/calcite-map-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devth%2Fcalcite-map-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devth%2Fcalcite-map-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devth%2Fcalcite-map-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devth%2Fcalcite-map-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devth","download_url":"https://codeload.github.com/devth/calcite-map-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250271682,"owners_count":21403238,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T05:10:30.369Z","updated_at":"2025-04-22T15:45:48.338Z","avatar_url":"https://github.com/devth.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# calcite-map-demo\n\nDemonstrates querying nested data with Calcite.\n\n## Run the Tests\n\n```shell\nmvn test -Dsuites=devth.calcite.TestRemoteCalcite \n\nmvn test -Dsuites=devth.calcite.TestMapCalcite \n\n```\n\n## Open a sqlline shell\n\n```\n./sqlline\nsqlline\u003e !connect jdbc:calcite:model=src/test/resources/model.json admin admin\n0: jdbc:calcite:model=src/test/resources/mode\u003e !tables\n+-----------+-------------+------------+------------+---------+----------+------------+-----------+---------------------------+----------------+\n| TABLE_CAT | TABLE_SCHEM | TABLE_NAME | TABLE_TYPE | REMARKS | TYPE_CAT | TYPE_SCHEM | TYPE_NAME | SELF_REFERENCING_COL_NAME | REF_GENERATION |\n+-----------+-------------+------------+------------+---------+----------+------------+-----------+---------------------------+----------------+\n| null      | map_raw     | foo        | TABLE      | null    | null     | null       | null      | null                      | null           |\n| null      | metadata    | COLUMNS    | SYSTEM_TABLE | null    | null     | null       | null      | null                      | null           |\n| null      | metadata    | TABLES     | SYSTEM_TABLE | null    | null     | null       | null      | null                      | null           |\n+-----------+-------------+------------+------------+---------+----------+------------+-----------+---------------------------+----------------+\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevth%2Fcalcite-map-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevth%2Fcalcite-map-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevth%2Fcalcite-map-demo/lists"}