New Features

MaxCompute - MaxCompute Allows You to Disable the Display of Table Headers by Using the CLI

Feb 08 2021

MaxCompute
MaxCompute allows you to configure parameters in the CLI to disable the display of table headers in the output results of stdout. This CLI-based configuration facilitates shell script call. In addition, uses can obtain dynamic return values for other operations.
Content

Target customers: developers. Features released: In shell or Windows CMD mode, you can run odpscmd -e to call MaxCompute SQL to calculate a dynamic return value and use shell variables to obtain this value. If you want to use this value in subsequent operations in shell, make sure that the value does not contain additional information, such as running information and table headers. MaxCompute allows you to set set odps.sql.select.output.format to {needHeader:false,fieldDelim:""}; to disable the display of table headers in the output results of stdout and then provide the output results to the destination.

7th Gen ECS Is Now Available

Increase instance computing power by up to 40% and Fully equipped with TPM chips.
Powered by Third-generation Intel® Xeon® Scalable processors (Ice Lake).

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.