You can use array_contains
to check if the author is inside the array:
spark.sql("select * from f where array_contains(authors, 'Udo Haiber')")
Use single quotes to quote the author name because you're using double quotes for the query string.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…