Migration
Migrating from Great Expectations
BeryX imports Great Expectations suites as JSON, whether they come from GX Cloud or GX Core, and turns each expectation into a rule in the engine. The preview shows what converts and what is left out before anything is saved, and the rules can go back out as a GX suite.
Who it is for
Teams that used GX Cloud and teams on GX Core
Teams that used GX Cloud
GX Cloud stopped being publicly available on 1 June 2026. The suites you exported, or the code that defines them, come into BeryX as rules, and BeryX runs them in the scans of your sources.
Teams on GX Core
GX Core is still open source and your suites still run there. If you want scheduled scans, a catalog and reports without building them around GX Core, import the suites into BeryX: the GX export gives them back whenever you want.
Source: An Update for the Great Expectations Community, a Great Expectations post from 05/06/2026. The GX Core repository is at github.com/fivetran/great_expectations, under the Apache 2.0 license. Both read on 10/30/2026.
How it works
From the suite to the first scan
- 01Export the suites as JSON. In GX Core 1.x, with a File Data Context, each suite is a file in the project's
gx/expectations/folder (in GX 0.x,great_expectations/expectations/), and in Pythoncontext.suites.get(name=…).to_json_dict()returns the same JSON. From GX Cloud, start from the copy you have: each suite's JSON or the code that defines it, run with GX Core. - 02Connect your sources to BeryX and click «Discover» in Connections, so the datasets exist in the catalog.
- 03In Rules, click «Import (dbt/GX/Soda)», choose «Great Expectations (JSON)», upload or paste the suite and click «Preview». Each rule shows the source expectation and what changes in brackets, and the «Left out, with the reason:» list says what did not convert.
- 04Click «Import». The rules come in enabled and with
warningseverity, and importing the same suite again does not duplicate them. - 05Run the first scan: in Connections, click «Scan» on the source. The imported rules run in that scan and in the following ones.
Rules are linked to a dataset by the suite's table: the one in meta.beryx.table, in a suite exported by BeryX, or the suite name up to the first dot (orders.critical gives orders). For the GX format, the dialog does not ask for the target dataset: if the suite name is not the table's, change the name in the JSON or use the API with dataset_id.
Through the API: POST /api/v1/rules/import with format set to gx, the suite text in content and apply: false to preview. The request also chooses whether the rules start enabled (enabled) and with which severity (severity). The import reads GX 1.x and GX 0.x suites (expectation_suite_name, expectation_type).
Coverage
What converts and what is left out
One row for each expectation the BeryX import reads, taken from the import's code. Anything not in the table goes to the list of what did not convert, with the reason.
| GX expectation | BeryX rule | Status | Note |
|---|---|---|---|
expect_column_values_to_not_be_null | not_null | converted | Column completeness. |
expect_column_values_to_be_unique | unique | converted | Unique values in a column. |
expect_compound_columns_to_be_unique | unique | converted | Uniqueness of the combination of the column_list columns. |
expect_column_values_to_match_regex | pattern | converted | Pattern with the suite's regex. A regex the scan engine refuses is left out already in the preview. |
expect_column_values_to_be_in_set | pattern | converted | Pattern ^(a|b)$ with the value_set values, which compares the value's text. |
expect_column_values_to_be_between | range | converted | Range with inclusive bounds. |
expect_column_values_to_be_between with strict_min or strict_max | range | approximate | The bound counts as valid. |
expect_column_values_to_be_between with dates or $PARAMETER | none | no equivalent | The BeryX range compares numbers. |
expect_table_row_count_to_be_between with min_value | row_count_min | converted | Minimum number of rows in the table. |
expect_table_row_count_to_be_between with max_value | row_count_min | approximate | The maximum does not carry over. Without min_value, the expectation is left out. |
expect_column_pair_values_A_to_be_greater_than_B | expression | approximate | Expression A > B (A >= B with or_equal). A row where one side is null does not count as a violation. |
expect_column_pair_values_to_be_equal | expression | approximate | Expression A = B. A row where one side is null does not count as a violation. |
expect_multicolumn_sum_to_equal | expression | approximate | Expression soma(a, b) = N. In the sum, a null counts as 0. |
unexpected_rows_expectation | custom_sql | converted | Custom SQL with the unexpected_rows_query. The {batch} becomes the dataset's table, and the SQL guard validates the query in the source's dialect. |
expect_column_values_to_be_present_in_other_table | referential | approximate | Referential integrity. A null does not count as an orphan, and the reference table must be in the catalog. It is an expectation from the GX experimental gallery. |
Other expectations, such as expect_column_values_to_be_of_type, expect_column_value_lengths_to_be_between and expect_column_mean_to_be_between | none | no equivalent | They go to the list of what did not convert, with the reason. |
The statuses
- converted
- The BeryX rule checks the same thing as the expectation.
- approximate
- The rule converts with a difference, which the row's note states and the preview shows in brackets.
- no equivalent
- The expectation goes to the list of what did not convert, with the reason, and no rule is saved.
Conversion notes
- BeryX does not read
mostly(the fraction of rows that must pass),row_condition,strict_minorstrict_max. The rule starts with no tolerance and over all the table's rows, and the preview says so in brackets («sem mostly»). Amostlyequal to 1 is the rule with no tolerance. - In
value_set, the pattern compares the value's text: in a decimal column,1does not match1.0. A set that gives a pattern longer than 450 characters is left out. - Expectations that lack what the rule needs (the column, the bounds, the
column_list) are left out, with the reason.
The round trip
The rules go back out as GX
GET /api/v1/datasets/{id}/rules/export?format=gx returns a dataset's enabled rules as a GX 1.x JSON suite. Only what the import reads back as the same rule goes out, and importing the suite again in the same workspace creates no rules.
| BeryX rule | Expectation in the exported suite |
|---|---|
not_null | expect_column_values_to_not_be_null |
unique | expect_column_values_to_be_uniqueexpect_compound_columns_to_be_unique |
pattern | expect_column_values_to_match_regex |
range | expect_column_values_to_be_between |
row_count_min | expect_table_row_count_to_be_between |
The rest (freshness, SQL rules, referential integrity, tolerances above zero) goes to meta.beryx.unsupported, with the reason, and to the X-Rules-Unsupported and X-Rules-Unsupported-Types headers. SQL rules and referential integrity go out as dbt. The full list is in the CI rules gate guide (in Portuguese).
The exported suite uses the fields of GX 1.x suites (name, expectations, type, kwargs), the same ones GX Core writes with to_json_dict().
Great Expectations, GX, GX Cloud and GX Core are trademarks of their respective owners. The names appear on this page only to identify the suite format the BeryX import reads. This page was not made or reviewed by Great Expectations or Fivetran.
Preview your suite before you decide
Create an account, connect a source and paste the suite. The preview shows what converts and what is left out before any rule is saved.