From 3f9c8d1b09a9c88ca25d7ce0306ae8c824acfdf9 Mon Sep 17 00:00:00 2001 From: Will Eaton Date: Tue, 16 Feb 2021 10:09:07 -0500 Subject: [PATCH] add hive parser; version bump --- .bumpversion.cfg | 2 +- Cargo.toml | 4 ++-- pyproject.toml | 2 +- setup.py | 2 +- src/lib.rs | 1 + 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 4c3d844..6a7ed45 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.1.8 +current_version = 0.1.9 commit = True tag = True diff --git a/Cargo.toml b/Cargo.toml index 703cc64..aaa47df 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sqloxide" -version = "0.1.8" +version = "0.1.9" authors = ["Will Eaton "] edition = "2018" @@ -16,5 +16,5 @@ version = "0.12.4" features = ["extension-module"] [dependencies.sqlparser] -version = "0.7.0" +version = "0.8.0" features = ["json_example"] diff --git a/pyproject.toml b/pyproject.toml index 6524426..b951140 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "sqloxide" -version = "0.1.8" +version = "0.1.9" repository = "https://github.com/wseaton/sqloxide" license = "MIT" description = "Python bindings for sqlparser-rs" diff --git a/setup.py b/setup.py index 024b04e..58f33c6 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup_kwargs = { 'name': 'sqloxide', - 'version': '0.1.8', + 'version': '0.1.9', 'description': 'Python bindings for sqlparser-rs', 'long_description': open('readme.md').read(), 'long_description_content_type': 'text/markdown', diff --git a/src/lib.rs b/src/lib.rs index fd8bc5a..4e7ba54 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -12,6 +12,7 @@ fn string_to_dialect(dialect: &str) -> Box { match dialect { "generic" => Box::new(GenericDialect {}), "ansi" => Box::new(AnsiDialect {}), + "hive" => Box::new(HiveDialect {}), "ms" => Box::new(MsSqlDialect {}), "mysql" => Box::new(MySqlDialect {}), "postgres" => Box::new(PostgreSqlDialect {}),