This workflow demonstrates how to connect to various Google Cloud Services such as Google BigQuery, Google Dataproc, and Google Cloud Storage from within KNIME Analytics Platform. The Google Authentication (API Key) node allows you to authenticate with the various Google APIs using a p12 key file.
The output of the Google Authentication (API Key) node can be used as input for the Google BigQuery Connector node. The Google BigQuery Connector node provides a DB Connection which can be used with the existing DB nodes to visually assemble queries that are executed within your BigQuery cluster. To upload large amounts of data into the BigQuery cluster use the DB Loader node since the JDBC based interface has a lot of restrictions.
The Google Cloud Storage Connector node connects KNIME Analytics Platform with your Google Cloud Storage and allows you to work with your files using the file handling nodes. The Google Cloud Storage File Picker node creates a pre-signed URL that can be used in the reader nodes in KNIME to read directly from Google Cloud Storage or that can be shared with other users to access the dedicated files without the need for authentication.
Finally, the Create Spark Context (Livy) node can be used to set up a Spark context in your Google Cloud Dataproc. In order to use the node, you need to execute the Apache Livy Initialization Action during cluster creation. For more details see link to the documentation. Once a context is created you can use all the existing Spark nodes to visually assemble your Spark analysis flow.
To use this workflow in KNIME, download it from the below URL and open it in KNIME:Download Workflow
Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to firstname.lastname@example.org, follow @NodePit on Twitter, or chat on Gitter!
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.