-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[gcp] "GCP Cloud BigQuery Invalid table-valued function EXTERNAL_QUER…
…Y Failed to connect 에러 해결" 글 포스팅하였다.
- Loading branch information
Showing
5 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
_posts/gcp/2024-04-07-gcp-bigquery-connect-to-cloudsql-error.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
title: GCP Cloud BigQuery Invalid table-valued function EXTERNAL_QUERY Failed to connect 에러 해결 | ||
author: sunshine@ptokos.com | ||
categories: [gcp] | ||
--- | ||
|
||
## 해결 방법 | ||
> Service Account 에서 Cloud SQL Client 권한을 추가 | ||
## 문제 상황 | ||
BigQuery 에서 Cloud SQL 에 연결 한 후 쿼리를 실행하려고하니 _Invalid table-valued function EXTERNAL_QUERY Failed to connect to the Cloud SQL instance_ 이 발생 | ||
|
||
![1.png](/assets/img/gcp/gcp-bigquery-connect-to-cloudsql-error-1.png) | ||
|
||
![2.png](/assets/img/gcp/gcp-bigquery-connect-to-cloudsql-error-2.png) | ||
|
||
## 해결 과정 | ||
Connection Info 에 있는 Service Account 를 확인한다. | ||
|
||
![3.png](/assets/img/gcp/gcp-bigquery-connect-to-cloudsql-error-3.png) | ||
|
||
IAM & Admin 에서 해당 Service Account 에 Cloud SQL Client 권한을 추가한다. | ||
|
||
![4.png](/assets/img/gcp/gcp-bigquery-connect-to-cloudsql-error-4.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.