Skip to main content

Community

Other: HVR - Override standard query_tag for snowflake

Planned

Please sign in to leave a comment.

Comments

7 comments

  • Official comment

    Hi Jean,

    I'm happy to report that the engineering work is done and this feature will be added to the next HVR EA release HVR 6.3.5/4

    Best regards,

    Edwin

    Hi Jean,

    Thank you for reaching out with this enhancement request.

    To summarise what you are asking for:

    • Custom Snowflake tag override: ability to replace HVR's predefined standard tag string with your own tag, to support accurate cost tracking and allocation per ingestion process
    • Possible JSON tag format:

    This feature request will be discussed with the integration team and will come back ASAP.

    Best regards,

    Edwin

    Hello Edwin,

    thanks for your feedback.

    Example of JSON /query make on snowflake session : 

    alter session set query_tag = '{"APP": "FIVETRAN", "PROJECT": "X", "DOMAINE": "FINANCE"}'

    Regards

    Jean

    Thank you Jean,

    I've added this example to the Feature Request...

    Best regards,

    Edwin

    Hi Jean, we have looked at your input and we see two options to fullfil this request:

    1. append in the end of query_tag: HVR: hub_pid=123,agent_pid=456,...,user_tag={{"APP":"FIVETRAN","PROJECT":"X","DOMAINE":"FINANCE"}}
    2. use the query_comment: alter session set query_tag = 'HVR: hub_pid=123,...'; alter session set query_comment = '{"APP":"FIVETRAN","PROJECT":"X"}';

    Which option would best suit your purpose?

    Best regards,

    Edwin

    Hello Edwin,

    Thanks for the proposal, as I see we cannot override.

    The first proposal is better for us.

    Thanks

    Jean

    Ok we do option one. The reason we need to keep out part of the tag is that it is required for our own internal job management.

    I will let you know when there is progress to report

    Best regards.

    Edwin