soda-sqlserver 4.0.9__tar.gz → 4.1.1__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.
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: soda-sqlserver
3
- Version: 4.0.9
3
+ Version: 4.1.1
4
4
  Summary: Soda SQL Server V4
5
5
  Author-email: "Soda Data N.V." <info@soda.io>
6
6
  License: Proprietary
7
7
  Requires-Python: >=3.10
8
- Requires-Dist: soda-core==4.0.9
8
+ Requires-Dist: soda-core==4.1.1
9
9
  Requires-Dist: pyodbc
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "soda-sqlserver"
3
- version = "4.0.9"
3
+ version = "4.1.1"
4
4
  description = "Soda SQL Server V4"
5
5
  requires-python = ">=3.10"
6
6
  license = {text = "Proprietary"}
@@ -8,7 +8,7 @@ authors = [
8
8
  {name = "Soda Data N.V.", email = "info@soda.io"}
9
9
  ]
10
10
  dependencies = [
11
- "soda-core==4.0.9",
11
+ "soda-core==4.1.1",
12
12
  "pyodbc",
13
13
  ]
14
14
 
@@ -55,7 +55,7 @@ class SqlServerDataSourceImpl(DataSourceImpl, model_class=SqlServerDataSourceMod
55
55
  super().__init__(data_source_model=data_source_model, connection=connection)
56
56
 
57
57
  def _create_sql_dialect(self) -> SqlDialect:
58
- return SqlServerSqlDialect(data_source_impl=self)
58
+ return SqlServerSqlDialect()
59
59
 
60
60
  def _create_data_source_connection(self) -> DataSourceConnection:
61
61
  return SqlServerDataSourceConnection(
@@ -63,7 +63,7 @@ class SqlServerDataSourceImpl(DataSourceImpl, model_class=SqlServerDataSourceMod
63
63
  )
64
64
 
65
65
 
66
- class SqlServerSqlDialect(SqlDialect):
66
+ class SqlServerSqlDialect(SqlDialect, sqlglot_dialect="tsql"):
67
67
  DEFAULT_QUOTE_CHAR = "[" # Do not use this! Always use quote_default()
68
68
  SODA_DATA_TYPE_SYNONYMS = ((SodaDataTypeName.TEXT, SodaDataTypeName.VARCHAR),)
69
69
 
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: soda-sqlserver
3
- Version: 4.0.9
3
+ Version: 4.1.1
4
4
  Summary: Soda SQL Server V4
5
5
  Author-email: "Soda Data N.V." <info@soda.io>
6
6
  License: Proprietary
7
7
  Requires-Python: >=3.10
8
- Requires-Dist: soda-core==4.0.9
8
+ Requires-Dist: soda-core==4.1.1
9
9
  Requires-Dist: pyodbc
@@ -0,0 +1,2 @@
1
+ soda-core==4.1.1
2
+ pyodbc
@@ -1,2 +0,0 @@
1
- soda-core==4.0.9
2
- pyodbc
File without changes