diff --git a/.buildinfo b/.buildinfo index 1e8d526..43ae7a7 100644 --- a/.buildinfo +++ b/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 1f4b85819b4429b3833c6521f227662a +config: 6c337fb4280de0804707d0f7392a1a76 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/.doctrees/environment.pickle b/.doctrees/environment.pickle index 5a30355..f875641 100644 Binary files a/.doctrees/environment.pickle and b/.doctrees/environment.pickle differ diff --git a/.doctrees/index.doctree b/.doctrees/index.doctree index daa821f..3aeac60 100644 Binary files a/.doctrees/index.doctree and b/.doctrees/index.doctree differ diff --git a/.doctrees/snowflake_usage.doctree b/.doctrees/snowflake_usage.doctree index a12ff2a..48032de 100644 Binary files a/.doctrees/snowflake_usage.doctree and b/.doctrees/snowflake_usage.doctree differ diff --git a/_sources/snowflake_usage.rst.txt b/_sources/snowflake_usage.rst.txt index 3c2687e..9cc2139 100644 --- a/_sources/snowflake_usage.rst.txt +++ b/_sources/snowflake_usage.rst.txt @@ -6,11 +6,12 @@ For ``SnowflakeCompare`` - ``on_index`` is not supported. - Joining is done using ``EQUAL_NULL`` which is the equality test that is safe for null values. - Compares ``snowflake.snowpark.DataFrame``, which can be provided as either raw Snowflake dataframes -or the as the names of full names of valid snowflake tables, which we will process into Snowpark dataframes. + or as the names of full names of valid snowflake tables, which we will process into Snowpark dataframes. -SnowflakeCompare Object Setup ---------------------------------------------------- +SnowflakeCompare setup +---------------------- + There are two ways to specify input dataframes for ``SnowflakeCompare`` Provide Snowpark dataframes @@ -66,11 +67,12 @@ Provide Snowpark dataframes print(compare.report()) -Provide the full name (``{db}.{schema}.{table_name}``) of valid Snowflake tables -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Provide the full name (``db.schema.table_name``) of valid Snowflake tables +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Given the dataframes from the prior examples... .. code-block:: python + df_1.write.mode("overwrite").save_as_table("toy_table_1") df_2.write.mode("overwrite").save_as_table("toy_table_2") @@ -210,6 +212,7 @@ There are a few convenience methods and attributes available after the compariso print(compare.df2_unq_columns()) # OrderedSet() + Duplicate rows -------------- @@ -260,9 +263,10 @@ as uniquely in the second. Additional considerations ------------------------- -- It is strongly recommended against joining on float columns (or any column with floating point precision). -Columns joining tables are compared on the basis of an exact comparison, therefore if the values comparing -your float columns are not exact, you will likely get unexpected results. -- Case-sensitive columns are only partially supported. We essentially treat case-sensitive -columns as if they are case-insensitive. Therefore you may use case-sensitive columns as long as -you don't have several columns with the same name differentiated only be case sensitivity. + +- It is strongly recommended against joining on float columns or any column with floating point precision. + Columns joining tables are compared on the basis of an exact comparison, therefore if the values + comparing your float columns are not exact, you will likely get unexpected results. +- Case-sensitive columns are only partially supported. We essentially treat case-sensitive columns as + if they are case-insensitive. Therefore you may use case-sensitive columns as long as you don't have several + columns with the same name differentiated only be case sensitivity. diff --git a/_static/documentation_options.js b/_static/documentation_options.js index 061ed0a..eb0057b 100644 --- a/_static/documentation_options.js +++ b/_static/documentation_options.js @@ -1,5 +1,5 @@ const DOCUMENTATION_OPTIONS = { - VERSION: '0.14.2', + VERSION: '0.14.3', LANGUAGE: 'en', COLLAPSE_INDEX: false, BUILDER: 'html', diff --git a/api/datacompy.html b/api/datacompy.html index f6a913c..8cab248 100644 --- a/api/datacompy.html +++ b/api/datacompy.html @@ -6,7 +6,7 @@ -