Hopefully you know how to make extensions to the parser; see
https://issues.apache.org/jira/browse/PHOENIX-1706 for instance. You
can add an extension to INSERT syntax that is an empty string in
Calcite's version of the parser, something else in your version of the
parser. You might need to add a new template variable;
https://issues.apache.org/jira/browse/CALCITE-1241 is an example of a
change that did that.

On Thu, Sep 15, 2016 at 6:54 AM, Arina Yelchiyeva
<[email protected]> wrote:
> Hi all!
>
> Calcite supports standard insert syntax. But I need to add partition by
> clause in it.
> I've been trying to overwrite it in parser using additional parser
> statements calls but such calls go after insert in parsing hierarchy. So I
> have been wondering is there a way to overwrite insert syntax?
>
> Kind regards
> Arina

Reply via email to