Skip to content

Commit 5d17bfb

Browse files
SNOW-609108 migrated rst to md (snowflakedb#303)
1 parent 2bde522 commit 5d17bfb

32 files changed

+3202
-2276
lines changed

.pre-commit-config.yaml

+12-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
exclude: '^(.*egg.info.*|.*/parameters.py).*$'
22
repos:
3-
- repo: https://github.com/asottile/seed-isort-config
4-
rev: v2.2.0
5-
hooks:
6-
- id: seed-isort-config
7-
- repo: https://github.com/pre-commit/mirrors-isort
8-
rev: v5.10.1
9-
hooks:
10-
- id: isort
113
- repo: https://github.com/pre-commit/pre-commit-hooks
124
rev: v2.2.3
135
hooks:
@@ -18,8 +10,19 @@ repos:
1810
- id: debug-statements
1911
- id: flake8
2012
additional_dependencies: ["flake8-bugbear == 19.3.0"]
13+
- repo: https://github.com/PyCQA/isort
14+
rev: 5.10.1
15+
hooks:
16+
- id: isort
2117
- repo: https://github.com/asottile/pyupgrade
22-
rev: v2.32.1
18+
rev: v2.34.0
2319
hooks:
2420
- id: pyupgrade
2521
args: [--py37-plus]
22+
- repo: https://github.com/psf/black
23+
rev: 22.3.0
24+
hooks:
25+
- id: black
26+
args:
27+
- --safe
28+
language_version: python3

DESCRIPTION.md

+202
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,202 @@
1+
This package includes the Snowflake SQLAlchemy, which supports Snowsql dialects for SQLAlchemy
2+
<http://www.sqlalchemy.org/>
3+
4+
Snowflake Documentation is available at:
5+
<https://docs.snowflake.net/>
6+
7+
Source code is also available at:
8+
<https://github.com/snowflakedb/snowflake-sqlalchemy>
9+
10+
# Release Notes
11+
12+
- v1.3.5(Unreleased)
13+
14+
- Fixed a bug where insert with autoincrement failed due to incompatible column type affinity #124
15+
- Fixed a bug when creating a column with sequence, default value was set incorrectly
16+
17+
- v1.3.4(April 27,2022)
18+
19+
- Fixed a bug where identifier max length was set to the wrong value and added relevant schema introspection
20+
- Add support for geography type
21+
- Fixed a bug where foreign key's referred schema was set incorrectly
22+
- Disabled new SQLAlchemy option for statement caching until support gets added
23+
24+
- v1.3.3(December 19,2021)
25+
26+
- Fixed an issue where quote arguments were stripped from identifiers.
27+
28+
- v1.3.2 (September 14,2021)
29+
30+
- Fixed a breaking change introduced in SQLAlchemy 1.4 that changed the behavior of returns_unicode_strings.
31+
32+
- v1.3.1 (July 23,2021)
33+
34+
- Raising minimum version of SQLAlchemy to match used features.
35+
36+
- v1.2.5 (July 20,2021)
37+
38+
- Various custom command bug fixes and additions.
39+
40+
- v1.2.4 (October 05,2020)
41+
42+
- Fixed an issue where inspector would not properly switch to table wide column retrieving when schema wide column retrieving was taking too long to respond.
43+
44+
- v1.2.3 (March 30, 2020)
45+
46+
- Update tox.ini
47+
- Add external stage to COPY INTO custom command.
48+
- Bumped pandas to newest versions
49+
50+
- v1.2.2 (March 9, 2020)
51+
52+
- Allow get_table_comment to fetch view comments too
53+
54+
- v1.2.1 (February 18,2020)
55+
56+
- Add driver property to SnowflakeDialect #140
57+
- Suppress deprecation warning by fixing import
58+
59+
- v1.2.0 (January 27, 2020)
60+
61+
- Fix typo in README Connection Parameters #141
62+
- Fix sqlalchemy and possibly python-connector warnings
63+
- Fix handling of empty table comments #137
64+
- Fix handling spaces in connection string passwords #149
65+
66+
- v1.1.18 (January 6,2020)
67+
68+
- Set current schema in connection string containing special characters
69+
- Calling str on custom_types throws Exception
70+
71+
- v1.1.17 (December 2,2019)
72+
73+
- Comments not created when creating new table #118
74+
- SQLAlchemy Column Metadata Cache not working
75+
- Timestamp DDL renders wrong when precision value passed
76+
- Fixed special character handling in snowflake-sqlalchemy from URL string
77+
- Added development optional dependencies to Python packages
78+
79+
- v1.1.16 (October 21,2019)
80+
81+
- Fix SQLAlchemy not working with global url
82+
83+
- v1.1.15 (September 30, 2019)
84+
85+
- Incorrect SQL generated for INSERT with CTE
86+
- Type Synonyms not exported to top-level module #109
87+
88+
- v1.1.14 (August 12, 2019)
89+
90+
- Fix CSVFormatter class has `FIELD_DELIMETER` spelled incorrectly
91+
92+
- v1.1.13 (May 20,2019)
93+
94+
- CopyInto's maxfilesize method expects a bool instead of an int
95+
- CopyInto statement doesn't compile correctly when the source is storage and the destination is a table
96+
97+
- v1.1.12 (April 8,2019)
98+
99+
- Add ability to inspect column comments
100+
- Restricting index creation checking to only SnowflakeDialect tables
101+
102+
- v1.1.11 (March 25, 2019)
103+
104+
- Remove relative reference to connector from SQLAlchemy dialect
105+
106+
- v1.1.10 (February 22, 2019)
107+
108+
- Separated base.py file into smaller files and fixed import statements
109+
- Prevent creating tables with indexes in SQLAlchemy
110+
- Add tox support
111+
112+
- v1.1.9 (February 11, 2019)
113+
114+
- Fix an issue in v1.1.8
115+
116+
- v1.1.8 (February 8, 2019)
117+
118+
- Fixed a dependency
119+
120+
- v1.1.7 (February 8, 2019)
121+
122+
- Added Upsert in sql-alchemy
123+
- CopyIntoS3 command in SQLAlchemy
124+
125+
- v1.1.6 (January 3, 2019)
126+
127+
- Fixed 'module' object is not callable in csvsql
128+
129+
- v1.1.5 (December 19, 2018)
130+
131+
- Added multivalue_support feature flag
132+
- Deprecate get_primary_keys
133+
134+
- v1.1.4 (November 13, 2018)
135+
136+
- Fixed lable/alias by honoring quote_name.
137+
138+
- v1.1.3 (October 30, 2018)
139+
140+
- SQLAlchemy 1.2 multi table support.
141+
- TIMESTAMP_LTZ, TIMESTAMP_NTZ and TIMESTAMP_TZ support.
142+
- Fixed relative import issue in SQLAlchemy
143+
144+
- v1.1.2 (June 7, 2018)
145+
146+
- Removes username restriction for OAuth
147+
148+
- v1.1.1 (May 17, 2018)
149+
150+
- Made password as optional parameter for SSO support
151+
- Fixed paramstyl=qmark mode where the data are bound in the server instead of client side
152+
- Fixed multipart schema support. Now db.schema can be specified in the schema parameters.
153+
- Added ``region`` parameter support to ``URL`` utility method.
154+
155+
- v1.1.0 (February 1, 2018)
156+
157+
- Updated doc including ``role`` example.
158+
- Fixed the return value of ``get_pk_constraint`` and ``get_primary_keys``. Those applications that depend on the old behaviors must update codes. Issue #38 (@nrth)
159+
- Updated doc including a note about ``open`` and ``close`` connections.
160+
161+
- v1.0.9 (January 4, 2018)
162+
163+
- Fixed foreign key names that should be normalized. Issue #24 (@cladden)
164+
- Set the default schema Issue #25 (@cladden)
165+
- Improved performance by caching current database and schema for inspector. Issue #30 (@cladden)
166+
167+
- v1.0.8 (December 21, 2017)
168+
169+
- Added ``get_schema_names`` method to Snowflake SQLAlchemy dialect. PR #20(andrewsali)
170+
- Fixed the column metadata including length for string/varchar and precision and scale for numeric data type. Issue #22(@cladden)
171+
172+
- v1.0.7 (May 18, 2017)
173+
174+
- Fixed COPY command transaction issue. PR #16(Pangstar) and Issue #17(Pangstar)
175+
176+
- v1.0.6 (April 20, 2017)
177+
178+
- Fixed account with subdomain issue. Issue #15(Pangstar)
179+
180+
- v1.0.5 (April 13, 2017)
181+
182+
- Added ``snowflake_clusterby`` option support to ``Table`` object so that the user can create a table with clustering keys
183+
184+
- v1.0.4 (March 9, 2017)
185+
186+
- Added SQLAlchemy 1.1 support
187+
188+
- v1.0.3 (October 20, 2016)
189+
190+
- Added ``VARIANT``, ``OBJECT`` and ``ARRAY`` data type supports for fetch
191+
192+
- v1.0.2 (July 5, 2016)
193+
194+
- Fixed the development status in classifiers. 5 - Production/Stable
195+
196+
- v1.0.1 (July 4, 2016)
197+
198+
- Fixed URL method in case of including warehouse without database.
199+
200+
- v1.0.0 (June 28, 2016)
201+
202+
- General Availability

MANIFEST.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
include *.rst *.py
2-
prune test
1+
include *.md *.py
2+
prune tests

0 commit comments

Comments
 (0)