NPE is thrown, when creating a custom lineagem when a base view is using JDBC data source to Virtual Data Port.
The reason is that JDBC Wrapper for Denodo VDP does not contain schema.
Wrapper.java with a proposed fix is attached (createWrapper method is modified).
static Wrapper createWrapper(String wrapperVQL, String inDatabase) {
Wrapper wr = new Wrapper();
// wr.dataSourceObj = ds;
// System.out.println("raw wrapper=" + wr);
wr = wr.parse(wrapperVQL, inDatabase);
// System.out.println("cooked wr=" + wr);
// Added due to errors when it is JDBC wrapper to Denodo VDP:
if (wr.schema == null) {
wr.schema = inDatabase;
}
// Added due to errors when it is JDBC wrapper to Denodo VDP.
return wr;
}
NPE is thrown, when creating a custom lineagem when a base view is using JDBC data source to Virtual Data Port.
The reason is that JDBC Wrapper for Denodo VDP does not contain schema. Wrapper.java with a proposed fix is attached (createWrapper method is modified).
Wrapper.zip
.