I found a problem where I have 2 tables with the same field types, but
different field names. My table overrides Table.getRowType and uses
typeFactory.createStructType().  The generated Record class is reused, so
the field names are wrong for the second table.

JavaTypeFactoryImpl.register() uses only type and nullable in the key, so I
was able to fix the problem by adding field.getName() to the key.

Should I file a bug and PR?

-Mike

Reply via email to