Re: Basic query execution question: RelRunner fails due to SchemaPlusImpl#snapshot throwing "UnsupportedOperation"

2022-01-18 Thread Gavin Ray
The same code works in Java/Scala so there must be a quirk or small deviation in my Kotlin code. I'll chalk this one up to user error. Here's the working Java implementation: public class CalciteSchemaManager { public

Basic query execution question: RelRunner fails due to SchemaPlusImpl#snapshot throwing "UnsupportedOperation"

2022-01-16 Thread Gavin Ray
I hate to bother with such a small question but I feel like I've hit a wall after spending most of yesterday on it. I get this when trying to execute a RelNode expression as a query, it seems to be because the "SchemaPlusImpl" throws "UnsupportedException" for the "snapshot" function.