Skip to content

Commit

Permalink
Setting engine client version for generating plan (#3869)
Browse files Browse the repository at this point in the history
  • Loading branch information
gs-gunjan authored Feb 6, 2025
1 parent ec75b66 commit ce88ccd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/lazy-rocks-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@finos/legend-application-data-cube': patch
---

generating plan with always vX_X_X version
Original file line number Diff line number Diff line change
Expand Up @@ -574,12 +574,7 @@ export class LegendDataCubeDataCubeEngine extends DataCubeEngine {
): Promise<V1_ExecutionPlan> {
return V1_deserializeExecutionPlan(
await this._engineServerClient.generatePlan({
clientVersion:
options?.clientVersion ??
// eslint-disable-next-line no-process-env
(process.env.NODE_ENV === 'development'
? PureClientVersion.VX_X_X
: undefined),
clientVersion: PureClientVersion.VX_X_X,
function: this.serializeValueSpecification(query),
model: serialize(model),
context: serialize(
Expand Down

0 comments on commit ce88ccd

Please sign in to comment.