Let’s work on getting the simplest possible query working, which I presume is “select k, c from t”, and have your enumerable completely ignore projects and filters and always return the row key and the value for one hard-coded column c. Once you have cracked code generation, you will find it easy to generalize. Run with ‘-Dcalcite.debug=true’ and it will print out the generated code before it executes.
Julian
