Creating Import Jobs
Import jobs are localized to aSpace. To create an import job, retrieve your space ID from the platform URL:
/organizations/:organization_id/spaces/:space_id.
Import Job Tips:
- Create a reusable mutation to easily configure multiple table import jobs
-
Validate your table import job before you actually create the job with the
dryRunparameter when creating the import job mutation- dryRun(boolean): If true, Arize AX will attempt the import job with no written changes. Use the
validationResultto check validation status
- dryRun(boolean): If true, Arize AX will attempt the import job with no written changes. Use the
- Dry Run Table Import Job
- Create Table Import Job Mutation
The variables in the example above are for one mapping with BigQuery.Learn how to map your data with each warehouse for Snowflake, Databricks, and BigQuery. Use the GraphQL docs here for a list of all the available fields for a query/mutation.
Querying for Import Jobs
You can query for table import jobs using aSpace node.
TableImportJob node and ID.
To view the queries for a given import job, use the TableImportJobQueryConnection that returns the total number of queries and information on the individual queries.
Pausing Import Jobs
Pause an existing table import job with thepauseTableImportJob mutation and jobID.
Resuming Import Jobs
Resume a paused import job by using thestartTableImportJob mutation and job ID.
Event-Based Table Import Jobs
Available for Snowflake only.If you are connecting to a warehouse or table for the first time, please complete the one-time permissions setup. For assistance, contact support@arize.com.
Step 1: Create Table Job
To enable event-driven ingestion, set up the table connection and initialize the job by running the following mutation:Step 2: Query for Table ID
Once the job is created, query for thejobId by running the following query:
Step 3: Trigger a query
After the job is created, trigger a query for data within the specified time range using the following mutation:Deleting Import Jobs
Delete an import job by using thedeleteTableImportJob mutation and job ID.
Updating Table Ingestion Parameters
Update table ingestion parameters for a job using theupdateTableIngestionParameters mutation and job ID.
Updating Table Ingestion Schema
Update the schema used for a table import job using theupdateTableImportJob mutation and job ID.