zabetak opened a new pull request, #4083: URL: https://github.com/apache/calcite/pull/4083
MockTable currently allows only one key to be specified; the key can be either simple or composite. In real scenarios though a table can have multiple keys. 1. Add `MockTable#addKey` API to explicitly support multiple (individual & composite) keys. 2. Modify `MockTable#addColumn` to create individual keys when `isKey` is `true`. There is a slight change in behavior since when the method is called multiple times for the same table it will now create multiple simple keys instead of one composite. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
