0

参考:https ://cloud.google.com/composer/docs/how-to/using/using-dataflow-template-operator 代码:https ://github.com/kolban-google/composer-dataflow

使用以下脚本提交作业,但转换步骤不生成任何数据,仅显示以下错误。

消息:“警告:计划从未来的 JDK 版本中删除 Nashorn 引擎”步骤:“JavascriptTextTransformer.TransformTextViaJavascript/ParDo(Anonymous)”

因此,“插入 Bigquery”步骤失败。

--region us-east4 \
--subnetwork regions/us-east4/subnetworks/test-subnetwork \
--worker-zone us-east4-b \
--disable-public-ips \
--gcs-location gs://dataflow-templates/latest/GCS_Text_to_BigQuery \
--parameters \
javascriptTextTransformFunctionName=transformCSVtoJSON,\
JSONPath=gs://test-dataflow-temp-bucket/sample/jsonSchema.json,\
javascriptTextTransformGcsPath=gs://test-dataflow-temp-bucket/sample/transformCSVtoJSON.js,\
inputFilePattern=gs://test-dataflow-temp-bucket/sample/inputFile.txt,\
outputTable=test-project:average_weather.average_weather,\
bigQueryLoadingTemporaryDirectory=gs://test-dataflow-temp-bucket/sample/tmp/```
4

0 回答 0