JSON 使用 write_disposition=writeAppend 追加到 Big Query CLI 失败
JSON to append in Big Query CLI using write_disposition=writeAppend fails
我无法使 BQ shell 使用关键字 --write_disposition=WRITE_APPEND.
附加 JSON 文件
load --sour_format=NEWLINE_DELIMITED_JSON --write_disposition=WRITE_APPEND dataset.tablename /home/file1/one.log /home/file1/jschema.json
我有一个名为 one.log 的文件及其架构 jschema.json。
执行脚本时,显示
FATAL flags parsing error : unknown command line flag 'write_dispostion'
RUN 'bq.py help' to get help.
我相信大查询是仅追加模式,应该可以在 table 中追加数据,我无法找到解决方法,请提供任何帮助。
我认为默认操作模式是 WRITE_APPEND 使用 BQ 工具。
BQ shell 实用程序没有 --write_disposition 开关。
但是有一个--replace
应该设置write_disposition截断。
我无法使 BQ shell 使用关键字 --write_disposition=WRITE_APPEND.
附加 JSON 文件load --sour_format=NEWLINE_DELIMITED_JSON --write_disposition=WRITE_APPEND dataset.tablename /home/file1/one.log /home/file1/jschema.json
我有一个名为 one.log 的文件及其架构 jschema.json。
执行脚本时,显示
FATAL flags parsing error : unknown command line flag 'write_dispostion'
RUN 'bq.py help' to get help.
我相信大查询是仅追加模式,应该可以在 table 中追加数据,我无法找到解决方法,请提供任何帮助。
我认为默认操作模式是 WRITE_APPEND 使用 BQ 工具。 BQ shell 实用程序没有 --write_disposition 开关。
但是有一个--replace
应该设置write_disposition截断。