edit spark analysis