Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 53
Handle Type -155 #213
Copy link
Copy link
Closed
Labels
FIXEDarea: data-typesType conversion and encoding: VARCHAR/NVARCHAR, UTF-8, decimal, datetime, UUID, binary, JSON.Type conversion and encoding: VARCHAR/NVARCHAR, UTF-8, decimal, datetime, UUID, binary, JSON.triage doneIssues that are triaged by dev team and are in investigation.Issues that are triaged by dev team and are in investigation.
Description
Metadata
Metadata
Assignees
Labels
FIXEDarea: data-typesType conversion and encoding: VARCHAR/NVARCHAR, UTF-8, decimal, datetime, UUID, binary, JSON.Type conversion and encoding: VARCHAR/NVARCHAR, UTF-8, decimal, datetime, UUID, binary, JSON.triage doneIssues that are triaged by dev team and are in investigation.Issues that are triaged by dev team and are in investigation.
Describe the bug
Need to handle MsSQL type -155
E RuntimeError: Unsupported data type for column - 0x7ffee88bb7c0, Type - -155, column ID - 7
To reproduce
Try to select from table containing datetimeoffset or datetime
Expected behavior
Return record
Further technical details
Python version: 3.12
SQL Server version: (e.g. SQL Server 2022)
Operating system: RedHat 8
Additional context
table:
[ID] [bigint] IDENTITY(1,1) NOT NULL,
[RecCreateDateTime] [datetime] default getutcdate(),
[FileID] varchar NOT NULL, -- merchant affected by the task
[task] varchar NOT NULL, -- type of the task BATCH, S3, ...
[dateTimeUTC] [datetimeoffset] NULL, -- date and time of the task
[guid] [uniqueidentifier],