mirror of
https://github.com/RADar-AZDelta/Rabbit-in-a-Blender.git
synced 2026-03-23 20:37:03 +00:00
[GH-ISSUE #106] riab -dq error #63
Labels
No labels
bug
cannot reproduce
duplicate
enhancement
experiment
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
RADar-AZDelta/archived-Rabbit-in-a-Blender#63
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @loreV-edenceHealth on GitHub (Oct 10, 2024).
Original GitHub issue: https://github.com/RADar-AZDelta/Rabbit-in-a-Blender/issues/106
Originally assigned to: @pjlammertyn on GitHub.
sqlalchemy.exc.ProgrammingError: (pymssql.exceptions.ProgrammingError) (208, b"Invalid object name '[omop.dbo].[cdm_source'.DB-Lib error message 20018, severity 16:\nGeneral SQL Server error: Check messages from the SQL Server\n")
[SQL: select * from omop].[dbo.[cdm_source];]
running select * from omop].[dbo.[cdm_source]; gives an error,
replacing it by select * from [omop].[dbo].[cdm_source]; works so I think the extra brackets need to be removed from the code.
@pjlammertyn commented on GitHub (Oct 11, 2024):
Can you give more detail where the error occurs.
@pjlammertyn commented on GitHub (Oct 11, 2024):
More info on the square brackets: Delimited identifiers
@loreV-edenceHealth commented on GitHub (Oct 14, 2024):
https://github.com/RADar-AZDelta/Rabbit-in-a-Blender/blob/main/src/riab/etl/sql_server/data_quality.py#L79
I think the problem is that the brackets are around the combination of schema.table which makes it think the dot is part of the table name.