Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add node sample for cloud composer tutorial #1708

Merged
merged 13 commits into from
Apr 16, 2020
Merged
Prev Previous commit
Next Next commit
fix: change readme and codeowners file
  • Loading branch information
sofisl committed Apr 10, 2020
commit fceb9a9b4a64201272f49ce8f9052c2832d3e2dd
2 changes: 1 addition & 1 deletion composer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ This is the code for the transform CSV-to-JSON code sample for the [Using the Da

This tutorial shows how to use the DataflowTemplateOperator to launch Dataflow Pipelines from Cloud Composer. The Cloud Storage Text to BigQuery (Stream) pipeline is a streaming pipeline that allows you to stream text files stored in Cloud Storage, transform them using a JavaScript User Defined Function (UDF) that you provide, and output the results to BigQuery. We'll use Cloud Composer to kick off a Cloud Dataflow pipeline that will apply the User-Defined Function to our .txt file and format it according to the JSON schema.

* The code held in this repo is a User Defined Function written in JavaScript that will transform each line of a .txt file into the relevant columns for a BigQuery table.
The code held in this repo is a User Defined Function written in JavaScript that will transform each line of a .txt file into the relevant columns for a BigQuery table.

[tutorial-link]: https://cloud.devsite.corp.google.com/composer/docs/how-to/using/using-dataflow-template-operator?auto_signin=false
2 changes: 1 addition & 1 deletion composer/test/composer_transform_csv_to_json.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const {assert} = require('chai');
const tutorial = require('../composerJSTutorial.js');
const tutorial = require('../composer_transform_csv_to_json.js');

const lineTest = 'tampa, 106, january, null, null, 08-17-2019';

Expand Down