-
Notifications
You must be signed in to change notification settings - Fork 50
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.
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.
Type
Fields
Give feedbackNo fields configured for Task.
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],