OutputDataConversionError in Stream Analytics

John Clifford 21 Reputation points
2020-10-30T21:22:05.717+00:00

Hi all

I'm running an export job out of IOTCentral for measurements data and that is going into an Event Hub. I'm then using Stream Analytics to move the data into an Azure SQL table. Trouble is, i'm getting the following error when i start the job:

Source table_name had 1 occurrences of kind
'OutputDataConversionError. TypeConversionError' between processing times '2020-10-30T21:13:34.5845011Z' and '2020-10-30T21:13:34.5845011Z'.

1 record gets loaded and then stops.

It was originally a datetime data type so i changed it to datetime2 (and other dattime data types) and still have the problem. If i changed to a nvarchar() data type, it works. The table & columns were generated by the Stream Analytics job.

Other export / import jobs work fine, it's just this one that i'm having trouble with.

Any help / suggestions are greatly appreciated :-)

Cheers

Azure IoT Central
Azure IoT Central
An Azure hosted internet of things (IoT) application platform.
357 questions
Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
580 questions
Azure Stream Analytics
Azure Stream Analytics
An Azure real-time analytics service designed for mission-critical workloads.
339 questions
0 comments No comments
{count} votes

Accepted answer
  1. HarithaMaddi-MSFT 10,136 Reputation points
    2020-11-02T08:49:44.54+00:00

    Hi @John Clifford ,

    Welcome to Microsoft Q&A Platform. Thanks for posting the query.

    I looked at the previous issues reported from Customers on the same and please find below observations.

    • Error message is misleading and does not convey the accurate details and it always need not be with the date column as well. Please enable the Diagnostics log to look at detailed error. This document has the detailed instructions.
    • I would recommend to upvote the idea in feedback forum to improve the error messages. The ideas submitted in the feedback forum are closely monitored by the product team and will be implemented in future releases.

    Hope this helps! Please let us know if these details does not help to resolve the error and we will be glad to assist further.

    Reference: outputdataconversionerror-typeconversionerror-writing-to-azure-sql-db-using-stre

    --------------------------------------------------------------------------

    • Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification.
    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful