use of org.teiid.dqp.internal.datamgr.ExecutionContextImpl in project teiid by teiid.
the class TestOracleTranslator method testOracleCommentPayload1.
@Test
public void testOracleCommentPayload1() throws Exception {
// $NON-NLS-1$
String input = "SELECT part_name, rownum FROM parts";
// $NON-NLS-1$
String output = "SELECT PARTS.PART_NAME, ROWNUM FROM PARTS";
// $NON-NLS-1$
String hint = "/*+ ALL_ROWS */ something else";
// $NON-NLS-1$
ExecutionContext context = new ExecutionContextImpl(null, 1, hint, null, "", 1, null, null);
helpTestVisitor(getTestVDB(), input, context, null, output, false);
}
Aggregations