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 2022/01/16 22:14:10 UTC

[GitHub] [airflow] yiga2 opened a new issue #20897: BQ link console not working - new syntax

yiga2 opened a new issue #20897:
URL: https://github.com/apache/airflow/issues/20897


   ### Apache Airflow Provider(s)
   
   google
   
   ### Versions of Apache Airflow Providers
   
   6.3
   
   ### Apache Airflow version
   
   2.2.2
   
   ### Operating System
   
   Ubuntu
   
   ### Deployment
   
   Other Docker-based deployment
   
   ### Deployment details
   
   _No response_
   
   ### What happened
   
   Seems G has changed the format of the URL to get to a query job. 
   The `j` parameter = `jobID` is not sufficient anymore. If you try, website states it needs `location` from now on too.
   Error is `Invalid value for location: undefined is not a valid value`
   Weird as unannounced but at the same time, there is no official documentation for the console shortcuts neither.
   
   ### What you expected to happen
   
   I found out that prefixing the jobId with `bq:US:` works for me so it seems the link code must be changed to pass the region as part of `j` param
   
   ### How to reproduce
   
   any task calling the bigquery link routine 
   
   ### Anything else
   
   Not willing to create a PR as no idea what else G has or may change in the future without formal documentation - only Googlers would know internally.
   
   ### Are you willing to submit PR?
   
   - [ ] 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] yiga2 edited a comment on issue #20897: BQ link console not working - new syntax

Posted by GitBox <gi...@apache.org>.
yiga2 edited a comment on issue #20897:
URL: https://github.com/apache/airflow/issues/20897#issuecomment-1015493937


   Honestly no because the shortcut (direct hyperlink) is not documented i.e. endpoint + params that are available. They may change at any point in time w/o notice - like here. If Google makes the feature public, I sure would as there is other parameters that could be used e.g. direct access to datasets, projects, any jobs,.... For now, it looks more like a hack. 


-- 
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] yiga2 commented on issue #20897: BQ link console not working - new syntax

Posted by GitBox <gi...@apache.org>.
yiga2 commented on issue #20897:
URL: https://github.com/apache/airflow/issues/20897#issuecomment-1013967405


   Actually, that new syntax is out there for quite some time but the `BigQueryConsoleLink` class is not used anymore except in deprecated operators. It would be helpful to fix it and include in the `BigQueryInsertJobOperator`


-- 
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] yiga2 commented on issue #20897: BQ link console not working - new syntax

Posted by GitBox <gi...@apache.org>.
yiga2 commented on issue #20897:
URL: https://github.com/apache/airflow/issues/20897#issuecomment-1015493937


   Honestly no because the shortcut (direct hyperlink) is not documented i.e. endpoint + params that are available. They may change at any point in time w/o notice - like here. If Google makes the feature public, I sure would. For now, it looks more like a hack. 


-- 
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 #20897: BQ link console not working - new syntax

Posted by GitBox <gi...@apache.org>.
eladkal commented on issue #20897:
URL: https://github.com/apache/airflow/issues/20897#issuecomment-1015448452


   @yiga2 would you like to work on it?


-- 
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] yiga2 closed issue #20897: BQ link console not working - new syntax

Posted by GitBox <gi...@apache.org>.
yiga2 closed issue #20897:
URL: https://github.com/apache/airflow/issues/20897


   


-- 
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