question

TanveeGupta-8645 avatar image
0 Votes"
TanveeGupta-8645 asked HimanshuSinha-MSFT commented

ADF copy activity failed while extracting data from DB2- Issue found for few records having special characters

I am doing a full extract from a table ABC. In copy activity, I have given a query as

select * from ABC

whereas I am facing issue for few rows (It has special characters - Japanese and Korean)

Error code - 2200

Failure type- User configuration issue

Details - Failure happened on 'Source' side. ErrorCode=DB2DriverRunFailed,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Error thrown from driver. Sql code: '-343',Source=Microsoft.DataTransfer.ClientLibrary.Db2Connector,''Type=Microsoft.HostIntegration.DrdaClient.DrdaException,Message=HISMPCB0001 In BasePrimitiveConverter an exception has occurred. Exception description: Output buffer is smaller than required size 12 SQLSTATE=HY000 SQLCODE=-343,Source=Microsoft.HostIntegration.Drda.Requester,'


The character which is causing the issue is '轎ᆃ '

azure-data-factory
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @TanveeGupta-8645,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet .In case if you have any resolution please do share that same with the community as it can be helpful to others . Otherwise, will respond back with the more details and we will try to help .
Thanks
Himanshu

1 Vote 1 ·

Hello @TanveeGupta-8645,
Thanks for the question and using MS Q&A platform.
What is the data type of the column which is having this value ? Have you tried converting the data type to some more genetic data type and see if that helps .
We will wait to hear from you . .
Thanks
Himanshu

0 Votes 0 ·

Hi @HimanshuSinha-MSFT
The datatype is varchar of the column.

I tried to cast it to various CCSID encoding to extract it but it is still not working.

Thanks tanvee

0 Votes 0 ·

Hi @HimanshuSinha-MSFT
I tried casting the column data to Graphic(n). It worked in ADF copy activity but the data is changed while extracting. Even for English characters, it is converting to Japanese which is not correct.

Could you please provide some other way which I can try to extract the data.

Thanks
Tanvee

0 Votes 0 ·

Hello @TanveeGupta-8645,
Thanks for the patience , unfortunately we are not getting the kind of response from the team here . if you have a support plan you may file a support ticket, else could you please send an email to azcommunity@microsoft.com with the below details, so that we can create a one-time-free support ticket for you to work closely on this matter.
Subscription ID:
Subject : Attn Himanshu
Please let me know once you have done the same.
Thanks
Himanshu

0 Votes 0 ·

0 Answers