Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support read-only rights #693

Open
Vfisa opened this issue May 12, 2023 · 2 comments
Open

Support read-only rights #693

Vfisa opened this issue May 12, 2023 · 2 comments

Comments

@Vfisa
Copy link

Vfisa commented May 12, 2023

I would like to use Piperider to profile datasets with user that has read-only rights to those tables. So far CLI nor dbt-config did not allow me to do so - it only allows me to profile the particular schema used in the config. This is an example:
Screenshot_2023-05-10_at_16 51 20
My user has a dedicated workspace with write access and has a read-only access to schemas/tables I would like to run profiling.

when I forced it through CLI --table command it ended up with this error:

Error: Profiler Exception: ProgrammingError('(snowflake.connector.errors.ProgrammingError) 001059 (22023) : SQL compilation error: Must specify the full search path starting from database for SAPI_9609
[SOL: SHOW /* sqlalchemy:_get_schema_primary_keys */PRIMARY KEYS IN SCHEMA sapi_96091
(Background on this error at: https://sqlalche.me/e/14/f405)')
@popcornylu
Copy link
Contributor

For internal tracking sc-31341

@kentwelcome
Copy link
Member

@Vfisa PipeRider does support accessing the read-only snowflake tables.
However, the CLI run option --table with schema and table name didn't work here could be caused by the following issue: #666

We already fix this issue at the PipeRider latest version v0.24.1
https://github.com/InfuseAI/piperider/releases/tag/v0.24.1

Could you please upgrade the PipeRider to the latest version and try to reproduce this issue again?
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants