@Test public void testTimestampdiffFunctionFracSecond() {
GroupSymbol g = new GroupSymbol("my.group1"); //$NON-NLS-1$
From from = new From();
from.addGroup(g);
Function f = new Function("timestampdiff", new Expression[] { //$NON-NLS-1$
new Constant("SQL_TSI_FRAC_SECOND"), new Constant("2003-05-01 10:20:10"), new Constant("2003-05-01 10:20:30")}); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
ExpressionSymbol es = new ExpressionSymbol("expr", f); //$NON-NLS-1$
AliasSymbol as = new AliasSymbol("x", es); //$NON-NLS-1$
Select select = new Select();
select.addSymbol(as);