Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 5a69943

Browse files
authored
Merge pull request #353 from kianmeng/fix-typos
Fix typos
2 parents 28f569c + ada7dcf commit 5a69943

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

data_diff/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def _apply_config(config: Dict[str, Any], run_name: str, kw: Dict[str, Any]):
2929
if kw.get("database1") is not None:
3030
for attr in ("table1", "database2", "table2"):
3131
if kw[attr] is None:
32-
raise ValueError(f"Specified database1 but not {attr}. Must specify all 4 arguments, or niether.")
32+
raise ValueError(f"Specified database1 but not {attr}. Must specify all 4 arguments, or neither.")
3333

3434
for index in "12":
3535
run_args[index] = {attr: kw.pop(f"{attr}{index}") for attr in ("database", "table")}

data_diff/hashdiff_tables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class HashDiffer(TableDiffer):
4949
The algorithm uses hashing to quickly check if the tables are different, and then applies a
5050
bisection search recursively to find the differences efficiently.
5151
52-
Works best for comparing tables that are mostly the same, with minor discrepencies.
52+
Works best for comparing tables that are mostly the same, with minor discrepancies.
5353
5454
Parameters:
5555
bisection_factor (int): Into how many segments to bisect per iteration.

dev/prepare_db.pql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This is a Preql file, used for setting up a database for developement and testing
1+
// This is a Preql file, used for setting up a database for development and testing
22
//
33
// In loads a "rating" dataset and generates a set of tables from it, with various modifications.
44

dev/prepare_db_gaps.pql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This is a Preql file, used for setting up a database for developement and testing
1+
// This is a Preql file, used for setting up a database for development and testing
22
//
33
// It generates tables with various gaps in them, based on the "rating" dataset.
44
// Assumes prepare_db.pql has already been run.

docs/how-to-use.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Run the following command:
1414

1515
Where DB is either a database URL that's compatible with SQLAlchemy, or the name of a database specified in a configuration file.
1616

17-
We recommend using a configuration file, with the ``--conf`` switch, to keep the command simple and managable.
17+
We recommend using a configuration file, with the ``--conf`` switch, to keep the command simple and manageable.
1818

1919
For a list of example URLs, see [list of supported databases](supported-databases.md).
2020

@@ -150,7 +150,7 @@ We capture two events: one when the data-diff run starts, and one when it is fin
150150
- Types of databases used (postgresql, mysql, etc.)
151151
- Sizes of tables diffed, run time, and diff row count (numbers only)
152152
- Error message, if any, truncated to the first 20 characters.
153-
- A persistent UUID to indentify the session, stored in `~/.datadiff.toml`
153+
- A persistent UUID to identify the session, stored in `~/.datadiff.toml`
154154

155155
If you do not wish to participate, the tracking can be easily disabled with one of the following methods:
156156

0 commit comments

Comments
 (0)