cube-js / cube-js/cube

getting a error "database undefined does not exist" while setting multi tenancy

Open
#8,000 4 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Rust
Stars
20.8k
Forks
2.1k
Avg merge
1d 2h
Merged PRs (30d)
181

Description

Hi everyone I am using cube cloud to do POC for our use case but i am struck at setting up the multi tenancy in cube.js file i have configured
contextToAppId, contextToOrchestratorId, driverFactory, scheduledRefreshContexts and when i am trying to query the models in the playground its throwing an error database "undefined" does not exist please can anyone can guide me on this in the sql runner i am getting all the tables and data of the respective database that i am setting dynamically i am posting screenshots below.

Screenshot 2024-03-26 at 4 41 14 PM

Screenshot 2024-03-26 at 4 42 12 PM

Screenshot 2024-03-26 at 4 42 00 PM

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.