dremio-oss
dremio-oss copied to clipboard
Fix mixed schema / JsonWriter issue
In some circumstances when dealing with mixed schema, an exception can result where the code generator attempts to give a UnionHolder to the write
function in JsonWriter.
It seemed reasonable for it to work in this manner, so I merely added the expected overload.
I didn't find a clean way to write null without having it be typed in this manner -- thoughts?