#CELERY_RESULT_BACKEND = "db+sqlite:///celery_results.sqlite"
CELERYD_LOG_LEVEL = "DEBUG"
CELERYD_PREFETCH_MULTIPLIER = 1
CELERY_ACKS_LATE = False
CELERY_ANNOTATIONS = {
"sql_lab.get_sql_results": {"rate_limit": "100/s"},
"email_reports.send": {
"rate_limit": "1/s",
"time_limit": 120,
"soft_time_limit": 150,
"ignore_result": True,
},
}
CELERYBEAT_SCHEDULE = {
"email_reports.schedule_hourly": {
"task": "email_reports.schedule_hourly",
"schedule": crontab(minute=55, hour="*"),
}
}
qlalchemy.exc.ProgrammingError: (psycopg2.ProgrammingError) column dbs.perm does not exis
superset db upgrade
I get the following:
sqlalchemy.exc.InternalError: (psycopg2.InternalError) cannot drop table report_schedule because other objects depend on it
DETAIL: constraint report_execution_log_report_schedule_id_fkey on table report_execution_log depends on table report_schedule
constraint report_recipient_report_schedule_id_fkey on table report_recipient depends on table report_schedule
constraint report_schedule_user_report_schedule_id_fkey on table report_schedule_user depends on table report_schedule
HINT: Use DROP ... CASCADE to drop the dependent objects too.
We are currently amidst a situation, where we want our Dashboard/chart owners to share their dashboard to only a specific set of user, to whom the owner decides to share it with (also some sort of audit for the owners to know who and all have access to dashboard ) .
Version: 0.37.2
Deployed: Google Kubernetes engine & on prem
Authentication: Oauth
Role: Custom role for all normal users (Gamma + sql lab role)
Database: Connection to presto only
Meta store : Postgres (stand alone outside Gke)
Notes : Each user have their own unique database connection to the same presto . Hence the data source permissions for charts are assigned manually for now . We need to automate the permission
Primary concern : The user should to whom the dashboard is shared should only have read access . also some sort of audit for the owners to know who and all have access to dashboard