Skip to content

Commit

Permalink
0.2.6-alpha.2: mssql smalldatetime not null bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxiaoying committed Apr 5, 2022
1 parent f43ada9 commit 94032b3
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions connectorx-python/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion connectorx-python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["Weiyuan Wu <youngw@sfu.ca>"]
edition = "2018"
name = "connectorx-python"
version = "0.2.6-alpha.1"
version = "0.2.6-alpha.2"

[workspace]
# prevents package from thinking it's in the workspace
Expand Down
2 changes: 1 addition & 1 deletion connectorx-python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ license = "MIT"
maintainers = ["Weiyuan Wu <youngw@sfu.ca>"]
name = "connectorx"
readme = "README.md" # Markdown files are supported
version = "0.2.6-alpha.1"
version = "0.2.6-alpha.2"

[project]
name = "connectorx" # Target file name of maturin build
Expand Down
2 changes: 1 addition & 1 deletion connectorx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "MIT"
name = "connectorx"
readme = "../README.md"
repository = "https://github.com/sfu-db/connector-x"
version = "0.2.6-alpha.1"
version = "0.2.6-alpha.2"

[dependencies]
anyhow = "1"
Expand Down
1 change: 1 addition & 0 deletions connectorx/src/sources/mssql/typesystem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ impl<'a> From<&'a ColumnType> for MsSQLTypeSystem {
ColumnType::Datetime => Datetime(false),
ColumnType::Datetime2 => Datetime2(true),
ColumnType::Datetimen => Datetime(true),
ColumnType::Datetime4 => Datetime(false),
ColumnType::Daten => Date(true),
ColumnType::Timen => Time(true),
ColumnType::DatetimeOffsetn => Datetimeoffset(true),
Expand Down

1 comment on commit 94032b3

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ConnectorX TPC-H Scale@1 Benchmarks

Benchmark suite Current: 94032b3 Previous: 59a705c Ratio
connectorx/tests/benchmarks.py::bench_mysql 0.06547830326234805 iter/sec (stddev: 0.2163855315945231) 0.05231058493971376 iter/sec (stddev: 0.4024005882657717) 0.80
connectorx/tests/benchmarks.py::bench_postgres 0.09651349090159794 iter/sec (stddev: 1.5762395526729167) 0.06182126068180155 iter/sec (stddev: 2.004784124277917) 0.64

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.