You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -29,11 +29,11 @@ A Histogram Diff can be generated in two ways.
29
29
4. Click `Histogram Diff`.
30
30
31
31
<figuremarkdown>
32
-
{: .shadow}
32
+
{: .shadow}
33
33
<figcaption>Generate a Recce Histogram Diff from the column options</figcaption>
34
34
</figure>
35
35
36
-
####SQL Execution
36
+
## SQL Execution
37
37
38
38
Histogram Diff generates SQL queries to create distribution histograms for numeric and date columns. The queries use binning strategies to group values and count occurrences in each bin, supporting both integer and floating-point data types.
Copy file name to clipboardExpand all lines: docs/5-data-diffing/query.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,5 @@
1
1
---
2
2
title: Query
3
-
icon: material/code-block-tags
4
3
---
5
4
6
5
Query page provides an AdHoc query interface to run arbitrary query or diff the query result between two environments. If you're a dbt user, you can use any dbt macros that are installed in your project.
@@ -24,15 +23,15 @@ select * from {{ ref("mymodel") }}
24
23
25
24
If the primary key(s) is specified, the query will occur in the warehouse; otherwise, the query will happen across two environments and the comparison will take place on the client side.
-**Primary Key:** When comparison occurs on the client side, we can select the primary key by clicking the `key` icon. The primary key columns are used to be identified as the same record for both sides. If no primary key is specified, the records is compared by the row's index.
38
37
-**Pinned Column:** The pinned column would show first in the column list.
0 commit comments