Hi,

When attempting to implement new nodes, such as create table or drop table,
and utilize the sql validator, what's the suggested manner for
implementation?

I see SqlValidatorImpl is the default implementation of the validator, but
I don't see a way to add new node types to the validator. When I create an
SqlCreate or SqlDrop and pass it to the validator, it throws an exception
in "registerQuery" since that node type isn't one of the expected node
types. At the same time, the methods inside of this class are all protected
so I can't extend and overwrite them to handle new node types.

Is there another recommended way to handle node validation for custom
nodes? Especially top level nodes.

--Jonathan Sternberg

Reply via email to