@finos/legend-query-builder 4.14.28 → 4.14.29

Sign up to get free protection for your applications and to get access to all the features.
@@ -279,6 +279,13 @@ export class QueryBuilderTDSState
279
279
  get fetchStructureValidationIssues(): string[] {
280
280
  const validationIssues: string[] = [];
281
281
 
282
+ const hasEmptyProjectionColumnName = this.projectionColumns.some(
283
+ (column) => column.columnName.length === 0,
284
+ );
285
+ if (hasEmptyProjectionColumnName) {
286
+ validationIssues.push('Query has projection column with no name');
287
+ }
288
+
282
289
  const hasInValidCalendarAggregateColumns =
283
290
  this.aggregationState.columns.some(
284
291
  (column) =>