snowflakedb / snowpark-java-scala

Snowflake Snowpark Java & Scala API
Apache License 2.0
18 stars 21 forks source link

SIT-1627: Set the app name in the session query tag in JSON format #116

Closed sfc-gh-fgonzalezmendez closed 3 months ago

sfc-gh-fgonzalezmendez commented 3 months ago

Please answer these questions before submitting your pull requests. Thanks!

  1. What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.

    Fixes SIT-1627

  2. Fill out the following pre-review checklist:

    • [X] I am adding a new automated test(s) to verify correctness of my new code
    • [ ] I am adding new logging messages
    • [ ] I am adding a new telemetry message
    • [ ] I am adding new credentials
    • [ ] I am adding a new dependency
  3. Please describe how your code solves the related issue.

    When a new session is created, the app name will be set to the session query tag in JSON format instead of the key=value format used in previous versions. The goal of this change is to make the app name compatible with the updateQueryTag function.

Pre-review checklist

(For Snowflake employees)