Skip to content
Permalink
Browse files
[ASTERIXDB-2249][BAD] Coordinated Change
Change-Id: I5287c0b291f2344bd2eeb55e0cb92c387b400ada
  • Loading branch information
mhubail committed Jan 17, 2018
1 parent 0fb6b23 commit c6c98ce96edc218b61df2f1f0a42cff7b4ff30f6
Showing 2 changed files with 4 additions and 3 deletions.
@@ -187,7 +187,7 @@ public void handle(IHyracksClientConnection hcc, IStatementExecutor statementExe
metadataProvider.getDefaultDataverse());
tempMdProvider.getConfig().putAll(metadataProvider.getConfig());

final ResultDelivery resultDelivery = requestParameters.getResultDelivery();
final ResultDelivery resultDelivery = requestParameters.getResultProperties().getDelivery();
final IHyracksDataset hdc = requestParameters.getHyracksDataset();
final Stats stats = requestParameters.getStats();
if (subscriptionId == null) {
@@ -207,6 +207,7 @@ public void handle(IHyracksClientConnection hcc, IStatementExecutor statementExe
tempMdProvider
.setResultSerializerFactoryProvider(metadataProvider.getResultSerializerFactoryProvider());
tempMdProvider.setOutputFile(metadataProvider.getOutputFile());
tempMdProvider.setMaxResultReads(requestParameters.getResultProperties().getMaxReads());

InsertStatement insert = new InsertStatement(new Identifier(dataverse),
new Identifier(subscriptionsDatasetName), subscriptionTuple, varCounter, resultVar, accessor);
@@ -262,7 +262,7 @@ public void handle(IHyracksClientConnection hcc, IStatementExecutor statementExe
metadataProvider.getDefaultDataverse());
tempMdProvider.getConfig().putAll(metadataProvider.getConfig());
metadataProvider.setResultSetId(new ResultSetId(resultSetId++));
final ResultDelivery resultDelivery = requestParameters.getResultDelivery();
final ResultDelivery resultDelivery = requestParameters.getResultProperties().getDelivery();
final IHyracksDataset hdc = requestParameters.getHyracksDataset();
final Stats stats = requestParameters.getStats();
boolean resultsAsync = resultDelivery == ResultDelivery.ASYNC || resultDelivery == ResultDelivery.DEFERRED;
@@ -272,7 +272,7 @@ public void handle(IHyracksClientConnection hcc, IStatementExecutor statementExe
tempMdProvider.setWriterFactory(metadataProvider.getWriterFactory());
tempMdProvider.setResultSerializerFactoryProvider(metadataProvider.getResultSerializerFactoryProvider());
tempMdProvider.setOutputFile(metadataProvider.getOutputFile());

tempMdProvider.setMaxResultReads(requestParameters.getResultProperties().getMaxReads());
//Create Procedure Internal Job
Pair<JobSpecification, PrecompiledType> procedureJobSpec =
createProcedureJob(statementExecutor, tempMdProvider, hcc, hdc, stats);

0 comments on commit c6c98ce

Please sign in to comment.