Skip to content

Commit

Permalink
Postgres bug (#94)
Browse files Browse the repository at this point in the history
* naming ftl

* bump version

* version
  • Loading branch information
griffatrasgo authored Jun 27, 2022
1 parent 3d4d05f commit 8ddcac7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions rasgoql/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Fixed a bug in the `get_schema` method of SQLAlchemy DW classes where users were being asked to enter an `overwrite` param they cannot access

## [1.6.2] - 2022-06-27
### Fixed
- Fixed a postgres bug

[1.0.0]: https://pypi.org/project/rasgoql/1.0.0/
[1.0.1]: https://pypi.org/project/rasgoql/1.0.1/
Expand All @@ -133,3 +136,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[1.5.6]: https://pypi.org/project/rasgoql/1.5.6/
[1.6.0]: https://pypi.org/project/rasgoql/1.6.0/
[1.6.1]: https://pypi.org/project/rasgoql/1.6.1/
[1.6.2]: https://pypi.org/project/rasgoql/1.6.2/
2 changes: 1 addition & 1 deletion rasgoql/rasgoql/data/sqlalchemy.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def get_schema(
if self._is_select_statement(fqtn_or_sql):
self.create(fqtn_or_sql, "temp_schema", table_type="view", overwrite=True)
query_response = self.execute_query(
query_sql.format(database=self.default_database, schema=self.default_schema, table="temp_schema"),
query_sql.format(database=self.database, schema=self.schema, table="temp_schema"),
response="dict",
)
self.execute_query(
Expand Down
2 changes: 1 addition & 1 deletion rasgoql/rasgoql/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
Package version for pypi
"""
__version__ = '1.6.1'
__version__ = '1.6.2'

0 comments on commit 8ddcac7

Please sign in to comment.