Hi,
I have created one FDM model having JsonObject field. In the transformation query I referred that field , example query:
SELECT Series_Title as externalId,
Series_Title as name,
Overview as description,
int(Gross) as gross,
float(IMDB_Rating) as imdbRating,
int(Runtime) as runTime,
int(Released_Year) as releasedYear,
'{"key1":"value1","key2":{"key3":12,"key4":"hello","key5":{"key6":10}}}' as data
FROM movies.movies
FDM model is:
type Movie {
name: String!
description: String
watchedIt: Boolean
imdbRating: Float
releasedYear: Int
runTime: Int
gross: Int
actors: nActor]
data: JSONObject
}
The transformation is failing with this error:
Unknown property type Json.
May be I am missing something, Can you please help?