feat(timestamps): add support for timestamp/date +/- intervals for ad…
…ditional backends (#9799)
fix(pickle): make Parameter instances pickleable (#9798)
The pickles expect a specific constructor for `Parameter`, so remove our custom constructor and provide a `classmethod` with the previous behavior for convenience. Closes #9793.
feat(output-formats): add support for to_parquet_dir (#9781)
Co-authored-by: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
chore(deps): update clickhouse/clickhouse-server docker tag to v24.7.…
…3.42 (#9803) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
chore(deps): update postgres docker tag to v16.4 (#9804)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
fix(deps): update dependency sqlglot to >=23.4,<25.11 (#9805)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Phillip Cloud <417981+cpcloud@users.noreply.github.com>
refactor(intervals): conslidate interval conversion under `_make_inte…
…rval` base compiler implementation
chore(deps): lock file maintenance (#9818)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Phillip Cloud <417981+cpcloud@users.noreply.github.com>
chore(deps): update mariadb docker tag to v11.4.3 (#9823)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
feat(impala): add tbl_properties to create_table (#9839)
`TBLPROPERTIES` can be set on table creation. Exposing this lets us un-xfail a few tests by setting the required `TBLPROPERTIES` to make them work.
docs(snowflake): fix the syntax for passing schema (#9831)
Co-authored-by: Phillip Cloud <417981+cpcloud@users.noreply.github.com>
fix(mssql): remove sort key to keep order (#9848)
Co-authored-by: Phillip Cloud <417981+cpcloud@users.noreply.github.com>
fix(deps): update dependency sqlglot to >=23.4,<25.12 (#9834)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Phillip Cloud <417981+cpcloud@users.noreply.github.com>
chore(deps): update dependency matplotlib to <3.9.3 (#9833)
Co-authored-by: Phillip Cloud <417981+cpcloud@users.noreply.github.com>
chore(deps): update mariadb docker tag to v11.5.2 (#9850)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
chore(deps): update trinodb/trino docker tag to v454 (#9852)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
fix(deps): update dependency sqlglot to >=23.4,<25.13 (#9851)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Phillip Cloud <417981+cpcloud@users.noreply.github.com>
depr(api): deprecate type coercion to_* methods in favor of as_* …
…methods Closes #9788 Notes: - for `to_unit` and `to_interval` I check the raise of the deprecation warning in the existing tests. - for `to_timestamp` and `to_date` I added to tests outside the `test/backends/temportal.py` to check for the warning raise, to avoid the resource warning socket issue in pyspark when checking for warnings in the backends/tests. (see #9843 (comment))
test(duckdb): add test for supporting fixed-size array types (#9855)
These are already supported automatically through sqlglot, just adding a test here. Fixes #7963. One open question: currently these are cast to variable-length lists in `to_pyarrow` (matching the existing behavior of `dt.Array` types), but it could be argued that we should pass them through as fixed-length lists instead. This would require a bit of work, but nothing too tricky.