Skip to content
Snippets Groups Projects
Commit 079b8b7e authored by Julien Lopez's avatar Julien Lopez
Browse files

Update to new QIR version

parent 2f4cd9b6
No related branches found
No related tags found
No related merge requests found
......@@ -229,7 +229,7 @@ public final class QIRInterface {
final String dbName = (String) env.get("dbName");
final String configFile = (String) env.get("configFile");
if (tableName != null && dbName != null && configFile != null) // The object is a table
return new QIRTable<>(src, new QIRString(null, tableName), new QIRString(null, dbName), new QIRString(null, configFile), new QIRString(null, schemaName));
return new QIRTable(src, new QIRString(null, tableName), new QIRString(null, dbName), new QIRString(null, configFile), new QIRString(null, schemaName));
// else, the object is considered a tuple
QIRTuple tuple = QIRTnil.instance;
for (final Object x : env.getFrame().getFrameDescriptor().getIdentifiers())
......@@ -257,7 +257,7 @@ public final class QIRInterface {
final QIRVariable schemaName = new QIRVariable(null, "__tmp4__");
return new QIRLambda(null, null, tableName,
new QIRLambda(null, null, dbName, new QIRLambda(null, null, configFile,
new QIRLambda(null, null, schemaName, new QIRTable<>(src, tableName, dbName, configFile, schemaName),
new QIRLambda(null, null, schemaName, new QIRTable(src, tableName, dbName, configFile, schemaName),
new FrameDescriptor()),
new FrameDescriptor()),
new FrameDescriptor()),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment