Feb 2, 2021
TableProvider interface is intended to work with existing tables, it meant for DML operations like read, write, delete, replace.
In your case, where schema is flexible, you need to create new tables, TableProvider cannot be used for that.
Have a look at TableCatalog, it might help you.