{"issue":{"milestone":null,"title":"[LDB-28] unable to create foreign table","created_at":"2011-12-30T02:27:19Z","user":{"login":"dynamobi-build","id":1123017,"url":"https://api.github.com/users/dynamobi-build","avatar_url":"https://secure.gravatar.com/avatar/cb215b3d786be20761071a562a56af64?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"cb215b3d786be20761071a562a56af64"},"labels":[{"name":"LDB","url":"https://api.github.com/repos/dynamobi/dynamobi/labels/LDB","color":"e2b9bd"}],"updated_at":"2011-12-30T02:27:22Z","state":"closed","id":2685497,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"closed_at":"2011-12-30T02:27:20Z","html_url":"https://github.com/dynamobi/dynamobi/issues/293","body":"<b><i>[reporter=\"boris\", created=\"Sat, 11 Feb 2006 22:01:51 -0500 (GMT-05:00)\"]</i></b>\n<br/>\ncreate foreign data wrapper orcl_jdbc<br/>\nlibrary '/home/boris/open/luciddb/plugin/FarragoMedJdbc3p.jar'<br/>\nlanguage java;<br/>\ncreate server orcl_server<br/>\nforeign data wrapper orcl_jdbc<br/>\noptions(<br/>\n    url 'jdbc:oracle:thin:@akela.lucidera.com:1521:XE',<br/>\n    user_name 'schoi',<br/>\n    password 'schoi',<br/>\n    driver_class 'oracle.jdbc.driver.OracleDriver'<br/>\n);<br/>\n<br/>\ncreate schema s;<br/>\ncreate schema orcl_schema;<br/>\n<br/>\n create foreign table orcl_schema.\"bench1M\" server orcl_server;<br/>\n<br/>\n<br/>\nThis results in assertion:<br/>\n0: jdbc:luciddb:><br/>\n0: jdbc:luciddb:> create foreign table orcl_schema.\"bench1M\" server orcl_server;<br/>\nError: java.lang.AssertionError: null (state=,code=0)<br/>\n<br/>\n","number":293,"url":"https://api.github.com/repos/dynamobi/dynamobi/issues/293","comments":2,"assignee":null},"comment":{"created_at":"2011-12-30T02:27:22Z","user":{"login":"dynamobi-build","id":1123017,"url":"https://api.github.com/users/dynamobi-build","avatar_url":"https://secure.gravatar.com/avatar/cb215b3d786be20761071a562a56af64?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"cb215b3d786be20761071a562a56af64"},"updated_at":"2011-12-30T02:27:22Z","id":3309158,"body":"<b><i>[author=\"boris\", created=\"Sat, 11 Feb 2006 22:33:09 -0500 (GMT-05:00)\"]</i></b>\n0: jdbc:luciddb:>  create foreign table orcl_schema.\"bench1M\" server orcl_server;<br/>\nError: java.lang.AssertionError: null (state=,code=0)<br/>\nnet.sf.farrago.util.FarragoUtil$FarragoSqlException: java.lang.AssertionError: null<br/>\n        at net.sf.farrago.namespace.jdbc.MedJdbcDataServer.newColumnSet(MedJdbcDataServer.java:185)<br/>\n        at net.sf.farrago.namespace.util.FarragoDataWrapperCache.loadColumnSetFromCatalog(FarragoDataWrapperCache.java:268)<br/>\n        at net.sf.farrago.ddl.DdlMedHandler.validateMedColumnSet(DdlMedHandler.java:216)<br/>\n        at net.sf.farrago.ddl.DdlMedHandler.validateForeignColumnSetDefinition(DdlMedHandler.java:83)<br/>\n        at net.sf.farrago.ddl.DdlMedHandler.validateDefinition(DdlMedHandler.java:66)<br/>\n        at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)<br/>\n        at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)<br/>\n        at org.eigenbase.util.ReflectUtil.invokeVisitor(ReflectUtil.java:249)<br/>\n        at net.sf.farrago.ddl.DdlValidator.invokeHandler(DdlValidator.java:1262)at net.sf.farrago.ddl.DdlValidator.validateAction(DdlValidator.java:1244)<br/>\n        at net.sf.farrago.ddl.DdlValidator.validate(DdlValidator.java:834)<br/>\n        at net.sf.farrago.db.FarragoDbSession.validateDdl(FarragoDbSession.java:806)<br/>\n        at net.sf.farrago.db.FarragoDbSession.prepareImpl(FarragoDbSession.java:784)<br/>\n        at net.sf.farrago.db.FarragoDbSession.prepare(FarragoDbSession.java:720)at net.sf.farrago.db.FarragoDbStmtContext.prepare(FarragoDbStmtContext.java:154)<br/>\n        at net.sf.farrago.jdbc.engine.FarragoJdbcEngineStatement.execute(FarragoJdbcEngineStatement.java:104)<br/>\n        at sqlline.SqlLine$Commands.execute(Ljava.lang.String;Z)Z(Unknown Source)<br/>\n        at sqlline.SqlLine$Commands.sql(Ljava.lang.String;)Z(Unknown Source)<br/>\n        at sqlline.SqlLine.dispatch(Ljava.lang.String;)Z(Unknown Source)<br/>\n        at sqlline.SqlLine.begin([Ljava.lang.String;Ljava.io.InputStream;)V(Unknown Source)<br/>\n        at sqlline.SqlLine.mainWithInputRedirection([Ljava.lang.String;Ljava.io.InputStream;)V(Unknown Source)<br/>\n        at sqlline.SqlLine.main([Ljava.lang.String;)V(Unknown Source)<br/>\n0: jdbc:luciddb:><br/>\n","url":"https://api.github.com/repos/dynamobi/dynamobi/issues/comments/3309158"},"action":"created"}