Description
Current the function `from_avro` throws exception on reading corrupt records.
To follow the behavior of `from_csv` and `from_json`, let's support parse mode "PERMISSIVE" and "FAILFAST" in `from_avro`.
Current the function `from_avro` throws exception on reading corrupt records.
To follow the behavior of `from_csv` and `from_json`, let's support parse mode "PERMISSIVE" and "FAILFAST" in `from_avro`.