Full MPP Mode下使用Dump to ODPS
通过 engine=MPP 的hint和 dump-header 的hint执行MPP Dump to ODPS,示例:<PRE prettyprinted? linenums>
- /*+ engine=MPP, dump-header=[DUMP DATA [OVERWRITE] INTO 'odps://project_name/table_name']*/ SELECT ...
- /*+ engine=MPP, return-dump-record-count=TRUE, dump-header=[DUMP DATA [OVERWRITE] INTO 'odps://project_name/table_name']*/ SELECT ...
Full MPP Mode下使用Dump to OSS
通过 engine=MPP 的hint和 dump-header 的hint执行MPP Dump to OSS,示例:<PRE prettyprinted? linenums>
- /*+ engine=MPP,
- dump-col-del=[,],
- dump-row-del=[\n],
- dump-oss-accesskey-id=xxxx,
- dump-oss-accesskey-secret=xxxx,
- dump-header=[DUMP DATA OVERWRITE INTO 'oss://xxx/xxx/xxx']*/ SELECT ...
- /*+ engine=MPP,
- return-dump-record-count=TRUE,
- dump-col-del=[,],
- dump-row-del=[\n],
- dump-oss-accesskey-id=xxxx,
- dump-oss-accesskey-secret=xxxx,
- dump-header=[DUMP DATA OVERWRITE INTO 'oss://xxx/xxx/xxx']*/ SELECT ...
除hint外,MPP计算引擎模式下的DUMP导出命令与LM计算引擎模式一致,请参见“4.2.4 DUMP语法”章节