cancel
Showing results for 
Search instead for 
Did you mean: 

Extracting JSON data using Data services

former_member185138
Participant
0 Kudos

Hi Experts,

We have one column in Mysql DB(long data type) holding the data in JSON format.

What should be the best approach to extract the data considering I dont know how to write SDK.

Accepted Solutions (1)

Accepted Solutions (1)

former_member187605
Active Contributor
0 Kudos

RT*M. SAP Data Services Reference Guide (help.sap.com).

Extract_from_json built-in function.

former_member185138
Participant
0 Kudos

Thanks for the reply Dirk.

As I said we have long data type which BODS cant work with so I converted it to varchar and used as JSON field in Extract_from_json.

Got following error after this:

Row size too large. The maximum row size for the used table type, not counting 2112418484DBS-07040427/06/2017 11:02:02BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs>. The SQL

former_member187605
Active Contributor

When do you get this error? Not when executing the function, I assume. Correct?

There's no limit on varchar lengths in DS. From the same Reference Guide:

former_member185138
Participant
0 Kudos

Thanks for pointing out.

Checking with DBA if there's any limit.

Answers (0)