sqlframe 3.1.1__tar.gz → 3.2.0__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.
- {sqlframe-3.1.1 → sqlframe-3.2.0}/PKG-INFO +1 -1
- {sqlframe-3.1.1 → sqlframe-3.2.0}/docs/standalone.md +1 -1
- {sqlframe-3.1.1 → sqlframe-3.2.0}/setup.py +3 -3
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/_version.py +2 -2
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/base/group.py +1 -1
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/duckdb/readwriter.py +3 -1
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe.egg-info/PKG-INFO +1 -1
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe.egg-info/SOURCES.txt +14 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe.egg-info/requires.txt +3 -3
- sqlframe-3.2.0/tests/fixtures/employee_delta/.part-00000-e5965c7b-e58f-4d3c-ad56-002876814e3a-c000.snappy.parquet.crc +0 -0
- sqlframe-3.2.0/tests/fixtures/employee_delta/.part-00002-3fed7f18-370f-4b16-b232-504d6194eb52-c000.snappy.parquet.crc +0 -0
- sqlframe-3.2.0/tests/fixtures/employee_delta/.part-00004-143c5da1-d5ab-4706-8e84-0d2a324c6894-c000.snappy.parquet.crc +0 -0
- sqlframe-3.2.0/tests/fixtures/employee_delta/.part-00006-64f07e25-c30e-4075-acc6-b3c69c4ce80b-c000.snappy.parquet.crc +0 -0
- sqlframe-3.2.0/tests/fixtures/employee_delta/.part-00008-89ccad8d-df73-4ad5-8850-82ef3884db60-c000.snappy.parquet.crc +0 -0
- sqlframe-3.2.0/tests/fixtures/employee_delta/.part-00010-812b3382-8c7f-4c4e-9bcd-09ce8664f6e0-c000.snappy.parquet.crc +0 -0
- sqlframe-3.2.0/tests/fixtures/employee_delta/_delta_log/.00000000000000000000.json.crc +0 -0
- sqlframe-3.2.0/tests/fixtures/employee_delta/_delta_log/00000000000000000000.json +8 -0
- sqlframe-3.2.0/tests/fixtures/employee_delta/part-00000-e5965c7b-e58f-4d3c-ad56-002876814e3a-c000.snappy.parquet +0 -0
- sqlframe-3.2.0/tests/fixtures/employee_delta/part-00002-3fed7f18-370f-4b16-b232-504d6194eb52-c000.snappy.parquet +0 -0
- sqlframe-3.2.0/tests/fixtures/employee_delta/part-00004-143c5da1-d5ab-4706-8e84-0d2a324c6894-c000.snappy.parquet +0 -0
- sqlframe-3.2.0/tests/fixtures/employee_delta/part-00006-64f07e25-c30e-4075-acc6-b3c69c4ce80b-c000.snappy.parquet +0 -0
- sqlframe-3.2.0/tests/fixtures/employee_delta/part-00008-89ccad8d-df73-4ad5-8850-82ef3884db60-c000.snappy.parquet +0 -0
- sqlframe-3.2.0/tests/fixtures/employee_delta/part-00010-812b3382-8c7f-4c4e-9bcd-09ce8664f6e0-c000.snappy.parquet +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/duck/test_duckdb_reader.py +16 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/.github/CODEOWNERS +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/.github/workflows/main.workflow.yaml +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/.github/workflows/publish.workflow.yaml +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/.gitignore +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/.pre-commit-config.yaml +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/.readthedocs.yaml +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/LICENSE +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/Makefile +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/README.md +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/blogs/add_chatgpt_support.md +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/blogs/images/add_chatgpt_support/adding_ai_to_meal.jpeg +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/blogs/images/add_chatgpt_support/hype_train.gif +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/blogs/images/add_chatgpt_support/marvin_paranoid_robot.gif +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/blogs/images/add_chatgpt_support/nonsense_sql.png +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/blogs/images/add_chatgpt_support/openai_full_rewrite.png +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/blogs/images/add_chatgpt_support/openai_replacing_cte_names.png +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/blogs/images/add_chatgpt_support/sqlglot_optimized_code.png +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/blogs/images/add_chatgpt_support/sunny_shake_head_no.gif +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/blogs/images/but_wait_theres_more.gif +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/blogs/images/cake.gif +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/blogs/images/you_get_pyspark_api.gif +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/blogs/sqlframe_universal_dataframe_api.md +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/docs/bigquery.md +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/docs/configuration.md +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/docs/docs/bigquery.md +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/docs/docs/duckdb.md +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/docs/docs/images/SF.png +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/docs/docs/images/favicon.png +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/docs/docs/images/favicon_old.png +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/docs/docs/images/sqlframe_diagram.png +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/docs/docs/images/sqlframe_logo.png +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/docs/docs/postgres.md +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/docs/duckdb.md +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/docs/images/SF.png +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/docs/images/favicon.png +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/docs/images/favicon_old.png +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/docs/images/sqlframe_diagram.png +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/docs/images/sqlframe_logo.png +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/docs/index.md +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/docs/postgres.md +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/docs/requirements.txt +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/docs/snowflake.md +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/docs/spark.md +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/docs/stylesheets/extra.css +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/mkdocs.yml +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/pytest.ini +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/renovate.json +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/setup.cfg +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/LICENSE +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/base/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/base/_typing.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/base/catalog.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/base/column.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/base/dataframe.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/base/decorators.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/base/exceptions.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/base/function_alternatives.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/base/functions.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/base/mixins/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/base/mixins/catalog_mixins.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/base/mixins/dataframe_mixins.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/base/mixins/readwriter_mixins.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/base/normalize.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/base/operations.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/base/readerwriter.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/base/session.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/base/transforms.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/base/types.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/base/udf.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/base/util.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/base/window.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/bigquery/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/bigquery/catalog.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/bigquery/column.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/bigquery/dataframe.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/bigquery/functions.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/bigquery/functions.pyi +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/bigquery/group.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/bigquery/readwriter.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/bigquery/session.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/bigquery/types.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/bigquery/udf.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/bigquery/window.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/duckdb/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/duckdb/catalog.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/duckdb/column.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/duckdb/dataframe.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/duckdb/functions.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/duckdb/functions.pyi +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/duckdb/group.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/duckdb/session.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/duckdb/types.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/duckdb/udf.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/duckdb/window.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/postgres/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/postgres/catalog.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/postgres/column.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/postgres/dataframe.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/postgres/functions.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/postgres/functions.pyi +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/postgres/group.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/postgres/readwriter.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/postgres/session.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/postgres/types.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/postgres/udf.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/postgres/window.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/redshift/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/redshift/catalog.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/redshift/column.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/redshift/dataframe.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/redshift/functions.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/redshift/group.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/redshift/readwriter.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/redshift/session.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/redshift/types.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/redshift/udf.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/redshift/window.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/snowflake/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/snowflake/catalog.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/snowflake/column.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/snowflake/dataframe.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/snowflake/functions.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/snowflake/functions.pyi +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/snowflake/group.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/snowflake/readwriter.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/snowflake/session.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/snowflake/types.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/snowflake/udf.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/snowflake/window.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/spark/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/spark/catalog.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/spark/column.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/spark/dataframe.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/spark/functions.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/spark/functions.pyi +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/spark/group.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/spark/readwriter.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/spark/session.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/spark/types.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/spark/udf.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/spark/window.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/standalone/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/standalone/catalog.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/standalone/column.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/standalone/dataframe.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/standalone/functions.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/standalone/group.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/standalone/readwriter.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/standalone/session.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/standalone/types.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/standalone/udf.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/standalone/window.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/testing/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe/testing/utils.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe.egg-info/dependency_links.txt +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/sqlframe.egg-info/top_level.txt +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/common_fixtures.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/conftest.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/fixtures/employee.csv +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/fixtures/employee.json +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/fixtures/employee.parquet +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/fixtures/employee_extra_line.csv +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/bigquery/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/bigquery/test_bigquery_catalog.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/bigquery/test_bigquery_dataframe.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/bigquery/test_bigquery_session.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/duck/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/duck/test_duckdb_activate.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/duck/test_duckdb_catalog.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/duck/test_duckdb_dataframe.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/duck/test_duckdb_session.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/duck/test_duckdb_udf.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/postgres/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/postgres/test_postgres_activate.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/postgres/test_postgres_catalog.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/postgres/test_postgres_dataframe.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/postgres/test_postgres_session.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/redshift/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/redshift/test_redshift_catalog.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/redshift/test_redshift_session.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/snowflake/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/snowflake/test_snowflake_catalog.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/snowflake/test_snowflake_dataframe.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/snowflake/test_snowflake_session.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/spark/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/spark/test_spark_catalog.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/spark/test_spark_dataframe.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/test_engine_column.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/test_engine_dataframe.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/test_engine_reader.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/test_engine_session.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/test_engine_writer.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/test_int_functions.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/engines/test_int_testing.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/fixtures.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/test_int_dataframe.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/test_int_dataframe_stats.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/test_int_grouped_data.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/integration/test_int_session.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/types.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/bigquery/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/bigquery/test_activate.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/conftest.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/duck/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/duck/test_activate.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/postgres/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/postgres/test_activate.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/redshift/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/redshift/test_activate.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/snowflake/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/snowflake/test_activate.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/spark/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/spark/test_activate.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/standalone/__init__.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/standalone/fixtures.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/standalone/test_activate.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/standalone/test_column.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/standalone/test_dataframe.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/standalone/test_dataframe_writer.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/standalone/test_functions.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/standalone/test_session.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/standalone/test_session_case_sensitivity.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/standalone/test_types.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/standalone/test_window.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/test_activate.py +0 -0
- {sqlframe-3.1.1 → sqlframe-3.2.0}/tests/unit/test_util.py +0 -0
|
@@ -84,7 +84,7 @@ from sqlframe.standalone import StandaloneSession
|
|
|
84
84
|
session = StandaloneSession()
|
|
85
85
|
|
|
86
86
|
session.catalog.add_table("test_table", column_mapping={"a": "int", "b": "int", "c": "int"})
|
|
87
|
-
df = session.read.table("
|
|
87
|
+
df = session.read.table("test_table")
|
|
88
88
|
df.sql()
|
|
89
89
|
```
|
|
90
90
|
|
|
@@ -20,7 +20,7 @@ setup(
|
|
|
20
20
|
python_requires=">=3.8",
|
|
21
21
|
install_requires=[
|
|
22
22
|
"prettytable<3.11.1",
|
|
23
|
-
"sqlglot>=24.0.0,<25.
|
|
23
|
+
"sqlglot>=24.0.0,<25.19",
|
|
24
24
|
"typing_extensions>=4.8,<5",
|
|
25
25
|
],
|
|
26
26
|
extras_require={
|
|
@@ -32,7 +32,7 @@ setup(
|
|
|
32
32
|
"duckdb>=0.9,<1.1",
|
|
33
33
|
"findspark>=2,<3",
|
|
34
34
|
"mypy>=1.10.0,<1.12",
|
|
35
|
-
"openai>=1.30,<1.
|
|
35
|
+
"openai>=1.30,<1.44",
|
|
36
36
|
"pandas>=2,<3",
|
|
37
37
|
"pandas-stubs>=2,<3",
|
|
38
38
|
"psycopg>=3.1,<4",
|
|
@@ -58,7 +58,7 @@ setup(
|
|
|
58
58
|
"pandas>=2,<3",
|
|
59
59
|
],
|
|
60
60
|
"openai": [
|
|
61
|
-
"openai>=1.30,<1.
|
|
61
|
+
"openai>=1.30,<1.44",
|
|
62
62
|
],
|
|
63
63
|
"pandas": [
|
|
64
64
|
"pandas>=2,<3",
|
|
@@ -68,7 +68,7 @@ class _BaseGroupedData(t.Generic[DF]):
|
|
|
68
68
|
)
|
|
69
69
|
group_by_cols.extend(grouping_set) # type: ignore
|
|
70
70
|
group_by_cols = list(dict.fromkeys(group_by_cols))
|
|
71
|
-
group_by = exp.Group(grouping_sets=all_grouping_sets)
|
|
71
|
+
group_by = exp.Group(grouping_sets=[exp.GroupingSets(expressions=all_grouping_sets)])
|
|
72
72
|
expression.set("group", group_by)
|
|
73
73
|
for col in cols:
|
|
74
74
|
# Spark supports having an empty grouping_id which means all of the columns but other dialects
|
|
@@ -85,7 +85,9 @@ class DuckDBDataFrameReader(_BaseDataFrameReader["DuckDBSession", "DuckDBDataFra
|
|
|
85
85
|
options["columns"] = "{" + duckdb_columns + "}"
|
|
86
86
|
else:
|
|
87
87
|
select_columns = [exp.Star()]
|
|
88
|
-
if format:
|
|
88
|
+
if format == "delta":
|
|
89
|
+
from_clause = f"delta_scan('{path}')"
|
|
90
|
+
elif format:
|
|
89
91
|
paths = ",".join([f"'{path}'" for path in ensure_list(path)])
|
|
90
92
|
from_clause = f"read_{format}([{paths}], {to_csv(options)})"
|
|
91
93
|
else:
|
|
@@ -171,6 +171,20 @@ tests/fixtures/employee.csv
|
|
|
171
171
|
tests/fixtures/employee.json
|
|
172
172
|
tests/fixtures/employee.parquet
|
|
173
173
|
tests/fixtures/employee_extra_line.csv
|
|
174
|
+
tests/fixtures/employee_delta/.part-00000-e5965c7b-e58f-4d3c-ad56-002876814e3a-c000.snappy.parquet.crc
|
|
175
|
+
tests/fixtures/employee_delta/.part-00002-3fed7f18-370f-4b16-b232-504d6194eb52-c000.snappy.parquet.crc
|
|
176
|
+
tests/fixtures/employee_delta/.part-00004-143c5da1-d5ab-4706-8e84-0d2a324c6894-c000.snappy.parquet.crc
|
|
177
|
+
tests/fixtures/employee_delta/.part-00006-64f07e25-c30e-4075-acc6-b3c69c4ce80b-c000.snappy.parquet.crc
|
|
178
|
+
tests/fixtures/employee_delta/.part-00008-89ccad8d-df73-4ad5-8850-82ef3884db60-c000.snappy.parquet.crc
|
|
179
|
+
tests/fixtures/employee_delta/.part-00010-812b3382-8c7f-4c4e-9bcd-09ce8664f6e0-c000.snappy.parquet.crc
|
|
180
|
+
tests/fixtures/employee_delta/part-00000-e5965c7b-e58f-4d3c-ad56-002876814e3a-c000.snappy.parquet
|
|
181
|
+
tests/fixtures/employee_delta/part-00002-3fed7f18-370f-4b16-b232-504d6194eb52-c000.snappy.parquet
|
|
182
|
+
tests/fixtures/employee_delta/part-00004-143c5da1-d5ab-4706-8e84-0d2a324c6894-c000.snappy.parquet
|
|
183
|
+
tests/fixtures/employee_delta/part-00006-64f07e25-c30e-4075-acc6-b3c69c4ce80b-c000.snappy.parquet
|
|
184
|
+
tests/fixtures/employee_delta/part-00008-89ccad8d-df73-4ad5-8850-82ef3884db60-c000.snappy.parquet
|
|
185
|
+
tests/fixtures/employee_delta/part-00010-812b3382-8c7f-4c4e-9bcd-09ce8664f6e0-c000.snappy.parquet
|
|
186
|
+
tests/fixtures/employee_delta/_delta_log/.00000000000000000000.json.crc
|
|
187
|
+
tests/fixtures/employee_delta/_delta_log/00000000000000000000.json
|
|
174
188
|
tests/integration/__init__.py
|
|
175
189
|
tests/integration/fixtures.py
|
|
176
190
|
tests/integration/test_int_dataframe.py
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
prettytable<3.11.1
|
|
2
|
-
sqlglot<25.
|
|
2
|
+
sqlglot<25.19,>=24.0.0
|
|
3
3
|
typing_extensions<5,>=4.8
|
|
4
4
|
|
|
5
5
|
[bigquery]
|
|
@@ -10,7 +10,7 @@ google-cloud-bigquery[pandas]<4,>=3
|
|
|
10
10
|
duckdb<1.1,>=0.9
|
|
11
11
|
findspark<3,>=2
|
|
12
12
|
mypy<1.12,>=1.10.0
|
|
13
|
-
openai<1.
|
|
13
|
+
openai<1.44,>=1.30
|
|
14
14
|
pandas-stubs<3,>=2
|
|
15
15
|
pandas<3,>=2
|
|
16
16
|
psycopg<4,>=3.1
|
|
@@ -40,7 +40,7 @@ duckdb<1.1,>=0.9
|
|
|
40
40
|
pandas<3,>=2
|
|
41
41
|
|
|
42
42
|
[openai]
|
|
43
|
-
openai<1.
|
|
43
|
+
openai<1.44,>=1.30
|
|
44
44
|
|
|
45
45
|
[pandas]
|
|
46
46
|
pandas<3,>=2
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{"commitInfo":{"timestamp":1725137989496,"operation":"WRITE","operationParameters":{"mode":"ErrorIfExists","partitionBy":"[]"},"isolationLevel":"Serializable","isBlindAppend":true,"operationMetrics":{"numFiles":"6","numOutputRows":"5","numOutputBytes":"7800"},"engineInfo":"Apache-Spark/3.5.2 Delta-Lake/3.2.0","txnId":"17633aa0-b065-49d6-9893-022103f7364e"}}
|
|
2
|
+
{"metaData":{"id":"73709a6c-bb75-4ac7-a78e-635400886d74","format":{"provider":"parquet","options":{}},"schemaString":"{\"type\":\"struct\",\"fields\":[{\"name\":\"employee_id\",\"type\":\"integer\",\"nullable\":true,\"metadata\":{}},{\"name\":\"fname\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"lname\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"age\",\"type\":\"integer\",\"nullable\":true,\"metadata\":{}},{\"name\":\"store_id\",\"type\":\"integer\",\"nullable\":true,\"metadata\":{}}]}","partitionColumns":[],"configuration":{},"createdTime":1725137987547}}
|
|
3
|
+
{"protocol":{"minReaderVersion":1,"minWriterVersion":2}}
|
|
4
|
+
{"add":{"path":"part-00002-3fed7f18-370f-4b16-b232-504d6194eb52-c000.snappy.parquet","partitionValues":{},"size":1437,"modificationTime":1725137989427,"dataChange":true,"stats":"{\"numRecords\":1,\"minValues\":{\"employee_id\":1,\"fname\":\"Jack\",\"lname\":\"Shephard\",\"age\":37,\"store_id\":1},\"maxValues\":{\"employee_id\":1,\"fname\":\"Jack\",\"lname\":\"Shephard\",\"age\":37,\"store_id\":1},\"nullCount\":{\"employee_id\":0,\"fname\":0,\"lname\":0,\"age\":0,\"store_id\":0}}"}}
|
|
5
|
+
{"add":{"path":"part-00004-143c5da1-d5ab-4706-8e84-0d2a324c6894-c000.snappy.parquet","partitionValues":{},"size":1417,"modificationTime":1725137989428,"dataChange":true,"stats":"{\"numRecords\":1,\"minValues\":{\"employee_id\":2,\"fname\":\"John\",\"lname\":\"Locke\",\"age\":65,\"store_id\":1},\"maxValues\":{\"employee_id\":2,\"fname\":\"John\",\"lname\":\"Locke\",\"age\":65,\"store_id\":1},\"nullCount\":{\"employee_id\":0,\"fname\":0,\"lname\":0,\"age\":0,\"store_id\":0}}"}}
|
|
6
|
+
{"add":{"path":"part-00006-64f07e25-c30e-4075-acc6-b3c69c4ce80b-c000.snappy.parquet","partitionValues":{},"size":1424,"modificationTime":1725137989428,"dataChange":true,"stats":"{\"numRecords\":1,\"minValues\":{\"employee_id\":3,\"fname\":\"Kate\",\"lname\":\"Austen\",\"age\":37,\"store_id\":2},\"maxValues\":{\"employee_id\":3,\"fname\":\"Kate\",\"lname\":\"Austen\",\"age\":37,\"store_id\":2},\"nullCount\":{\"employee_id\":0,\"fname\":0,\"lname\":0,\"age\":0,\"store_id\":0}}"}}
|
|
7
|
+
{"add":{"path":"part-00008-89ccad8d-df73-4ad5-8850-82ef3884db60-c000.snappy.parquet","partitionValues":{},"size":1459,"modificationTime":1725137989427,"dataChange":true,"stats":"{\"numRecords\":1,\"minValues\":{\"employee_id\":4,\"fname\":\"Claire\",\"lname\":\"Littleton\",\"age\":27,\"store_id\":2},\"maxValues\":{\"employee_id\":4,\"fname\":\"Claire\",\"lname\":\"Littleton\",\"age\":27,\"store_id\":2},\"nullCount\":{\"employee_id\":0,\"fname\":0,\"lname\":0,\"age\":0,\"store_id\":0}}"}}
|
|
8
|
+
{"add":{"path":"part-00010-812b3382-8c7f-4c4e-9bcd-09ce8664f6e0-c000.snappy.parquet","partitionValues":{},"size":1417,"modificationTime":1725137989428,"dataChange":true,"stats":"{\"numRecords\":1,\"minValues\":{\"employee_id\":5,\"fname\":\"Hugo\",\"lname\":\"Reyes\",\"age\":29,\"store_id\":100},\"maxValues\":{\"employee_id\":5,\"fname\":\"Hugo\",\"lname\":\"Reyes\",\"age\":29,\"store_id\":100},\"nullCount\":{\"employee_id\":0,\"fname\":0,\"lname\":0,\"age\":0,\"store_id\":0}}"}}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -98,3 +98,19 @@ def test_employee_extra_line_csv_multiple(duckdb_session: DuckDBSession):
|
|
|
98
98
|
),
|
|
99
99
|
Row(**{"employee_id": 5, "fname": "Hugo", "lname": "Reyes", "age": 29, "store_id": 100}),
|
|
100
100
|
]
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
def test_employee_delta(duckdb_session: DuckDBSession):
|
|
104
|
+
df = duckdb_session.read.load(
|
|
105
|
+
"tests/fixtures/employee_delta",
|
|
106
|
+
format="delta",
|
|
107
|
+
)
|
|
108
|
+
assert df.collect() == [
|
|
109
|
+
Row(**{"employee_id": 1, "fname": "Jack", "lname": "Shephard", "age": 37, "store_id": 1}),
|
|
110
|
+
Row(**{"employee_id": 2, "fname": "John", "lname": "Locke", "age": 65, "store_id": 1}),
|
|
111
|
+
Row(**{"employee_id": 3, "fname": "Kate", "lname": "Austen", "age": 37, "store_id": 2}),
|
|
112
|
+
Row(
|
|
113
|
+
**{"employee_id": 4, "fname": "Claire", "lname": "Littleton", "age": 27, "store_id": 2}
|
|
114
|
+
),
|
|
115
|
+
Row(**{"employee_id": 5, "fname": "Hugo", "lname": "Reyes", "age": 29, "store_id": 100}),
|
|
116
|
+
]
|
|
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
|
{sqlframe-3.1.1 → sqlframe-3.2.0}/blogs/images/add_chatgpt_support/marvin_paranoid_robot.gif
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sqlframe-3.1.1 → sqlframe-3.2.0}/blogs/images/add_chatgpt_support/openai_replacing_cte_names.png
RENAMED
|
File without changes
|
{sqlframe-3.1.1 → sqlframe-3.2.0}/blogs/images/add_chatgpt_support/sqlglot_optimized_code.png
RENAMED
|
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
|
|
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
|
|
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
|