-
Notifications
You must be signed in to change notification settings - Fork 14
Description
If an information schema query (e.g. SHOW COLUMNS FROM records) is ran with datafusion-distributed enabled, the resulting query fails due to no serialization support for StreamingTableExec, a similar problem of missing serialization like the one that was fixed in #17200..
Our initial attempt to solve that in a similar manner, i.e. by adding the missing serialization quickly turned out to be a rather large change. A more pragmatic approach was to detect if an information schema query was performed --- our first implementation does so checking if there is a table scan on a table named "information_schema" --- and simply disable distributed execution in this case.
This could potentially be lowered, i.e. made part of datafusion(-distributed), to not distribute these kinds of queries in the first place.