wzcyc
wzcyc
it works as workaround for me. I just lanuch another cube only another data source (clickhouse). Use this new cube core instance to create new data model file. the .env...
It works for the lastest version of cubejs. first set the .env like this: CUBEJS_DATASOURCES=default,tenant CUBEJS_DB_HOST=host CUBEJS_DB_PORT=port CUBEJS_DB_NAME=databasename CUBEJS_DB_USER=user CUBEJS_DB_PASS=pass CUBEJS_DB_TYPE=clickhouse CUBEJS_API_SECRET=secret CUBEJS_EXTERNAL_DEFAULT=true CUBEJS_SCHEDULED_REFRESH_DEFAULT=true CUBEJS_DEV_MODE=true CUBEJS_SCHEMA_PATH=model CUBEJS_DS_TENANT_DB_TYPE=postgres CUBEJS_DS_TENANT_DB_HOST=host CUBEJS_DS_TENANT_DB_NAME=databasename CUBEJS_DS_TENANT_DB_USER=user...
公司名称:上海魔拾科技有限公司 使用场景:数据质量检查