Hi , I am trying to read Nested Avro data in Spark 1.3 using DataFrames. I need help to retrieve the Inner element data in the Structure below.
Below is the schema when I enter df.printSchema : |-- THROTTLING_PERCENTAGE: double (nullable = false) |-- IMPRESSION_TYPE: string (nullable = false) |-- campaignArray: array (nullable = false) | |-- element: struct (containsNull = false) | | |-- COOKIE: string (nullable = false) | | |-- CAMPAIGN_ID: long (nullable = false) How can I access CAMPAIGN_ID field in this schema ? Thanks, Ashish Kr. Singh