createKey(KeyRecord.Type.Primary, "pk", p, p_cols.subList(0, 1));
FakeCapabilitiesFinder finder = new FakeCapabilitiesFinder();
finder.addCapabilities("oracle", CapabilitiesConverter.convertCapabilities(new OracleExecutionFactory())); //$NON-NLS-1$
finder.addCapabilities("sybase", CapabilitiesConverter.convertCapabilities(new SybaseExecutionFactory())); //$NON-NLS-1$
TransformationMetadata metadata = RealMetadataFactory.createTransformationMetadata(metadataStore, "star");
TestOptimizer.helpPlan(sql, metadata, new String[] {
"SELECT g_0.CurrencyCode AS c_0 FROM sybase.s2 AS g_0 WHERE g_0.Name = 'abc' ORDER BY c_0",