Through the Import Data page, you can upload datasets or select datasets from sources that are stored on connected datastores. From the Library page, click Import Data.
Import Data page |
To import new data:
NOTE: For file-based sources,
|
Connect to the source of your data:
NOTE: Compressed files are recognized and can be imported based on their file extensions. |
Upload: can also load files from your local file system.
Tip: You can drag and drop files from your desktop to to upload them. |
HDFS: If connected to a Hadoop cluster, you can select file(s) or folders to import. See HDFS Browser.
S3: If connected to an S3 instance, you can browse your S3 buckets to select source files.
Tip: For HDFS and S3, you can select folders, which selects each file within the directory as a separate dataset. |
See S3 Browser .
Redshift: If connected to an S3 datawarehouse, you can import source from the connected database. See Redshift Browser.
Hive: If connected to a Hive instance, you can load datasets from individual tables within the set of Hive databases. See Hive Browser.
Alation: If connected to Alation, you can search for and import Hive tables as imported datasets. For more information, see Using Alation.
Waterline: If connected to Waterline, you can search for and import datasets through the data catalog. For more information, Using Waterline.
Databases: If connected to a relational datastore, you can load tables or views from your database. See Database Browser.
WASB: If enabled, you can import data into your Azure deployment from WASB. For more information, see WASB Browser.
ADL: If enabled, you can import data into your Azure deployment from ADLS. The ADLS browser is very similar to the one for HDFS. See HDFS Browser.
For more information on the supported input formats, see Supported File Formats.
New/Edit: Click to create or edit a connection.
Search: Enter a search term to locate a specific connection.
NOTE: This feature may be disabled in your environment. For more information, contact your |
See Create Connection Window .
When you have found your source directory or file:
You can hover over the name of a file to preview its contents.
NOTE: Preview is not available for Avro or Parquet sources. |
Click the Plus icon next to the directory or filename to add it as a dataset.
Tip: You can import multiple datasets at the same time. See below. |
Excel files: Click the Plus icon next to the parent workbook to add all of the worksheets as a single dataset, or you can add individual sheets as individual datasets. See Import Excel Data.
If custom SQL query is enabled, you can click Create Dataset with SQL to enter a customized SQL statement to pre-filter the relational or Hive table within the database to include only the rows and columns of interest.
Through this interface, it is possible to enter SQL statements that can delete data, change table schemas, or otherwise corrupt the targeted database. Please use this feature with caution. |
For more information, see Create Dataset with SQL.
This feature must be enabled. See Enable Custom SQL Query.
If parameterization has been enabled, you can apply parameters to the source paths of your datasets to capture a wider set of sources. Click Create Dataset with Parameters.
See Create Dataset with Parameters.
This feature must be enabled. For more information, see Overview of Parameterization.
Dataset Description: You may add an optional description that provides additional detail about the dataset. This information is visible in some areas of the interface.
Tip: Click the Eye icon to inspect the contents of the dataset prior to importing. |
You can select a single dataset or multiple datasets for import.
You can modify settings used during import for individual files. In the card for an individual dataset, click Edit Settings.
NOTE: In some cases, there may be discrepancies between row counts in the previewed data versus the data grid after the dataset has been imported, due to rounding in row counts performed in the preview. |
Per-file encoding: By default, attempts to interpret the encoding used in the file. In some cases, the data preview panel may contain garbled data, due to a mismatch in encodings. In the Data Preview dialog, you can select a different encoding for the file. When the correct encoding is selected, the preview displays the data as expected.For more information on supported encodings, see Configure Global File Encoding Type.
Remove special characters from column names: When selected, characters that are not alphanumeric or underscores are stripped, and space characters are converted to underscores.
Tip: This feature matches the column renaming behavior in Release 5.0 and earlier. |
Column data type inference: You can choose whether or not to apply to your individual dataset.
In the preview panel, you can see the data type that is to be applied after the dataset is imported. This data type may change depending on whether column data type inference is enabled or disabled for the dataset.
To enable , select the Column Data Type Inference checkbox.
Tip: To see the effects of |
You can configure the default use of type inference at the individual connection level. For more information, see Create Connection Window.
For schematized sources that do not require connections, such as uploaded Avro files, the default setting is determined by the global setting for initial type inference. For more information, see Configure Type Inference .
If you have selected a single dataset for import:
You can import multiple datasets from multiple sources at the same time. In the Import Data page, continue selecting sources, and additional dataset cards are added to the right panel.
NOTE: If you are importing from multiple files at the same time, the files are not necessarily read in a regular or predictable order. |
NOTE: When you import a dataset with parameters from multiple files, only the first matching file is displayed in the right panel. |
In the right panel, you can see a preview of each dataset and make changes as needed.
Import Multiple Datasets |