質問するログイン新規登録

質問編集履歴

1

bigquery環境、odbc設定、USregionの成功例の追記

2018/11/14 11:54

投稿

yutakudo12
yutakudo12

スコア13

title CHANGED
File without changes
body CHANGED
@@ -2,9 +2,14 @@
2
2
  big queryとエクセルのODBCを用いたコネクション
3
3
 
4
4
  ## 環境
5
+ OS:
5
- Win10 64bit
6
+ Win10 64bit
7
+ Excel:
6
- Excel 2016 64bit
8
+ 2016 64bit
9
+ ODBC Driver:
7
- Simba ODBC Driver for Google BigQuery DSN v2.1.11.1.11 64bit
10
+ Simba ODBC Driver for Google BigQuery DSN v2.1.11.1.11 64bit
11
+ Big Query:
12
+ asia-north-east region (追記1114)
8
13
 
9
14
  ## 現状
10
15
  Simba ODBC Driver for Google BigQueryを用いたDSNの設定は完了済
@@ -17,6 +22,7 @@
17
22
  データの取得→その他のデータソースから→ODBC→上記のtest成功済DSNを選択
18
23
  →ナビゲーター表示→取得したいデータセット名まで表示成功
19
24
 
25
+ GCPコンソール上でのクエリ履歴上では成功(追記1114)
20
26
 
21
27
  ## 問題
22
28
  上記ナビゲータで表示されているデータセット名を選択すると、データは表示されずに下記のエラーが発生
@@ -29,4 +35,37 @@
29
35
  OdbcErrors=Table
30
36
  ```
31
37
 
32
- APIの設定がまずいのでしょうか、、、。
38
+ APIの設定がまずいのでしょうか、、、。
39
+
40
+
41
+ ## 追記
42
+ ### odbcの設定
43
+ ```odbc.ini
44
+ [ODBC 32 bit Data Sources]
45
+ (DNS名)=Simba ODBC Driver for Google BigQuery (32 bit)
46
+ SQLDialect=1
47
+ [(DNS名)]
48
+ Driver32=C:\Program Files\Simba ODBC Driver for Google BigQuery\lib\GoogleBigQueryODBC_sb64.dll
49
+ SQLDialect=1
50
+ ```
51
+ ```odbc.inst
52
+ [MySQL ODBC 8.0 ANSI Driver (32 bit)]
53
+ Driver=C:\Program Files\MySQL\Connector ODBC 8.0\myodbc8a.dll
54
+ Setup=C:\Program Files\MySQL\Connector ODBC 8.0\myodbc8S.dll
55
+ 32Bit=1
56
+ [ODBC 32 bit Drivers]
57
+ MySQL ODBC 8.0 ANSI Driver (32 bit)=Installed
58
+ MySQL ODBC 8.0 Unicode Driver (32 bit)=Installed
59
+ [MySQL ODBC 8.0 Unicode Driver (32 bit)]
60
+ Driver=C:\Program Files\MySQL\Connector ODBC 8.0\myodbc8w.dll
61
+ Setup=C:\Program Files\MySQL\Connector ODBC 8.0\myodbc8S.dll
62
+ 32Bit=1
63
+ ```
64
+ ### 環境追記
65
+ Big Query:
66
+ asia-north-east region (追記1114)
67
+ ### 可能性のある原因
68
+ US regionのデータセットに対しては問題なく接続、クエリ結果がエクセル上でも確認できた
69
+ もしかしたら、asia-north-east regionに問題があるのかも知れません。
70
+ 同様の現象は他アプリケーションでも起きているようです。
71
+ http://bi.pasona.co.jp/forum/index.php?qa=21225&qa_1=bigquery-power-bi-desktop%E9%80%A3%E6%90%BA%E3%81%AB%E9%96%A2%E3%81%97%E3%81%A6