Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore(deps): Bump sqlalchemy-cratedb from 0.37.0 to 0.40.0 #88

Merged
merged 2 commits into from
Oct 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Skeem changelog
in progress
===========
- Added support for Python 3.12
- Adjusted SQL DDL for sqlalchemy-cratedb 0.40.0


2023-03-09 0.1.0
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ dependencies = [
"pandas<2",
"requests<2.33",
"sql-formatter<0.7",
"sqlalchemy-cratedb==0.37.0",
"sqlalchemy-cratedb==0.40.0",
"sqlmakeuper<0.2",
"urllib3<3",
]
Expand Down
2 changes: 1 addition & 1 deletion tests/format/test_netcdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
reference = unwrap(
"""
CREATE TABLE "aircraft_track_lear" (
"time" TIMESTAMP NOT NULL,
"time" TIMESTAMP WITHOUT TIME ZONE NOT NULL,
"altitude" DOUBLE NOT NULL,
"latitude" DOUBLE NOT NULL,
"longitude" DOUBLE NOT NULL,
Expand Down
5 changes: 3 additions & 2 deletions tests/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def get_basic_sql_reference(
CREATE TABLE "{clean_key_name(table_name)}" (
"id" INT NOT NULL,
"name" STRING NOT NULL,
"date" TIMESTAMP{" NOT NULL" if timestamp_not_null else ""},
"date" TIMESTAMP WITHOUT TIME ZONE{" NOT NULL" if timestamp_not_null else ""},
"fruits" STRING NOT NULL,
"price" DOUBLE NOT NULL,
PRIMARY KEY ("{primary_key}")
Expand All @@ -43,7 +43,8 @@ def get_basic_sql_reference(
CREATE TABLE {clean_key_name(table_name)} (
id INT NOT NULL,
name STRING,
date {"TIMESTAMP" if not timestamp_is_string else "STRING"}{" NOT NULL" if timestamp_not_null else ""},
date {"TIMESTAMP WITHOUT TIME ZONE" if not timestamp_is_string else "STRING"
}{" NOT NULL" if timestamp_not_null else ""},
fruits STRING,
price FLOAT,
PRIMARY KEY ({primary_key})
Expand Down
Loading