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

[BUG]TruLens Saves Data in Previously Used Schema Despite Configuration to Use New Schema #1736

Open
HannaHUp opened this issue Jan 17, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@HannaHUp
Copy link

Bug Description
I was using the PUBLIC schema, and all the tables in the PUBLIC schema were created by TruLens. Now, I have created all the tables under the TRULENS schema and configured the session to use the TRULENS schema. However, despite confirming the active schema as TRULENS using the CURRENT_SCHEMA() query, TruLens still saves new data into the PUBLIC schema instead of the intended TRULENS schema.

I don’t want to move the old data into the new schema. I want the data in the PUBLIC schema to remain there while new data is saved in the TRULENS schema. What should I do to achieve this?

sf_settings = {
    'account': 'P',
    'database': 'da',
    'warehouse': 'OH',
    'role': 'T',
    'user': 'NG',
    'schema': 'TRULENS',
    'password': {'password': None},
    'paramstyle': 'qmark'
}

Image

Image

Environment:

snowflake-sqlalchemy version: 1.7.3
trulens-eval version: 1.3.2
LiteLLM version: 1.57.8
"python.version" : 3.11.11,
"python.connector.version" : 3.12.1,
"os.name" : Linux

Additional context
Add any other context about the problem here.

@HannaHUp HannaHUp added the bug Something isn't working label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants