ingest-file command uploads a local file and submits a new data ingestion request.
Options
Options
--caststringoptional: Converts a column to a different data type during ingestionCOLUMN:TYPE.--delimiterstringoptional: Character used to separate fields in the input file. Default:,.--domainstringoptional: DataHub logical category used to organize the ingestion job.--encryptstringoptional: Name of the column to encrypt.--filestringrequired: Path to a local file you want to upload and ingest.--headerbooleanoptional: Indicates whether the file contains a header row.--max-waitintegeroptional: Maximum number of seconds to wait for job completion. Default:300.--merge-keysstringoptional: Comma-separated columns used to match and merge data when themodeismerge.--modestringoptional: How to write data to the table. Values:append,overwrite, ormerge.--namestringoptional: Name of the Airflow ingestion job.--no-waitbooleanoptional: If set, the command exits immediately without waiting for the job to complete.--renamestringoptional: Change a column name during ingestion usingOLD:NEW.--schemastringrequired: Target schema name for the data.--tablestringrequired: Target table name for the data.--tagsstringoptional: Comma-separated DataHub tags.
Global options
Global options
--api-keystringoptional: API key or theNX1_API_KEYvariable.--config-filestringoptional: YAML config file.--help-hoptional: Shows help messages and exit.--hoststringoptional: API host.--no-verify-ssloptional: Disables SSL verification.--output-ooptional: Output format. Allowed values:json,yaml, ortable.--profile-pstringoptional: Profile name from~/.nx1/profiles.--timeoutintegeroptional: Requests when to timeout. Default is30.--verbose-voptional: Verbose output.