All Products
Search
Document Center

MaxCompute:Import and export table data

Last Updated:Feb 27, 2026

MaxCompute Studio uses MaxCompute Tunnel to import local CSV or TSV files into MaxCompute tables and export table data to local files.

Prerequisites

Before you begin, ensure that you have:

Import data

  1. In the Project Explorer tool window, expand Tables & Views under your MaxCompute project. Right-click the target table and select Import data into table. Import data menu

  2. In the Importing data to table_name dialog box, configure the following parameters: Import dialog

    ParameterDescriptionValid valuesDefault
    Input FilePath of the local file to import.--
    File charsetEncoding format of the input file.UTF-8, UTF-16, UTF-16BE, UTF-16LE, ISO-8859-1, US-ASCII, GBKUTF-8
    PartitionPartition to import data into. Applies only to partitioned tables. Skip this parameter for non-partitioned tables.--
    Column SeparatorColumn delimiter for the input file.Comma(','), Space(' '), Tab('\t')Comma(',')
    Record LimitMaximum number of rows to import.--
    Size(MB) LimitMaximum size of data to import, in MB.--
    Error Record LimitMaximum number of error rows allowed during import.--
    Include Column HeaderWhether to include the column header row during import.--
  3. Click OK. A Success message confirms that the data has been imported. Open the table to verify the imported data.

Export data

  1. In the Project Explorer tool window, expand Tables & Views under your MaxCompute project. Right-click the target table and select Export data from table. Export data menu

  2. In the Exporting data from table_name dialog box, configure the following parameters: Export dialog

    ParameterDescriptionValid valuesDefault
    Output FilePath of the local file to store the exported data.--
    File charsetEncoding format of the output file.UTF-8, UTF-16, UTF-16BE, UTF-16LE, ISO-8859-1, US-ASCII, GBKUTF-8
    Column SeparatorColumn delimiter for the output file.Comma(','), Space(' '), Tab('\t')Comma(',')
    Record LimitMaximum number of rows to export.--
    Size(MB) LimitMaximum size of data to export, in MB.--
    Error Record LimitMaximum number of error rows allowed during export.--
    Include Column HeaderWhether to include the column header row in the output file.--
  3. Click OK. A Success message confirms that the data has been exported. Open the output file to verify the exported data.