Hey Guys, DRILL-3810 is a patch adding schema to a format plugin. In order to do this, Kamesh has suggested a change to the FormatPlugin that basically has a secondary call called getDrillTable(Object selection) that is called after the FormatMatcher. However, it seems weird that there is a multi-stage interaction here between the engine and a format plugin. One idea I had is that the FormatMatcher should return the Table object directly (and thus have the ability to return a schema'd pattern). Kamesh's most recent patch presents this approach. I wanted to get some more feedback from others on this issue before we finalize a particular direction since this should ultimately be a stable external API.
What do others think? For reference, it is my expectation is that CSV and Parquet should ultimately also implement this interface.) https://issues.apache.org/jira/browse/DRILL-3810 -- Jacques Nadeau CTO and Co-Founder, Dremio
