@schnee
It is clear from the exception that row.get(2) is of WrappedArray object. It is because Array is DataType of ArrayType. All ArrayType objects are stored as WrappedArray[Any]. So, to retrieve price, do row.get(2).asInstanceOf[Array[String]]. ...
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.