snowflakedb / snowpark-java-scala

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

SCT-7633 Adding com.snowflake.snowpark.Session.SessionBuilder.getOrCreate #67

Closed sfc-gh-avenegas closed 11 months ago

sfc-gh-avenegas commented 11 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: SCT-7633

  2. Fill out the following pre-review checklist:

    • [x] I am adding a new automated test(s) to verify correctness of my new code
    • [X] 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.

    I just added com.snowflake.snowpark.Session.SessionBuilder.GetOrCreate method for both Scala and Java API to automize getOrCreate method conversion.

Pre-review checklist

(For Snowflake employees)