Stephen Buergler created CALCITE-7513:
-----------------------------------------
Summary: Support tables that can be relational and streamable?
Key: CALCITE-7513
URL: https://issues.apache.org/jira/browse/CALCITE-7513
Project: Calcite
Issue Type: New Feature
Components: core
Affects Versions: 1.41.0
Reporter: Stephen Buergler
I don't know much about calcite yet so if there is a reason to not do this let
me know.
Currently it looks like you can't make a Table implement ScannableTable and
StreamableTable. It fails validation when you select from it because
org.apache.calcite.prepare.RelOptTableImpl#supportsModality says the modality
isn't supported. I think it would make more sense if that tested to see if the
Table implements one of the selectable interfaces rather than the current
{code:java}
!(table instanceof StreamableTable)
{code}
.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)