sunkickr opened a new pull request #14631:
URL: https://github.com/apache/airflow/pull/14631
Adds form fields and custom form behavior for the Snowflake connection so
that it is more obvious to new users what fields need to be filled out. I have
divided the inputs into three main categories and created three proposals. The
code in this PR implements proposal 1. Also the doc_strings for the hook are
updated to reflect the params along with helpful information using sphinx
directives.
Fields/inputs Used by the average user
- Conn Id
- Conn Type
- Host
- Schema
- Login
- Password
- account
- database
- region
Fields/inputs not used by user
- Port
Fields/inputs not used by user but reflected in code(not used by average
user)
- role
- authenticator
- private_key_field
- session_parameters
- aws_access_key_id
- aws_secret_access_key
## Proposal 1
- Add fields used by the average user, remove fields not used by the users,
and allow users to use extras for fields that are not used by average user
- Add placeholders so users have a little more information on fields
- ex. Login: "your snowflake username"
screenshot:

## Proposal 2
- Add all fields used reflected as options in the code except AWS, remove
fields not used by the users, allow users to use extras for AWS
- Add placeholders so users have a little more information on fields
- ex. Login: "your snowflake username"
## Proposal 3
- Add all fields used reflected as options in the code, remove fields not
used by the users including extras
- Add placeholders so users have a little more information on fields
- ex. Login: "your snowflake username"
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]