Adds support for discrete, temporary, metastores inlined with queries called over arrow flight. These can be used to resolve identifiers parsed from the query in an ad-hoc manner.
How
introduce a MemoryStore and implement all store traits for it
encapsulate the ListSchemaResponse from regular clade metastore in a new message called InlineMetastoreCommandStatementQuery that also holds the query
now when get_sql_info is called arrow fails to pattern match against known commands and uses the fallback method
there we simply instantiate the MemoryStore for a one-off context that serves the query
What
Adds support for discrete, temporary, metastores inlined with queries called over arrow flight. These can be used to resolve identifiers parsed from the query in an ad-hoc manner.
How
MemoryStore
and implement all store traits for itListSchemaResponse
from regular clade metastore in a new message calledInlineMetastoreCommandStatementQuery
that also holds the queryget_sql_info
is called arrow fails to pattern match against known commands and uses the fallback methodMemoryStore
for a one-off context that serves the query