vertica / VerticaPy

VerticaPy is a Python library that exposes sci-kit like functionality to conduct data science projects on data stored in Vertica, thus taking advantage Vertica’s speed and built-in analytics and machine learning capabilities.
https://www.vertica.com/python/
Apache License 2.0
218 stars 44 forks source link

Queryprofiler import restriction for same target_schema and key_id combination #1199

Closed mail4umar closed 3 months ago

mail4umar commented 3 months ago

When the users import a queryprofiler object from a file and provide a schema and key combination that has already been used, it will now raise an error instead of overwriting/appending.

qprof = QueryProfiler.import_profile(target_schema=target_schema_val,
    key_id=key_val,
    filename=file_val,
    auto_initialize = False