databend icon indicating copy to clipboard operation
databend copied to clipboard

Feature: Support empty statement in new planner

Open leiysky opened this issue 1 year ago • 2 comments

Accept /* foo bar */ ; as Statement::Empty and then do nothing in execution.

leiysky avatar Aug 04 '22 12:08 leiysky

Does the Empty Statement the same as the normal statement?

andylokandy avatar Aug 04 '22 15:08 andylokandy

Does the Empty Statement the same as the normal statement?

Which part do you mean? IMO there is no difference between them, EmptyStatement is just another variant of Statement, and will be processed by Binder, Interpreter(i.e. EmptyInterpreter) as well.

leiysky avatar Aug 05 '22 01:08 leiysky