I am wondering whether we can in certain cases switch to using SerializableTable instead of TableLoader in Flink. In particular, I am talking about FlinkInputFormat. My primary motivation is the ability to pass just a Table object instead of a number of individual parts. For example, I want to pass Table to PartitionUtil#constantsMap as the partition type depends on all specs. A side benefit of using SerializableTable is that we won't have to load and close the catalog.