Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Bug] [seatunnel-formats] Allow the entry in the map to be null and a…
…llow the key in the entry to be null (#5277) * 🐛 "Add null check in text deserialization This commit adds a null check while splitting the kv in the TextDeserializationSchema. Not having this check could potentially lead to a crash if 'kvs' has less than two elements. Now, the function will return null in this case, significantly improving reliability." * 🐛 Refactor text deserialization, allow null value assignments Modified the TextDeserializationSchema to allow key-value pairs with null values. This adjustment helps to handle data records with missing values more accurately. The code was also reformatted for improved readability. * 🎨 Refactor Builder constructor in TextDeserializationSchema Tidied up the Builder constructor in TextDeserializationSchema by removing unnecessary empty lines. This change improves code readability and consistency with the rest of the class? * ✅ Add test case where the value is empty and the key is empty in the map --------- Co-authored-by: yangpeng <nickyooungp@gmail.com>
- Loading branch information