Skip to content

[Tech Debt] Collapse the db insert into single method to support both append and overwrite. #2093

@sundarshankar89

Description

@sundarshankar89

Seems that there are 2 similar functions for inserting profiler data, but radically different behavior. Workspace artifacts and monitoring metrics leverage this function, which does not support an append. However, serverless SQL pools and dedicated SQL pools leverage a function called save_resultset_to_db, which does support and append. Why the difference in behavior for these sets of Synapse objects? Perhaps combine the functions into a single function and use the mode param to dictate the behavior?

Originally posted by @goodwillpunning in #2020 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    feat/profilerIssues related to profilers

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions