Hi Michael, Thanks for the advice and sorry for the delayed response. I’ve made more progress by using view as part of the assumption. Will need to document more before release so that it would be a painless onboarding process.
During the filter development, I’ve encountered some issues regarding LogicalFilter. Since couchbase3 has very limited support on value filter (as JsonDocument), most of the filter capability relies on LogicalFilter. However, once I have my own filter to specifically get the document_id as predicate to pass them along to the query phase, I am not able to failback to LogicalFilter. Is there an elegant way to support such feature? I would like to only invoke my filter for some specific predicates. I am wrapping the couchbase3 code with some more unit test cases. Will need to follow my company’s process before I can finally contribute back to calcite. -Jerry
