Data Analytics Studio Operations
Also available as:
PDF

Uploading tables

You can upload existing tables in CSV, JSON, or XML format to create new tables in the database. You can use the uploaded tables as other tables, run queries, and generate reports on them like other tables.

  1. Click Upload Table.
  2. Enter the file format details in the Select File Format section.
    1. File type - Select the file type from the drop down list.
    2. Field Delimiter - This appears if you select CSV as the file format. Enter a delimiter character such as comma.
    3. Escape Character - This appears if you select CSV as the file format. Enter an escape character such as \.
    4. Quote Character - This appears if you select CSV as the file format. Enter a quote character.
    5. If the first row is header, click to select Is first row header checkbox.
    6. If the file contains endlines, click to select Contains endlines checkbox.
  3. Select the source of the table file.
    1. Upload from HDFS - Select this option to upload files from HDFS.
    2. Upload from Local - Select this option to upload files from the local node.
    The table details automatically appear as preview. Click Preview if the table details do not load automatically. Data Analytics Studio updates the name of the table, names of the columns, and the data types of each column.
  4. Modify the names of the table and columns as needed.
  5. Click the Advanced tab to specify any additional options:
    1. Select Transactional if you want the table to be a transactional table.
    2. Click Add Location if you want to specify a location for the table.
    3. Select a file format from Add File Format.
    4. Click Add Row Format to specify details for the rows.
  6. Click Properties to add key-value properties of the table.
  7. Click Create.