Open sfc-gh-jfreeberg opened 1 year ago
We got some feedback that that the pattern of passing a Map<String, String> is not best practice. Let's update the Builder class to support the following:
Map<String, String>
Java
Session session = Session.builder() .url("myaccount.snowflakecomputing.com") .user("myusername") .password(myPassword) .role("admin") .warehouse("my_wh") .database("my_db") .schema("my_schema") .create()
Scala
val session = Session.builder .url("myaccount.snowflakecomputing.com") .user("myusername") .password(myPassword) .role("admin") .warehouse("my_wh") .database("my_db") .schema("my_schema") .create
This is tangentially related to #1
Open questions:
.database()
.db()
We got some feedback that that the pattern of passing a
Map<String, String>
is not best practice. Let's update the Builder class to support the following:Java
Scala
This is tangentially related to #1
Open questions:
.database()
, called.db()
?