Strategy ONE
Enable Google BigQuery Catalog Retrieval for Strategy Web or Library on Linux
Strategy can retrieve catalog information using JDBC/ODBC or SQL catalog retrieval mode. However, SQL catalog retrieval is disabled by default for Google BigQuery.
This topic covers enabling catalog retrieval in MicroStrategy 2021 Update 7 and older. Starting in MicroStrategy 2021 Update 8, this setting is enabled by default.
-
Connect to the MicroStrategy server using SSH.
-
Navigate to
/opt/apache/tomcat/latest/webapps/MicroStrategy/WEB-INF/xml
and editDBProperties.xml
. -
Find the following line.
Copy<dbType n="GoogleBigQuery" v="4700" disp="1" catSQL="0"/>
-
Change the line to the following.
Copy<dbType n="GoogleBigQuery" v="4700" disp="1" catSQL="1"/>
-
Save your changes and exit the editor.
-
Navigate to
/opt/apache/tomcat/latest/webapps/MicroStrategyLibrary/WEB-INF/xml
and editDBProperties.xml
. -
Find the following line.
Copy<dbType n="GoogleBigQuery" v="4700" disp="1" catSQL="0"/>
-
Change the line to the following.
Copy<dbType n="GoogleBigQuery" v="4700" disp="1" catSQL="1"/>
-
Save your changes and exit the editor.
-
Stop the Apache Tomcat web server by executing the following command:
Copy/opt/apache/tomcat/latest/bin/shutdown.sh
-
Start the Apache Tomcat web server by executing the following command:
Copy/opt/apache/tomcat/latest/bin/startup.sh
To switch catalog retrieval from JDBC/ODBC to SQL mode, see Switch Catalog Retrieval from JDBC/ODBC to SQL Query Mode