You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 24, 2025. It is now read-only.
I see that there is an option mode with PERMISSIVE as default, which leads to when it encounters a field of the wrong datatype, it sets the offending field to null. But malformed value is not being added to column _corrupt_record because there is nothing wrong with xml structure.
So there is no way to detect if input file contains tag with wrong field value or nullValue, unless user set a different mode.
Is that desired behavior?
Hi.
I'm trying to parse simple xml file:
Result:
But if timestamp does not match format, e.g.
Tis replaced with space:It is read as
null:I see that there is an option
modewithPERMISSIVEas default, which leads towhen it encounters a field of the wrong datatype, it sets the offending field to null. But malformed value is not being added to column_corrupt_recordbecause there is nothing wrong with xml structure.So there is no way to detect if input file contains tag with wrong field value or
nullValue, unless user set a differentmode.Is that desired behavior?