First of all, congratulations on graduating :-) I was excited to see the news about the new builder API for building relational expressions and this opens up an opportunity for me to integrate Calcite in the next version of our product and gives me a reason to start contributing to the project.
My goal is to create relational algebra from our product's SQL implementation. To get started, I tried adapting the RelBuilderExample and soon ran into a NullPointerException. After some digging, I understand the cause of the exception, and it is my mistake, but I think I should really be seeing a more helpful exception, such as an InvalidTableException with the message "Table FOO does not exist in schema BAR". This might be a good place for me to start contributing to help make it easier for first time users who are trying to integrate Calcite into their products. Before I start creating JIRA issues and pull requests, I wanted to ask if this is considered a useful effort and see if there were any particular standards for exceptions that I should follow. ``` Exception in thread "main" java.lang.NullPointerException at org.apache.calcite.rel.logical.LogicalTableScan.create(LogicalTableScan.java:98) at org.apache.calcite.rel.core.RelFactories$TableScanFactoryImpl.createScan(RelFactories.java:331) at org.apache.calcite.tools.RelBuilder.scan(RelBuilder.java:476) ``` Thanks, Andy. -- Andy Grove Chief Architect AgilData - Simple Streaming SQL that Scales www.agildata.com
