diffdb-core 0.1.0__tar.gz → 0.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {diffdb_core-0.1.0/src/diffdb_core.egg-info → diffdb_core-0.1.1}/PKG-INFO +21 -18
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/README.md +20 -17
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/__init__.py +1 -1
- {diffdb_core-0.1.0 → diffdb_core-0.1.1/src/diffdb_core.egg-info}/PKG-INFO +21 -18
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/LICENSE.md +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/MANIFEST.in +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/pyproject.toml +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/setup.cfg +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/concurrency/__init__.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/concurrency/pool.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/concurrency/stream.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/core/__init__.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/core/differ.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/core/hash_differ.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/core/segment.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/core/sql.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/core/summary.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/__init__.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/_connect.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/base.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/bigquery.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/clickhouse.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/databricks.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/dialects/_base.yaml +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/dialects/bigquery.yaml +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/dialects/clickhouse.yaml +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/dialects/databricks.yaml +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/dialects/duckdb.yaml +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/dialects/mysql.yaml +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/dialects/oracle.yaml +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/dialects/postgresql.yaml +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/dialects/presto.yaml +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/dialects/redshift.yaml +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/dialects/snowflake.yaml +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/dialects/trino.yaml +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/dialects/vertica.yaml +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/duckdb.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/mysql.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/oracle.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/postgresql.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/presto.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/redshift.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/snowflake.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/trino.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/vertica.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/databases/yaml_dialect.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/geometry/__init__.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/geometry/arithmetic.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/geometry/bisection.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/geometry/vector.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/telemetry/__init__.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/telemetry/info_tree.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/telemetry/query_tracker.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/types.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb/utils.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb_core.egg-info/SOURCES.txt +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb_core.egg-info/dependency_links.txt +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb_core.egg-info/requires.txt +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/src/diffdb_core.egg-info/top_level.txt +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/tests/golden/dialect_sql.json +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/tests/golden/query_sql.json +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/tests/test_connect.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/tests/test_dialects.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/tests/test_diffdb_core.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/tests/test_e2e_duckdb.py +0 -0
- {diffdb_core-0.1.0 → diffdb_core-0.1.1}/tests/test_query_snapshot.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: diffdb-core
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Cross-database table diffing by recursive checksum bisection, with declarative YAML SQL dialects
|
|
5
5
|
Author: Sarath Mohan
|
|
6
6
|
License: MIT
|
|
@@ -61,7 +61,8 @@ engines and a `FULL OUTER JOIN` isn't possible.
|
|
|
61
61
|
Databricks, DuckDB, Trino, Presto, ClickHouse, Vertica.
|
|
62
62
|
- **Any pair**: the source and target can be different engines; each side renders values to the same text before hashing.
|
|
63
63
|
- **No metadata reads**: you pass the columns, their native types and optional SQL transform rules, so the
|
|
64
|
-
engine sends only four read-only query shapes and never touches the catalog.
|
|
64
|
+
engine sends only four read-only query shapes and never touches the catalog. (The one exception: an Oracle
|
|
65
|
+
connection reads `NLS_CHARACTERSET` once when it opens, unless `hash_charset` is given.)
|
|
65
66
|
- **Non-unique keys** work: bisection columns need only be selective, and duplicate rows are counted.
|
|
66
67
|
- **Per-key summary**: changed rows with their differing columns, source-only and target-only rows, duplicate keys.
|
|
67
68
|
- **Telemetry**: every query, row count, checksum and duration can be captured for auditing.
|
|
@@ -153,22 +154,24 @@ An existing `Database` can be passed to `connect_to_table()` instead of a URI, s
|
|
|
153
154
|
4. **Download & compare**: only those small ranges are downloaded and compared in memory.
|
|
154
155
|
5. **Summarize**: `summarize()` pairs the differing rows by `key_columns` (default: the bisection columns).
|
|
155
156
|
|
|
156
|
-
For a table bisected on `(
|
|
157
|
-
|
|
157
|
+
For a table bisected on `(ORDER_ID, LINE_CODE)`, with columns `ORDER_ID NUMBER(12,0)` / `bigint`,
|
|
158
|
+
`LINE_CODE VARCHAR2(20)` / `varchar(20)`, `UPDATED_AT TIMESTAMP(6)` / `timestamp(6)` and
|
|
159
|
+
`UPDATED_BY VARCHAR2(30)` / `varchar(30)`, the checksum queries look like this. Oracle (database character set
|
|
160
|
+
isn't AL32UTF8, so the row is converted first, to hash the same bytes as PostgreSQL; detected from
|
|
158
161
|
`NLS_CHARACTERSET` or forced with a `hash_charset` connection setting):
|
|
159
162
|
|
|
160
163
|
```sql
|
|
161
164
|
SELECT
|
|
162
165
|
count(*),
|
|
163
166
|
sum(to_number(substr(standard_hash(CONVERT((
|
|
164
|
-
NVL(to_char("
|
|
165
|
-
|| '|' || NVL("
|
|
166
|
-
|| '|' || NVL(to_char(cast(
|
|
167
|
-
|| '|' || NVL("
|
|
167
|
+
NVL(to_char("ORDER_ID", 'FM99999999999999999999999999999999999999'), '<null>')
|
|
168
|
+
|| '|' || NVL("LINE_CODE", '<null>')
|
|
169
|
+
|| '|' || NVL(to_char(cast("UPDATED_AT" as timestamp(6)), 'YYYY-MM-DD HH24:MI:SS.FF6'), '<null>')
|
|
170
|
+
|| '|' || NVL("UPDATED_BY", '<null>')
|
|
168
171
|
), 'AL32UTF8'), 'MD5'), 18), 'xxxxxxxxxxxxxxx'))
|
|
169
|
-
FROM "SALES"."
|
|
170
|
-
WHERE ("
|
|
171
|
-
AND ("
|
|
172
|
+
FROM "SALES"."ORDER_LINE"
|
|
173
|
+
WHERE ("ORDER_ID" >= 1405) AND ("LINE_CODE" >= 'A-001')
|
|
174
|
+
AND ("ORDER_ID" < 2662) AND ("LINE_CODE" < 'K-250')
|
|
172
175
|
```
|
|
173
176
|
|
|
174
177
|
PostgreSQL (with a `COLLATE "C"` transform rule on the string bisection column, see Limitations):
|
|
@@ -177,14 +180,14 @@ PostgreSQL (with a `COLLATE "C"` transform rule on the string bisection column,
|
|
|
177
180
|
SELECT
|
|
178
181
|
count(*),
|
|
179
182
|
sum(('x' || substring(md5((
|
|
180
|
-
coalesce("
|
|
181
|
-
|| '|' || coalesce(("
|
|
182
|
-
|| '|' || coalesce(to_char("
|
|
183
|
-
|| '|' || coalesce("
|
|
183
|
+
coalesce("order_id"::varchar, '<null>')
|
|
184
|
+
|| '|' || coalesce(("line_code" COLLATE "C"), '<null>')
|
|
185
|
+
|| '|' || coalesce(to_char("updated_at"::timestamp(6), 'YYYY-mm-dd HH24:MI:SS.US'), '<null>')
|
|
186
|
+
|| '|' || coalesce("updated_by", '<null>')
|
|
184
187
|
)), 18))::bit(60)::bigint)
|
|
185
|
-
FROM "sales"."
|
|
186
|
-
WHERE ("
|
|
187
|
-
AND ("
|
|
188
|
+
FROM "sales"."order_line"
|
|
189
|
+
WHERE ("order_id" >= 1405) AND (("line_code" COLLATE "C") >= 'A-001')
|
|
190
|
+
AND ("order_id" < 2662) AND (("line_code" COLLATE "C") < 'K-250')
|
|
188
191
|
```
|
|
189
192
|
|
|
190
193
|
## Defining columns
|
|
@@ -12,7 +12,8 @@ engines and a `FULL OUTER JOIN` isn't possible.
|
|
|
12
12
|
Databricks, DuckDB, Trino, Presto, ClickHouse, Vertica.
|
|
13
13
|
- **Any pair**: the source and target can be different engines; each side renders values to the same text before hashing.
|
|
14
14
|
- **No metadata reads**: you pass the columns, their native types and optional SQL transform rules, so the
|
|
15
|
-
engine sends only four read-only query shapes and never touches the catalog.
|
|
15
|
+
engine sends only four read-only query shapes and never touches the catalog. (The one exception: an Oracle
|
|
16
|
+
connection reads `NLS_CHARACTERSET` once when it opens, unless `hash_charset` is given.)
|
|
16
17
|
- **Non-unique keys** work: bisection columns need only be selective, and duplicate rows are counted.
|
|
17
18
|
- **Per-key summary**: changed rows with their differing columns, source-only and target-only rows, duplicate keys.
|
|
18
19
|
- **Telemetry**: every query, row count, checksum and duration can be captured for auditing.
|
|
@@ -104,22 +105,24 @@ An existing `Database` can be passed to `connect_to_table()` instead of a URI, s
|
|
|
104
105
|
4. **Download & compare**: only those small ranges are downloaded and compared in memory.
|
|
105
106
|
5. **Summarize**: `summarize()` pairs the differing rows by `key_columns` (default: the bisection columns).
|
|
106
107
|
|
|
107
|
-
For a table bisected on `(
|
|
108
|
-
|
|
108
|
+
For a table bisected on `(ORDER_ID, LINE_CODE)`, with columns `ORDER_ID NUMBER(12,0)` / `bigint`,
|
|
109
|
+
`LINE_CODE VARCHAR2(20)` / `varchar(20)`, `UPDATED_AT TIMESTAMP(6)` / `timestamp(6)` and
|
|
110
|
+
`UPDATED_BY VARCHAR2(30)` / `varchar(30)`, the checksum queries look like this. Oracle (database character set
|
|
111
|
+
isn't AL32UTF8, so the row is converted first, to hash the same bytes as PostgreSQL; detected from
|
|
109
112
|
`NLS_CHARACTERSET` or forced with a `hash_charset` connection setting):
|
|
110
113
|
|
|
111
114
|
```sql
|
|
112
115
|
SELECT
|
|
113
116
|
count(*),
|
|
114
117
|
sum(to_number(substr(standard_hash(CONVERT((
|
|
115
|
-
NVL(to_char("
|
|
116
|
-
|| '|' || NVL("
|
|
117
|
-
|| '|' || NVL(to_char(cast(
|
|
118
|
-
|| '|' || NVL("
|
|
118
|
+
NVL(to_char("ORDER_ID", 'FM99999999999999999999999999999999999999'), '<null>')
|
|
119
|
+
|| '|' || NVL("LINE_CODE", '<null>')
|
|
120
|
+
|| '|' || NVL(to_char(cast("UPDATED_AT" as timestamp(6)), 'YYYY-MM-DD HH24:MI:SS.FF6'), '<null>')
|
|
121
|
+
|| '|' || NVL("UPDATED_BY", '<null>')
|
|
119
122
|
), 'AL32UTF8'), 'MD5'), 18), 'xxxxxxxxxxxxxxx'))
|
|
120
|
-
FROM "SALES"."
|
|
121
|
-
WHERE ("
|
|
122
|
-
AND ("
|
|
123
|
+
FROM "SALES"."ORDER_LINE"
|
|
124
|
+
WHERE ("ORDER_ID" >= 1405) AND ("LINE_CODE" >= 'A-001')
|
|
125
|
+
AND ("ORDER_ID" < 2662) AND ("LINE_CODE" < 'K-250')
|
|
123
126
|
```
|
|
124
127
|
|
|
125
128
|
PostgreSQL (with a `COLLATE "C"` transform rule on the string bisection column, see Limitations):
|
|
@@ -128,14 +131,14 @@ PostgreSQL (with a `COLLATE "C"` transform rule on the string bisection column,
|
|
|
128
131
|
SELECT
|
|
129
132
|
count(*),
|
|
130
133
|
sum(('x' || substring(md5((
|
|
131
|
-
coalesce("
|
|
132
|
-
|| '|' || coalesce(("
|
|
133
|
-
|| '|' || coalesce(to_char("
|
|
134
|
-
|| '|' || coalesce("
|
|
134
|
+
coalesce("order_id"::varchar, '<null>')
|
|
135
|
+
|| '|' || coalesce(("line_code" COLLATE "C"), '<null>')
|
|
136
|
+
|| '|' || coalesce(to_char("updated_at"::timestamp(6), 'YYYY-mm-dd HH24:MI:SS.US'), '<null>')
|
|
137
|
+
|| '|' || coalesce("updated_by", '<null>')
|
|
135
138
|
)), 18))::bit(60)::bigint)
|
|
136
|
-
FROM "sales"."
|
|
137
|
-
WHERE ("
|
|
138
|
-
AND ("
|
|
139
|
+
FROM "sales"."order_line"
|
|
140
|
+
WHERE ("order_id" >= 1405) AND (("line_code" COLLATE "C") >= 'A-001')
|
|
141
|
+
AND ("order_id" < 2662) AND (("line_code" COLLATE "C") < 'K-250')
|
|
139
142
|
```
|
|
140
143
|
|
|
141
144
|
## Defining columns
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: diffdb-core
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Cross-database table diffing by recursive checksum bisection, with declarative YAML SQL dialects
|
|
5
5
|
Author: Sarath Mohan
|
|
6
6
|
License: MIT
|
|
@@ -61,7 +61,8 @@ engines and a `FULL OUTER JOIN` isn't possible.
|
|
|
61
61
|
Databricks, DuckDB, Trino, Presto, ClickHouse, Vertica.
|
|
62
62
|
- **Any pair**: the source and target can be different engines; each side renders values to the same text before hashing.
|
|
63
63
|
- **No metadata reads**: you pass the columns, their native types and optional SQL transform rules, so the
|
|
64
|
-
engine sends only four read-only query shapes and never touches the catalog.
|
|
64
|
+
engine sends only four read-only query shapes and never touches the catalog. (The one exception: an Oracle
|
|
65
|
+
connection reads `NLS_CHARACTERSET` once when it opens, unless `hash_charset` is given.)
|
|
65
66
|
- **Non-unique keys** work: bisection columns need only be selective, and duplicate rows are counted.
|
|
66
67
|
- **Per-key summary**: changed rows with their differing columns, source-only and target-only rows, duplicate keys.
|
|
67
68
|
- **Telemetry**: every query, row count, checksum and duration can be captured for auditing.
|
|
@@ -153,22 +154,24 @@ An existing `Database` can be passed to `connect_to_table()` instead of a URI, s
|
|
|
153
154
|
4. **Download & compare**: only those small ranges are downloaded and compared in memory.
|
|
154
155
|
5. **Summarize**: `summarize()` pairs the differing rows by `key_columns` (default: the bisection columns).
|
|
155
156
|
|
|
156
|
-
For a table bisected on `(
|
|
157
|
-
|
|
157
|
+
For a table bisected on `(ORDER_ID, LINE_CODE)`, with columns `ORDER_ID NUMBER(12,0)` / `bigint`,
|
|
158
|
+
`LINE_CODE VARCHAR2(20)` / `varchar(20)`, `UPDATED_AT TIMESTAMP(6)` / `timestamp(6)` and
|
|
159
|
+
`UPDATED_BY VARCHAR2(30)` / `varchar(30)`, the checksum queries look like this. Oracle (database character set
|
|
160
|
+
isn't AL32UTF8, so the row is converted first, to hash the same bytes as PostgreSQL; detected from
|
|
158
161
|
`NLS_CHARACTERSET` or forced with a `hash_charset` connection setting):
|
|
159
162
|
|
|
160
163
|
```sql
|
|
161
164
|
SELECT
|
|
162
165
|
count(*),
|
|
163
166
|
sum(to_number(substr(standard_hash(CONVERT((
|
|
164
|
-
NVL(to_char("
|
|
165
|
-
|| '|' || NVL("
|
|
166
|
-
|| '|' || NVL(to_char(cast(
|
|
167
|
-
|| '|' || NVL("
|
|
167
|
+
NVL(to_char("ORDER_ID", 'FM99999999999999999999999999999999999999'), '<null>')
|
|
168
|
+
|| '|' || NVL("LINE_CODE", '<null>')
|
|
169
|
+
|| '|' || NVL(to_char(cast("UPDATED_AT" as timestamp(6)), 'YYYY-MM-DD HH24:MI:SS.FF6'), '<null>')
|
|
170
|
+
|| '|' || NVL("UPDATED_BY", '<null>')
|
|
168
171
|
), 'AL32UTF8'), 'MD5'), 18), 'xxxxxxxxxxxxxxx'))
|
|
169
|
-
FROM "SALES"."
|
|
170
|
-
WHERE ("
|
|
171
|
-
AND ("
|
|
172
|
+
FROM "SALES"."ORDER_LINE"
|
|
173
|
+
WHERE ("ORDER_ID" >= 1405) AND ("LINE_CODE" >= 'A-001')
|
|
174
|
+
AND ("ORDER_ID" < 2662) AND ("LINE_CODE" < 'K-250')
|
|
172
175
|
```
|
|
173
176
|
|
|
174
177
|
PostgreSQL (with a `COLLATE "C"` transform rule on the string bisection column, see Limitations):
|
|
@@ -177,14 +180,14 @@ PostgreSQL (with a `COLLATE "C"` transform rule on the string bisection column,
|
|
|
177
180
|
SELECT
|
|
178
181
|
count(*),
|
|
179
182
|
sum(('x' || substring(md5((
|
|
180
|
-
coalesce("
|
|
181
|
-
|| '|' || coalesce(("
|
|
182
|
-
|| '|' || coalesce(to_char("
|
|
183
|
-
|| '|' || coalesce("
|
|
183
|
+
coalesce("order_id"::varchar, '<null>')
|
|
184
|
+
|| '|' || coalesce(("line_code" COLLATE "C"), '<null>')
|
|
185
|
+
|| '|' || coalesce(to_char("updated_at"::timestamp(6), 'YYYY-mm-dd HH24:MI:SS.US'), '<null>')
|
|
186
|
+
|| '|' || coalesce("updated_by", '<null>')
|
|
184
187
|
)), 18))::bit(60)::bigint)
|
|
185
|
-
FROM "sales"."
|
|
186
|
-
WHERE ("
|
|
187
|
-
AND ("
|
|
188
|
+
FROM "sales"."order_line"
|
|
189
|
+
WHERE ("order_id" >= 1405) AND (("line_code" COLLATE "C") >= 'A-001')
|
|
190
|
+
AND ("order_id" < 2662) AND (("line_code" COLLATE "C") < 'K-250')
|
|
188
191
|
```
|
|
189
192
|
|
|
190
193
|
## Defining columns
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|