MaxCompute - MaxCompute Allows You to Disable the Display of Table Headers by Using the CLI
Feb 08 2021
MaxComputeContent
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.