RootCauseunvalidated
Spark uses JavaBeans reflection to inspect POJOs — it requires `getX()`/`isX()` for getters and `setX(Type)` for setters. Tension: your methods no longer adhere to JavaBeans conventions. Outcome: Spark is unable to detect them when inferring the schema.
d7ca996d-1e05-4bb9-b479-ebad147c0e89
Spark uses JavaBeans reflection to inspect POJOs — it requires getX()/isX() for getters and setX(Type) for setters. Tension: your methods no longer adhere to JavaBeans conventions. Outcome: Spark is unable to detect them when inferring the schema.