sqlframe 1.1.1__tar.gz → 1.1.2__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-1.1.1 → sqlframe-1.1.2}/PKG-INFO +1 -1
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/_version.py +2 -2
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/duckdb/readwriter.py +4 -1
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe.egg-info/PKG-INFO +1 -1
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/duck/test_duckdb_reader.py +49 -6
- {sqlframe-1.1.1 → sqlframe-1.1.2}/.github/CODEOWNERS +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/.github/workflows/main.workflow.yaml +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/.github/workflows/publish.workflow.yaml +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/.gitignore +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/.pre-commit-config.yaml +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/.readthedocs.yaml +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/LICENSE +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/Makefile +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/README.md +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/blogs/images/but_wait_theres_more.gif +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/blogs/images/cake.gif +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/blogs/images/you_get_pyspark_api.gif +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/blogs/sqlframe_universal_dataframe_api.md +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/docs/bigquery.md +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/docs/docs/bigquery.md +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/docs/docs/duckdb.md +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/docs/docs/images/SF.png +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/docs/docs/images/favicon.png +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/docs/docs/images/favicon_old.png +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/docs/docs/images/sqlframe_diagram.png +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/docs/docs/images/sqlframe_logo.png +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/docs/docs/postgres.md +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/docs/duckdb.md +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/docs/images/SF.png +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/docs/images/favicon.png +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/docs/images/favicon_old.png +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/docs/images/sqlframe_diagram.png +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/docs/images/sqlframe_logo.png +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/docs/index.md +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/docs/postgres.md +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/docs/requirements.txt +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/docs/standalone.md +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/docs/stylesheets/extra.css +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/mkdocs.yml +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/pytest.ini +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/renovate.json +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/setup.cfg +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/setup.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/LICENSE +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/__init__.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/base/__init__.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/base/_typing.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/base/catalog.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/base/column.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/base/dataframe.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/base/decorators.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/base/exceptions.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/base/function_alternatives.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/base/functions.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/base/group.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/base/mixins/__init__.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/base/mixins/catalog_mixins.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/base/mixins/readwriter_mixins.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/base/normalize.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/base/operations.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/base/readerwriter.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/base/session.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/base/transforms.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/base/types.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/base/util.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/base/window.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/bigquery/__init__.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/bigquery/catalog.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/bigquery/column.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/bigquery/dataframe.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/bigquery/functions.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/bigquery/functions.pyi +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/bigquery/group.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/bigquery/readwriter.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/bigquery/session.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/bigquery/types.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/bigquery/window.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/duckdb/__init__.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/duckdb/catalog.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/duckdb/column.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/duckdb/dataframe.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/duckdb/functions.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/duckdb/functions.pyi +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/duckdb/group.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/duckdb/session.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/duckdb/types.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/duckdb/window.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/postgres/__init__.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/postgres/catalog.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/postgres/column.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/postgres/dataframe.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/postgres/functions.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/postgres/functions.pyi +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/postgres/group.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/postgres/readwriter.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/postgres/session.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/postgres/types.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/postgres/window.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/redshift/__init__.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/redshift/catalog.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/redshift/column.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/redshift/dataframe.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/redshift/functions.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/redshift/group.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/redshift/readwriter.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/redshift/session.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/redshift/types.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/redshift/window.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/snowflake/__init__.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/snowflake/catalog.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/snowflake/column.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/snowflake/dataframe.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/snowflake/functions.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/snowflake/group.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/snowflake/readwriter.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/snowflake/session.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/snowflake/types.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/snowflake/window.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/spark/__init__.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/spark/catalog.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/spark/column.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/spark/dataframe.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/spark/functions.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/spark/group.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/spark/readwriter.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/spark/session.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/spark/types.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/spark/window.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/standalone/__init__.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/standalone/catalog.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/standalone/column.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/standalone/dataframe.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/standalone/functions.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/standalone/group.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/standalone/readwriter.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/standalone/session.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/standalone/types.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe/standalone/window.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe.egg-info/SOURCES.txt +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe.egg-info/dependency_links.txt +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe.egg-info/requires.txt +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/sqlframe.egg-info/top_level.txt +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/__init__.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/common_fixtures.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/conftest.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/fixtures/employee.csv +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/fixtures/employee.json +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/fixtures/employee.parquet +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/fixtures/employee_extra_line.csv +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/__init__.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/__init__.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/bigquery/__init__.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/bigquery/test_bigquery_catalog.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/bigquery/test_bigquery_session.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/duck/__init__.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/duck/test_duckdb_catalog.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/duck/test_duckdb_session.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/postgres/__init__.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/postgres/test_postgres_catalog.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/postgres/test_postgres_session.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/redshift/__init__.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/redshift/test_redshift_catalog.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/redshift/test_redshift_session.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/snowflake/__init__.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/snowflake/test_snowflake_catalog.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/snowflake/test_snowflake_session.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/spark/__init__.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/spark/test_spark_catalog.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/test_engine_dataframe.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/test_engine_reader.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/test_engine_session.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/test_engine_writer.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/test_int_functions.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/fixtures.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/test_int_dataframe.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/test_int_dataframe_stats.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/test_int_grouped_data.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/test_int_session.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/types.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/unit/__init__.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/unit/standalone/__init__.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/unit/standalone/fixtures.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/unit/standalone/test_column.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/unit/standalone/test_dataframe.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/unit/standalone/test_dataframe_writer.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/unit/standalone/test_functions.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/unit/standalone/test_session.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/unit/standalone/test_session_case_sensitivity.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/unit/standalone/test_types.py +0 -0
- {sqlframe-1.1.1 → sqlframe-1.1.2}/tests/unit/standalone/test_window.py +0 -0
|
@@ -74,7 +74,10 @@ class DuckDBDataFrameReader(_BaseDataFrameReader["DuckDBSession", "DuckDBDataFra
|
|
|
74
74
|
"""
|
|
75
75
|
if schema:
|
|
76
76
|
column_mapping = ensure_column_mapping(schema)
|
|
77
|
-
|
|
77
|
+
select_column_mapping = column_mapping.copy()
|
|
78
|
+
if options.get("filename"):
|
|
79
|
+
select_column_mapping["filename"] = "VARCHAR"
|
|
80
|
+
select_columns = [x.expression for x in self._to_casted_columns(select_column_mapping)]
|
|
78
81
|
if format == "csv":
|
|
79
82
|
duckdb_columns = ", ".join(
|
|
80
83
|
[f"'{column}': '{dtype}'" for column, dtype in column_mapping.items()]
|
|
@@ -17,13 +17,56 @@ def test_employee_extra_line_csv(duckdb_session: DuckDBSession):
|
|
|
17
17
|
auto_detect=False,
|
|
18
18
|
)
|
|
19
19
|
assert df.collect() == [
|
|
20
|
-
Row(**{"employee_id": 1, "fname": "Jack", "lname": "Shephard", "age": 37, "store_id": 1}),
|
|
21
|
-
Row(**{"employee_id": 2, "fname": "John", "lname": "Locke", "age": 65, "store_id": 1}),
|
|
22
|
-
Row(**{"employee_id": 3, "fname": "Kate", "lname": "Austen", "age": 37, "store_id": 2}),
|
|
23
20
|
Row(
|
|
24
|
-
**{
|
|
21
|
+
**{
|
|
22
|
+
"employee_id": 1,
|
|
23
|
+
"fname": "Jack",
|
|
24
|
+
"lname": "Shephard",
|
|
25
|
+
"age": 37,
|
|
26
|
+
"store_id": 1,
|
|
27
|
+
"filename": "tests/fixtures/employee_extra_line.csv",
|
|
28
|
+
}
|
|
29
|
+
),
|
|
30
|
+
Row(
|
|
31
|
+
**{
|
|
32
|
+
"employee_id": 2,
|
|
33
|
+
"fname": "John",
|
|
34
|
+
"lname": "Locke",
|
|
35
|
+
"age": 65,
|
|
36
|
+
"store_id": 1,
|
|
37
|
+
"filename": "tests/fixtures/employee_extra_line.csv",
|
|
38
|
+
}
|
|
39
|
+
),
|
|
40
|
+
Row(
|
|
41
|
+
**{
|
|
42
|
+
"employee_id": 3,
|
|
43
|
+
"fname": "Kate",
|
|
44
|
+
"lname": "Austen",
|
|
45
|
+
"age": 37,
|
|
46
|
+
"store_id": 2,
|
|
47
|
+
"filename": "tests/fixtures/employee_extra_line.csv",
|
|
48
|
+
}
|
|
49
|
+
),
|
|
50
|
+
Row(
|
|
51
|
+
**{
|
|
52
|
+
"employee_id": 4,
|
|
53
|
+
"fname": "Claire",
|
|
54
|
+
"lname": "Littleton",
|
|
55
|
+
"age": 27,
|
|
56
|
+
"store_id": 2,
|
|
57
|
+
"filename": "tests/fixtures/employee_extra_line.csv",
|
|
58
|
+
}
|
|
59
|
+
),
|
|
60
|
+
Row(
|
|
61
|
+
**{
|
|
62
|
+
"employee_id": 5,
|
|
63
|
+
"fname": "Hugo",
|
|
64
|
+
"lname": "Reyes",
|
|
65
|
+
"age": 29,
|
|
66
|
+
"store_id": 100,
|
|
67
|
+
"filename": "tests/fixtures/employee_extra_line.csv",
|
|
68
|
+
}
|
|
25
69
|
),
|
|
26
|
-
Row(**{"employee_id": 5, "fname": "Hugo", "lname": "Reyes", "age": 29, "store_id": 100}),
|
|
27
70
|
]
|
|
28
71
|
|
|
29
72
|
|
|
@@ -34,7 +77,7 @@ def test_employee_extra_line_csv_multiple(duckdb_session: DuckDBSession):
|
|
|
34
77
|
schema="employee_id INT, fname STRING, lname STRING, age INT, store_id INT",
|
|
35
78
|
skip=1,
|
|
36
79
|
header=1,
|
|
37
|
-
filename=
|
|
80
|
+
filename=0,
|
|
38
81
|
null_padding=True,
|
|
39
82
|
ignore_errors=1,
|
|
40
83
|
auto_detect=False,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
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-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/bigquery/test_bigquery_catalog.py
RENAMED
|
File without changes
|
{sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/bigquery/test_bigquery_session.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/postgres/test_postgres_catalog.py
RENAMED
|
File without changes
|
{sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/postgres/test_postgres_session.py
RENAMED
|
File without changes
|
|
File without changes
|
{sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/redshift/test_redshift_catalog.py
RENAMED
|
File without changes
|
{sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/redshift/test_redshift_session.py
RENAMED
|
File without changes
|
|
File without changes
|
{sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/snowflake/test_snowflake_catalog.py
RENAMED
|
File without changes
|
{sqlframe-1.1.1 → sqlframe-1.1.2}/tests/integration/engines/snowflake/test_snowflake_session.py
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
|