adding:
.set("spark.sql.ansi.enabled","false") // 43 tests fail on overflow / casting issues
to the conf settings in TypedDatasetSuite line 43 (fun coincidence) resolves, the tests themselves are at fault under this - not the actual frameless code.
It may require documentation.
As of 16.05.24 this is the only failure on my fork testing against a 4.0 shim.