You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/09/08 21:12:55 UTC
[GitHub] [airflow] weiminmei opened a new issue #18102: Snowflake provider not accepting private_key_file in extras
weiminmei opened a new issue #18102:
URL: https://github.com/apache/airflow/issues/18102
### Apache Airflow Provider(s)
snowflake
### Versions of Apache Airflow Providers
2.1.1
### Apache Airflow version
2.1.3 (latest released)
### Operating System
centos7
### Deployment
Virtualenv installation
### Deployment details
Created a virtualenv, did a pip install.
### What happened
I am adding the dictionary below to the extras in snowflake connections. After I click save and try to access this connection, I get a response that the password field is empty. This leads me to believe that the dictionary key is not being picked up.
`{ "private_key_file": "/etc/key/key.pk8" }`
### What you expected to happen
With the private_key_file provided, the session should connect without any errors.
### How to reproduce
Install apache-airflow-providers-snowflake 2.1.1
Go to connections
Add Snowflake
In extras field, enter the dictionary, click save.
### Anything else
Looks like it might be the same issue as https://github.com/apache/airflow/pull/16735.
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] eladkal commented on issue #18102: Snowflake provider not accepting private_key_file in extras
Posted by GitBox <gi...@apache.org>.
eladkal commented on issue #18102:
URL: https://github.com/apache/airflow/issues/18102#issuecomment-917581888
@weiminmei Can you please check if the issue still happens in `2.2.0b1` ?
The release includes https://github.com/apache/airflow/pull/17269 which should solve your issue.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] weiminmei commented on issue #18102: Snowflake provider not accepting private_key_file in extras
Posted by GitBox <gi...@apache.org>.
weiminmei commented on issue #18102:
URL: https://github.com/apache/airflow/issues/18102#issuecomment-923192400
> @weiminmei Can you please check if the issue still happens in `2.2.0b1` ?
> This is a beta release that includes #17269 which should solve your issue.
Sure, let me see about getting this version spun up to check. Does this mean that 2.1.4 did not include any fix for this?
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] weiminmei commented on issue #18102: Snowflake provider not accepting private_key_file in extras
Posted by GitBox <gi...@apache.org>.
weiminmei commented on issue #18102:
URL: https://github.com/apache/airflow/issues/18102#issuecomment-924381869
Hi,
On version 2.2.0b1, looks like this is addressed.

--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] uranusjr closed issue #18102: Snowflake provider not accepting private_key_file in extras
Posted by GitBox <gi...@apache.org>.
uranusjr closed issue #18102:
URL: https://github.com/apache/airflow/issues/18102
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] eladkal edited a comment on issue #18102: Snowflake provider not accepting private_key_file in extras
Posted by GitBox <gi...@apache.org>.
eladkal edited a comment on issue #18102:
URL: https://github.com/apache/airflow/issues/18102#issuecomment-917581888
@weiminmei Can you please check if the issue still happens in `2.2.0b1` ?
This is a beta release that includes https://github.com/apache/airflow/pull/17269 which should solve your issue.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] boring-cyborg[bot] commented on issue #18102: Snowflake provider not accepting private_key_file in extras
Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #18102:
URL: https://github.com/apache/airflow/issues/18102#issuecomment-915575422
Thanks for opening your first issue here! Be sure to follow the issue template!
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] josh-fell commented on issue #18102: Snowflake provider not accepting private_key_file in extras
Posted by GitBox <gi...@apache.org>.
josh-fell commented on issue #18102:
URL: https://github.com/apache/airflow/issues/18102#issuecomment-916419483
This is a symptom of connections using both custom fields and the classic `Extras` field in the connection form. [This PR](https://github.com/apache/airflow/pull/17269) will fix the collision issue between the custom fields (which use `Extras` under the hood) and classic `Extra` values but it's definitely a good idea if there were explicit fields in the connection form for the parameters that are needed to connect to Snowflake.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org