sqlframe 3.29.1__tar.gz → 3.31.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.29.1 → sqlframe-3.31.0}/PKG-INFO +1 -1
- {sqlframe-3.29.1 → sqlframe-3.31.0}/docs/databricks.md +14 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/docs/duckdb.md +1 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/setup.py +2 -2
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/_version.py +2 -2
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/base/functions.py +22 -2
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/databricks/dataframe.py +29 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe.egg-info/PKG-INFO +1 -1
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe.egg-info/requires.txt +2 -2
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/databricks/test_databricks_dataframe.py +77 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/standalone/test_functions.py +4 -4
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/standalone/test_session.py +2 -4
- {sqlframe-3.29.1 → sqlframe-3.31.0}/.github/CODEOWNERS +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/.github/workflows/main.workflow.yaml +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/.github/workflows/publish.workflow.yaml +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/.gitignore +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/.pre-commit-config.yaml +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/.readthedocs.yaml +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/LICENSE +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/Makefile +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/README.md +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/blogs/add_chatgpt_support.md +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/blogs/images/add_chatgpt_support/adding_ai_to_meal.jpeg +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/blogs/images/add_chatgpt_support/hype_train.gif +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/blogs/images/add_chatgpt_support/marvin_paranoid_robot.gif +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/blogs/images/add_chatgpt_support/nonsense_sql.png +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/blogs/images/add_chatgpt_support/openai_full_rewrite.png +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/blogs/images/add_chatgpt_support/openai_replacing_cte_names.png +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/blogs/images/add_chatgpt_support/sqlglot_optimized_code.png +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/blogs/images/add_chatgpt_support/sunny_shake_head_no.gif +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/blogs/images/but_wait_theres_more.gif +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/blogs/images/cake.gif +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/blogs/images/you_get_pyspark_api.gif +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/blogs/sqlframe_universal_dataframe_api.md +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/docs/bigquery.md +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/docs/configuration.md +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/docs/docs/bigquery.md +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/docs/docs/duckdb.md +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/docs/docs/images/SF.png +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/docs/docs/images/favicon.png +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/docs/docs/images/sqlframe_logo.png +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/docs/docs/postgres.md +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/docs/images/SF.png +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/docs/images/favicon.png +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/docs/images/sqlframe_logo.png +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/docs/index.md +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/docs/postgres.md +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/docs/redshift.md +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/docs/requirements.txt +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/docs/snowflake.md +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/docs/spark.md +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/docs/standalone.md +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/docs/stylesheets/extra.css +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/mkdocs.yml +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/pytest.ini +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/renovate.json +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/setup.cfg +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/LICENSE +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/base/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/base/_typing.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/base/catalog.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/base/column.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/base/dataframe.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/base/decorators.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/base/exceptions.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/base/function_alternatives.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/base/group.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/base/mixins/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/base/mixins/catalog_mixins.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/base/mixins/dataframe_mixins.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/base/mixins/readwriter_mixins.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/base/mixins/table_mixins.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/base/normalize.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/base/operations.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/base/readerwriter.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/base/session.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/base/table.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/base/transforms.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/base/types.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/base/udf.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/base/util.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/base/window.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/bigquery/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/bigquery/catalog.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/bigquery/column.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/bigquery/dataframe.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/bigquery/functions.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/bigquery/functions.pyi +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/bigquery/group.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/bigquery/readwriter.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/bigquery/session.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/bigquery/table.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/bigquery/types.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/bigquery/udf.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/bigquery/window.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/databricks/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/databricks/catalog.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/databricks/column.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/databricks/functions.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/databricks/functions.pyi +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/databricks/group.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/databricks/readwriter.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/databricks/session.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/databricks/table.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/databricks/types.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/databricks/udf.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/databricks/window.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/duckdb/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/duckdb/catalog.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/duckdb/column.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/duckdb/dataframe.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/duckdb/functions.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/duckdb/functions.pyi +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/duckdb/group.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/duckdb/readwriter.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/duckdb/session.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/duckdb/table.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/duckdb/types.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/duckdb/udf.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/duckdb/window.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/postgres/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/postgres/catalog.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/postgres/column.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/postgres/dataframe.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/postgres/functions.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/postgres/functions.pyi +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/postgres/group.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/postgres/readwriter.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/postgres/session.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/postgres/table.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/postgres/types.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/postgres/udf.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/postgres/window.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/py.typed +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/redshift/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/redshift/catalog.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/redshift/column.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/redshift/dataframe.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/redshift/functions.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/redshift/group.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/redshift/readwriter.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/redshift/session.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/redshift/table.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/redshift/types.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/redshift/udf.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/redshift/window.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/snowflake/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/snowflake/catalog.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/snowflake/column.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/snowflake/dataframe.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/snowflake/functions.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/snowflake/functions.pyi +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/snowflake/group.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/snowflake/readwriter.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/snowflake/session.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/snowflake/table.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/snowflake/types.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/snowflake/udf.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/snowflake/window.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/spark/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/spark/catalog.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/spark/column.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/spark/dataframe.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/spark/functions.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/spark/functions.pyi +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/spark/group.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/spark/readwriter.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/spark/session.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/spark/table.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/spark/types.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/spark/udf.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/spark/window.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/standalone/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/standalone/catalog.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/standalone/column.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/standalone/dataframe.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/standalone/functions.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/standalone/group.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/standalone/readwriter.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/standalone/session.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/standalone/table.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/standalone/types.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/standalone/udf.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/standalone/window.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/testing/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe/testing/utils.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe.egg-info/SOURCES.txt +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe.egg-info/dependency_links.txt +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/sqlframe.egg-info/top_level.txt +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/common_fixtures.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/conftest.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/employee.csv +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/employee.json +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/employee.parquet +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/employee_delta/.part-00000-e5965c7b-e58f-4d3c-ad56-002876814e3a-c000.snappy.parquet.crc +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/employee_delta/.part-00002-3fed7f18-370f-4b16-b232-504d6194eb52-c000.snappy.parquet.crc +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/employee_delta/.part-00004-143c5da1-d5ab-4706-8e84-0d2a324c6894-c000.snappy.parquet.crc +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/employee_delta/.part-00006-64f07e25-c30e-4075-acc6-b3c69c4ce80b-c000.snappy.parquet.crc +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/employee_delta/.part-00008-89ccad8d-df73-4ad5-8850-82ef3884db60-c000.snappy.parquet.crc +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/employee_delta/.part-00010-812b3382-8c7f-4c4e-9bcd-09ce8664f6e0-c000.snappy.parquet.crc +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/employee_delta/_delta_log/.00000000000000000000.json.crc +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/employee_delta/_delta_log/00000000000000000000.json +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/employee_delta/part-00000-e5965c7b-e58f-4d3c-ad56-002876814e3a-c000.snappy.parquet +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/employee_delta/part-00002-3fed7f18-370f-4b16-b232-504d6194eb52-c000.snappy.parquet +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/employee_delta/part-00004-143c5da1-d5ab-4706-8e84-0d2a324c6894-c000.snappy.parquet +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/employee_delta/part-00006-64f07e25-c30e-4075-acc6-b3c69c4ce80b-c000.snappy.parquet +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/employee_delta/part-00008-89ccad8d-df73-4ad5-8850-82ef3884db60-c000.snappy.parquet +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/employee_delta/part-00010-812b3382-8c7f-4c4e-9bcd-09ce8664f6e0-c000.snappy.parquet +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/employee_extra_line.csv +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/issue_219.csv +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds1.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds10.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds11.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds12.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds13.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds14.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds15.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds16.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds17.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds18.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds19.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds2.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds20.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds21.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds22.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds23.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds24.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds25.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds26.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds27.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds28.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds29.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds3.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds30.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds31.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds32.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds33.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds34.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds35.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds36.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds37.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds38.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds39.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds4.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds40.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds41.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds42.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds43.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds44.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds45.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds46.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds47.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds48.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds49.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds5.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds50.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds51.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds52.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds53.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds54.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds55.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds56.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds57.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds58.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds59.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds6.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds60.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds61.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds62.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds63.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds64.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds65.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds66.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds67.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds68.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds69.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds7.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds70.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds71.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds72.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds73.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds74.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds75.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds76.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds77.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds78.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds79.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds8.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds80.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds81.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds82.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds83.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds84.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds85.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds86.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds87.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds88.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds89.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds9.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds90.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds91.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds92.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds93.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds94.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds95.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds96.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds97.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds98.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/fixtures/tpcds/tpcds99.sql +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/bigquery/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/bigquery/test_bigquery_catalog.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/bigquery/test_bigquery_dataframe.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/bigquery/test_bigquery_session.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/databricks/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/databricks/test_databricks_catalog.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/databricks/test_databricks_session.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/duck/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/duck/test_duckdb_activate.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/duck/test_duckdb_catalog.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/duck/test_duckdb_dataframe.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/duck/test_duckdb_reader.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/duck/test_duckdb_session.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/duck/test_duckdb_udf.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/duck/test_tpcds.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/postgres/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/postgres/test_postgres_activate.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/postgres/test_postgres_catalog.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/postgres/test_postgres_dataframe.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/postgres/test_postgres_session.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/redshift/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/redshift/test_redshift_catalog.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/redshift/test_redshift_session.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/snowflake/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/snowflake/test_snowflake_catalog.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/snowflake/test_snowflake_dataframe.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/snowflake/test_snowflake_session.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/spark/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/spark/test_spark_catalog.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/spark/test_spark_dataframe.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/test_engine_column.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/test_engine_dataframe.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/test_engine_reader.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/test_engine_session.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/test_engine_table.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/test_engine_writer.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/test_int_functions.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/engines/test_int_testing.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/fixtures.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/test_int_dataframe.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/test_int_dataframe_stats.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/test_int_grouped_data.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/integration/test_int_session.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/types.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/bigquery/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/bigquery/test_activate.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/conftest.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/databricks/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/databricks/test_activate.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/duck/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/duck/test_activate.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/duck/test_reader_options.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/postgres/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/postgres/test_activate.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/redshift/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/redshift/test_activate.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/snowflake/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/snowflake/test_activate.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/spark/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/spark/test_activate.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/spark/test_reader_options.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/standalone/__init__.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/standalone/fixtures.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/standalone/test_activate.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/standalone/test_column.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/standalone/test_dataframe.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/standalone/test_dataframe_writer.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/standalone/test_session_case_sensitivity.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/standalone/test_types.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/standalone/test_window.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/test_activate.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/test_base_reader_options.py +0 -0
- {sqlframe-3.29.1 → sqlframe-3.31.0}/tests/unit/test_util.py +0 -0
@@ -361,3 +361,17 @@ Output:
|
|
361
361
|
| 6 | Sun-Hwa | Kwon | 27 | 5 |
|
362
362
|
+----+---------+-----------+-----+----------+
|
363
363
|
```
|
364
|
+
|
365
|
+
### toArrow Batching
|
366
|
+
|
367
|
+
SQLFrame supports the `toArrow` method in order to return a `pyarrow.Table` object.
|
368
|
+
```python
|
369
|
+
arrow_table = df.toArrow()
|
370
|
+
```
|
371
|
+
|
372
|
+
Unique to SQLFrame though is a `batch_size` argument. If provided, a class similar to `pyarrow.RecordBatchReader` is returned which can be used to iterate over the batches.
|
373
|
+
`StopIteration` will be raised when there are no more batches to read.
|
374
|
+
```python
|
375
|
+
record_batch_reader = df.toArrow(batch_size=1)
|
376
|
+
first_batch_arrow_table = record_batch_reader.read_next_batch()
|
377
|
+
```
|
@@ -379,6 +379,7 @@ See something that you would like to see supported? [Open an issue](https://gith
|
|
379
379
|
* [kurtosis](https://spark.apache.org/docs/latest/api/python/reference/pyspark.sql/api/pyspark.sql.functions.kurtosis.html)
|
380
380
|
* [lag](https://spark.apache.org/docs/latest/api/python/reference/pyspark.sql/api/pyspark.sql.functions.lag.html)
|
381
381
|
* [last](https://spark.apache.org/docs/latest/api/python/reference/pyspark.sql/api/pyspark.sql.functions.last.html)
|
382
|
+
* [last_value](https://spark.apache.org/docs/latest/api/python/reference/pyspark.sql/api/pyspark.sql.functions.last_value.html)
|
382
383
|
* [last_day](https://spark.apache.org/docs/latest/api/python/reference/pyspark.sql/api/pyspark.sql.functions.last_day.html)
|
383
384
|
* [lcase](https://spark.apache.org/docs/latest/api/python/reference/pyspark.sql/api/pyspark.sql.functions.lcase.html)
|
384
385
|
* [lead](https://spark.apache.org/docs/latest/api/python/reference/pyspark.sql/api/pyspark.sql.functions.lead.html)
|
@@ -20,7 +20,7 @@ setup(
|
|
20
20
|
python_requires=">=3.9",
|
21
21
|
install_requires=[
|
22
22
|
"prettytable<4",
|
23
|
-
"sqlglot>=24.0.0,<26.
|
23
|
+
"sqlglot>=24.0.0,<26.17",
|
24
24
|
"typing_extensions",
|
25
25
|
],
|
26
26
|
extras_require={
|
@@ -76,7 +76,7 @@ setup(
|
|
76
76
|
"pyspark>=2,<3.6",
|
77
77
|
],
|
78
78
|
"databricks": [
|
79
|
-
"databricks-sql-connector>=3.6,<5",
|
79
|
+
"databricks-sql-connector[pyarrow]>=3.6,<5",
|
80
80
|
],
|
81
81
|
},
|
82
82
|
classifiers=[
|
@@ -678,7 +678,22 @@ def isnull(col: ColumnOrName) -> Column:
|
|
678
678
|
def last(col: ColumnOrName, ignorenulls: t.Optional[bool] = None) -> Column:
|
679
679
|
this = Column.invoke_expression_over_column(col, expression.Last)
|
680
680
|
if ignorenulls:
|
681
|
-
|
681
|
+
if _get_session()._is_duckdb:
|
682
|
+
return Column(
|
683
|
+
expression.Filter(
|
684
|
+
this=this.expression,
|
685
|
+
expression=expression.Where(
|
686
|
+
this=expression.Not(
|
687
|
+
this=expression.Is(
|
688
|
+
this=Column.ensure_col(col).expression,
|
689
|
+
expression=expression.Null(),
|
690
|
+
)
|
691
|
+
)
|
692
|
+
),
|
693
|
+
)
|
694
|
+
)
|
695
|
+
else:
|
696
|
+
return Column.invoke_expression_over_column(this, expression.IgnoreNulls)
|
682
697
|
return this
|
683
698
|
|
684
699
|
|
@@ -3872,7 +3887,7 @@ def json_object_keys(col: ColumnOrName) -> Column:
|
|
3872
3887
|
return Column.invoke_anonymous_function(col, "json_object_keys")
|
3873
3888
|
|
3874
3889
|
|
3875
|
-
@meta(unsupported_engines="
|
3890
|
+
@meta(unsupported_engines=["bigquery", "postgres", "snowflake"])
|
3876
3891
|
def last_value(col: ColumnOrName, ignoreNulls: t.Optional[t.Union[bool, Column]] = None) -> Column:
|
3877
3892
|
"""Returns the last value of `col` for a group of rows. It will return the last non-null
|
3878
3893
|
value it sees when `ignoreNulls` is set to true. If all values are null, then null is returned.
|
@@ -3913,6 +3928,11 @@ def last_value(col: ColumnOrName, ignoreNulls: t.Optional[t.Union[bool, Column]]
|
|
3913
3928
|
| b| 2|
|
3914
3929
|
+-------------+-------------+
|
3915
3930
|
"""
|
3931
|
+
session = _get_session()
|
3932
|
+
|
3933
|
+
if session._is_duckdb:
|
3934
|
+
return last(col, ignoreNulls) # type: ignore
|
3935
|
+
|
3916
3936
|
column = Column.invoke_expression_over_column(col, expression.LastValue)
|
3917
3937
|
|
3918
3938
|
if ignoreNulls:
|
@@ -14,6 +14,9 @@ from sqlframe.base.util import normalize_string
|
|
14
14
|
from sqlframe.databricks.group import DatabricksGroupedData
|
15
15
|
|
16
16
|
if t.TYPE_CHECKING:
|
17
|
+
from databricks.sql.client import Cursor
|
18
|
+
from pyarrow import Table as ArrowTable
|
19
|
+
|
17
20
|
from sqlframe.databricks.readwriter import DatabricksDataFrameWriter
|
18
21
|
from sqlframe.databricks.session import DatabricksSession
|
19
22
|
|
@@ -21,6 +24,18 @@ if t.TYPE_CHECKING:
|
|
21
24
|
logger = logging.getLogger(__name__)
|
22
25
|
|
23
26
|
|
27
|
+
class RecordBatchReaderFacade:
|
28
|
+
def __init__(self, cur: Cursor, batch_size: int):
|
29
|
+
self.cur = cur
|
30
|
+
self.batch_size = batch_size
|
31
|
+
|
32
|
+
def read_next_batch(self) -> ArrowTable:
|
33
|
+
result = self.cur.fetchmany_arrow(self.batch_size)
|
34
|
+
if result.num_rows == 0:
|
35
|
+
raise StopIteration
|
36
|
+
return result
|
37
|
+
|
38
|
+
|
24
39
|
class DatabricksDataFrameNaFunctions(_BaseDataFrameNaFunctions["DatabricksDataFrame"]):
|
25
40
|
pass
|
26
41
|
|
@@ -68,3 +83,17 @@ class DatabricksDataFrame(
|
|
68
83
|
)
|
69
84
|
)
|
70
85
|
return columns
|
86
|
+
|
87
|
+
@t.overload # type: ignore
|
88
|
+
def toArrow(self) -> ArrowTable: ...
|
89
|
+
|
90
|
+
@t.overload
|
91
|
+
def toArrow(self, batch_size: int) -> RecordBatchReaderFacade: ...
|
92
|
+
|
93
|
+
def toArrow(
|
94
|
+
self, batch_size: t.Optional[int] = None
|
95
|
+
) -> t.Union[ArrowTable, RecordBatchReaderFacade]:
|
96
|
+
self._collect(skip_rows=True)
|
97
|
+
if not batch_size:
|
98
|
+
return self.session._cur.fetchall_arrow() # type: ignore
|
99
|
+
return RecordBatchReaderFacade(self.session._cur, batch_size) # type: ignore
|
@@ -1,5 +1,5 @@
|
|
1
1
|
prettytable<4
|
2
|
-
sqlglot<26.
|
2
|
+
sqlglot<26.17,>=24.0.0
|
3
3
|
typing_extensions
|
4
4
|
|
5
5
|
[bigquery]
|
@@ -7,7 +7,7 @@ google-cloud-bigquery-storage<3,>=2
|
|
7
7
|
google-cloud-bigquery[pandas]<4,>=3
|
8
8
|
|
9
9
|
[databricks]
|
10
|
-
databricks-sql-connector<5,>=3.6
|
10
|
+
databricks-sql-connector[pyarrow]<5,>=3.6
|
11
11
|
|
12
12
|
[dev]
|
13
13
|
duckdb<1.3,>=1.2
|
@@ -175,3 +175,80 @@ def test_explain(databricks_employee: DatabricksDataFrame, capsys):
|
|
175
175
|
assert "== Physical Plan ==" in output
|
176
176
|
assert "LocalTableScan" in output
|
177
177
|
assert "== Photon Explanation ==" in output
|
178
|
+
|
179
|
+
|
180
|
+
def test_to_arrow(databricks_employee: DatabricksDataFrame):
|
181
|
+
arrow_table = databricks_employee.toArrow()
|
182
|
+
assert arrow_table.num_rows == 5
|
183
|
+
assert arrow_table.num_columns == 5
|
184
|
+
assert arrow_table.column_names == [
|
185
|
+
"employee_id",
|
186
|
+
"fname",
|
187
|
+
"lname",
|
188
|
+
"age",
|
189
|
+
"store_id",
|
190
|
+
]
|
191
|
+
assert arrow_table.column(0).to_pylist() == [1, 2, 3, 4, 5]
|
192
|
+
assert arrow_table.column(1).to_pylist() == ["Jack", "John", "Kate", "Claire", "Hugo"]
|
193
|
+
assert arrow_table.column(2).to_pylist() == [
|
194
|
+
"Shephard",
|
195
|
+
"Locke",
|
196
|
+
"Austen",
|
197
|
+
"Littleton",
|
198
|
+
"Reyes",
|
199
|
+
]
|
200
|
+
assert arrow_table.column(3).to_pylist() == [37, 65, 37, 27, 29]
|
201
|
+
assert arrow_table.column(4).to_pylist() == [1, 1, 2, 2, 100]
|
202
|
+
|
203
|
+
|
204
|
+
def test_to_arrow_batch(databricks_employee: DatabricksDataFrame):
|
205
|
+
record_batch_reader = databricks_employee.toArrow(batch_size=1)
|
206
|
+
first_batch = record_batch_reader.read_next_batch()
|
207
|
+
assert first_batch.num_rows == 1
|
208
|
+
assert first_batch.num_columns == 5
|
209
|
+
assert first_batch.column_names == [
|
210
|
+
"employee_id",
|
211
|
+
"fname",
|
212
|
+
"lname",
|
213
|
+
"age",
|
214
|
+
"store_id",
|
215
|
+
]
|
216
|
+
assert first_batch.column(0).to_pylist() == [1]
|
217
|
+
assert first_batch.column(1).to_pylist() == ["Jack"]
|
218
|
+
assert first_batch.column(2).to_pylist() == ["Shephard"]
|
219
|
+
assert first_batch.column(3).to_pylist() == [37]
|
220
|
+
assert first_batch.column(4).to_pylist() == [1]
|
221
|
+
second_batch = record_batch_reader.read_next_batch()
|
222
|
+
assert second_batch.num_rows == 1
|
223
|
+
assert second_batch.num_columns == 5
|
224
|
+
assert second_batch.column(0).to_pylist() == [2]
|
225
|
+
assert second_batch.column(1).to_pylist() == ["John"]
|
226
|
+
assert second_batch.column(2).to_pylist() == ["Locke"]
|
227
|
+
assert second_batch.column(3).to_pylist() == [65]
|
228
|
+
assert second_batch.column(4).to_pylist() == [1]
|
229
|
+
third_batch = record_batch_reader.read_next_batch()
|
230
|
+
assert third_batch.num_rows == 1
|
231
|
+
assert third_batch.num_columns == 5
|
232
|
+
assert third_batch.column(0).to_pylist() == [3]
|
233
|
+
assert third_batch.column(1).to_pylist() == ["Kate"]
|
234
|
+
assert third_batch.column(2).to_pylist() == ["Austen"]
|
235
|
+
assert third_batch.column(3).to_pylist() == [37]
|
236
|
+
assert third_batch.column(4).to_pylist() == [2]
|
237
|
+
fourth_batch = record_batch_reader.read_next_batch()
|
238
|
+
assert fourth_batch.num_rows == 1
|
239
|
+
assert fourth_batch.num_columns == 5
|
240
|
+
assert fourth_batch.column(0).to_pylist() == [4]
|
241
|
+
assert fourth_batch.column(1).to_pylist() == ["Claire"]
|
242
|
+
assert fourth_batch.column(2).to_pylist() == ["Littleton"]
|
243
|
+
assert fourth_batch.column(3).to_pylist() == [27]
|
244
|
+
assert fourth_batch.column(4).to_pylist() == [2]
|
245
|
+
fifth_batch = record_batch_reader.read_next_batch()
|
246
|
+
assert fifth_batch.num_rows == 1
|
247
|
+
assert fifth_batch.num_columns == 5
|
248
|
+
assert fifth_batch.column(0).to_pylist() == [5]
|
249
|
+
assert fifth_batch.column(1).to_pylist() == ["Hugo"]
|
250
|
+
assert fifth_batch.column(2).to_pylist() == ["Reyes"]
|
251
|
+
assert fifth_batch.column(3).to_pylist() == [29]
|
252
|
+
assert fifth_batch.column(4).to_pylist() == [100]
|
253
|
+
with pytest.raises(StopIteration):
|
254
|
+
record_batch_reader.read_next_batch()
|
@@ -1223,8 +1223,8 @@ def test_date_format(expression, expected):
|
|
1223
1223
|
@pytest.mark.parametrize(
|
1224
1224
|
"expression, expected",
|
1225
1225
|
[
|
1226
|
-
(SF.year("cola"), "YEAR(
|
1227
|
-
(SF.year(SF.col("cola")), "YEAR(
|
1226
|
+
(SF.year("cola"), "YEAR(cola)"),
|
1227
|
+
(SF.year(SF.col("cola")), "YEAR(cola)"),
|
1228
1228
|
],
|
1229
1229
|
)
|
1230
1230
|
def test_year(expression, expected):
|
@@ -1245,8 +1245,8 @@ def test_quarter(expression, expected):
|
|
1245
1245
|
@pytest.mark.parametrize(
|
1246
1246
|
"expression, expected",
|
1247
1247
|
[
|
1248
|
-
(SF.month("cola"), "MONTH(
|
1249
|
-
(SF.month(SF.col("cola")), "MONTH(
|
1248
|
+
(SF.month("cola"), "MONTH(cola)"),
|
1249
|
+
(SF.month(SF.col("cola")), "MONTH(cola)"),
|
1250
1250
|
],
|
1251
1251
|
)
|
1252
1252
|
def test_month(expression, expected):
|
@@ -84,16 +84,14 @@ def test_typed_schema_nested_map(standalone_session: StandaloneSession, compare_
|
|
84
84
|
]
|
85
85
|
)
|
86
86
|
df = standalone_session.createDataFrame([[{"sub_cola": 1, "sub_colb": "test"}]], schema) # type: ignore
|
87
|
-
expected = "SELECT `a1`.`cola` AS `cola` FROM VALUES (MAP('sub_cola', 1, 'sub_colb', 'test')) AS `a1`(`cola`)"
|
87
|
+
expected = "SELECT CAST(`a1`.`cola` AS MAP<INT, STRING>) AS `cola` FROM VALUES (MAP('sub_cola', 1, 'sub_colb', 'test')) AS `a1`(`cola`)"
|
88
88
|
|
89
89
|
compare_sql(df, expected)
|
90
90
|
|
91
91
|
|
92
92
|
def test_nested_struct(standalone_session: StandaloneSession, compare_sql: t.Callable):
|
93
93
|
df = standalone_session.createDataFrame([[types.Row(cola=1, colb="test")]]) # type: ignore
|
94
|
-
expected = (
|
95
|
-
"SELECT `a1`.`_1` AS `_1` FROM VALUES (STRUCT(1 AS `cola`, 'test' AS `colb`)) AS `a1`(`_1`)"
|
96
|
-
)
|
94
|
+
expected = "SELECT CAST(`a1`.`_1` AS STRUCT<`cola`: BIGINT, `colb`: STRING>) AS `_1` FROM VALUES (STRUCT(1 AS `cola`, 'test' AS `colb`)) AS `a1`(`_1`)"
|
97
95
|
compare_sql(df, expected)
|
98
96
|
|
99
97
|
|
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.29.1 → sqlframe-3.31.0}/blogs/images/add_chatgpt_support/marvin_paranoid_robot.gif
RENAMED
File without changes
|
File without changes
|
{sqlframe-3.29.1 → sqlframe-3.31.0}/blogs/images/add_chatgpt_support/openai_full_rewrite.png
RENAMED
File without changes
|
{sqlframe-3.29.1 → sqlframe-3.31.0}/blogs/images/add_chatgpt_support/openai_replacing_cte_names.png
RENAMED
File without changes
|
{sqlframe-3.29.1 → sqlframe-3.31.0}/blogs/images/add_chatgpt_support/sqlglot_optimized_code.png
RENAMED
File without changes
|
{sqlframe-3.29.1 → sqlframe-3.31.0}/blogs/images/add_chatgpt_support/sunny_shake_head_no.gif
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
|