Skip to content

Commit

Permalink
fix: SQL syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Luka Peschke <[email protected]>
  • Loading branch information
lukapeschke committed Dec 6, 2024
1 parent c79c654 commit c584816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/azure_mssql/test_azure_mssql.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def datasource() -> AzureMSSQLDataSource:
# Retrying every 5 seconds for 60 seconds
@retry(stop=stop_after_delay(60), wait=wait_fixed(5))
def _ready_connector(connector: AzureMSSQLConnector, datasource: AzureMSSQLDataSource) -> AzureMSSQLConnector:
datasource = datasource.model_copy(update={"query": "SELECT 1 AS 1;"})
datasource = datasource.model_copy(update={"query": 'SELECT 1 "1";'})
df = connector._retrieve_data(datasource)
assert_frame_equal(df, pd.DataFrame({"1": [1]}))
return connector
Expand Down

0 comments on commit c584816

Please sign in to comment.