Skip to content

added snowflake steps for configuring zingg - #1365

Merged
Padam Prakash (padam-prakash) merged 5 commits into
zinggAI:mainfrom
LOGANBLUE1:docs_changes
Aug 13, 2026
Merged

added snowflake steps for configuring zingg#1365
Padam Prakash (padam-prakash) merged 5 commits into
zinggAI:mainfrom
LOGANBLUE1:docs_changes

Conversation

@LOGANBLUE1

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread docs/running-zingg/configure-zingg.md Outdated
Comment thread docs/running-zingg/configure-zingg.md Outdated
Comment thread docs/running-zingg/configure-zingg.md Outdated
Comment on lines +489 to +606
Set the blocking strategy directly after `setLabelDataSampleSize`. If not set, the model follows `DEFAULT`.

#### JSON

```json
{
"modelId": "100",
"zinggDir": "/tmp/models",
"numPartitions": 4,
"labelDataSampleSize": 0.5
}
```

### Step 2: Define fields with `EFieldDefinition`

#### JSON

```json
"fieldDefinition":[
{
"fieldName" : "recid",
"matchType" : "dont_use",
"fields" : "recid",
"dataType": "string" ,
"primaryKey": "true"
},
{
"fieldName" : "givenname",
"matchType" : "fuzzy",
"fields" : "givenname",
"dataType": "string"
},
{
"fieldName" : "surname",
"matchType": "exact",
"fields" : "surname",
"dataType": "string"
},
{
"fieldName" : "suburb",
"matchType": "fuzzy",
"fields" : "suburb",
"dataType": "string"
},
{
"fieldName" : "postcode",
"matchType": "exact",
"fields" : "postcode",
"dataType": "string"
}
]
```

{% hint style="info" icon="right-long" %}
Enterprise requires a primary key field for `runIncremental`. Mark the primary key field by adding `"primaryKey": "true"` if you plan to use incremental matching.
{% endhint %}

### Step 3: Configure input and output pipes

#### JSON

```json
"output" : [{
"name":"output_Febrl_5M",
"format":"snowflake",
"props": {
"table": "OUTPUT_Febrl_5M"
}
}],
"data" : [{
"name":"FEBRL5M",
"format":"snowflake",
"props": {
"table": "Febrl_5M"
}
}],
```

### Step 4: Deterministic matching (optional)

{% hint style="info" icon="right-long" %}
Deterministic matching - **Enterprise** only.

Skip this step if you only need probabilistic matching.
{% endhint %}

#### JSON

```json
{
"deterministicMatching": [
{"matchCondition": [
{"fieldName": "fname"},
{"fieldName": "stNo"},
{"fieldName": "add1"}
]},
{"matchCondition": [
{"fieldName": "fname"},
{"fieldName": "dob"},
{"fieldName": "ssn"}
]},
{"matchCondition": [
{"fieldName": "fname"},
{"fieldName": "email"}
]}
]
}
```

### Step 5: Output stats (optional)

{% hint style="info" icon="right-long" %}
Output stats - **Enterprise** only.

Skip this step if you do not need run statistics.
{% endhint %}

Configures where Zingg writes statistics for the `match` and `incrementalRun` phases. The `$ZINGG_DYNAMIC_STAT_NAME` placeholder is substituted at runtime with `SUMMARY`, `CLUSTER`, or `RECORD`, so each run writes the three statistics tables separately. If `outputStats` is not configured, Zingg skips stats writing and the run proceeds normally.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep all this info very short and concise here. they should be in detail at their own pages

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls re-confirm if you want me to trim, as this was written by someone else before me.

Comment thread docs/running-zingg/configure-zingg.md Outdated
},
```

**Read more:** For the fields in each statistics table → [Output Statistics](../interpreting-results/output-statistics.md).

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should

Comment on lines +620 to +626
**Read more:** For the fields in each statistics table → [Output Statistics](../interpreting-results/output-statistics.md).

### Step 6: Pass Through (optional)

{% hint style="info" icon="right-long" %}
Pass Through - **Enterprise** only.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep this info very short

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is exact same as it is present in enterprise tab

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls re-confirm if you want me to trim in both the tabs.

Comment thread docs/running-zingg/build-and-save-the-model.md Outdated
```

Enterprise adds blocking model configuration via `args.setBlockingModel()`. Set this in Configure Zingg before running `train`.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this info here ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll add json version of this


Enterprise Snowflake also provides the `findAndLabel` combined phase, which runs `findTrainingData` and `label` together in a single call. Use this for smaller datasets where `findTrainingData` completes quickly:
<!--
#### JSON

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove any unnecessary comments


{% tab title="Enterprise Snowflake" %}
**CHECK WITH SONAL ABOUT THIS TOPIC - NEEDS ENTIRELY DIFFERENT SET OF CONTENT TO BE DISCUSSED LATER.**
### Set label data sample size

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need this ??


```bash
./scripts/zingg.sh --phase generateDocs --conf <location to conf.json> \
--showConcise=true --properties-file <location to snowflake.properties>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

showConcise is optional. check older version


#### CLI

```json

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

json or bash?

Comment thread docs/running-zingg/reassign-zingg-id.md Outdated
```

{% hint style="info" icon="right-long" %}
The `--originalZinggId` flag takes the path to your original production config file. Despite the flag name, you are passing the **configuration file** that defined the original model - Zingg uses that config to locate the original output containing the Zingg IDs to be preserved.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this info


```json
{
"config" : "configSnow.json",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

configSnow.json-> add some info about this that it is the config of prev executed match

./scripts/zingg.sh --phase verifyBlocking --conf config.json \
--properties-file <location to snowflake.properties>
```
{% endtab %}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@padam-prakash
Padam Prakash (padam-prakash) merged commit 04af582 into zinggAI:main Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants