Skip to content

Commit

Permalink
Revert "fix Col"
Browse files Browse the repository at this point in the history
This reverts commit 322797e.
  • Loading branch information
AFine-gs committed Nov 18, 2024
1 parent 322797e commit affea06
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,12 @@ function <<access.private>> meta::pure::lineage::scanProject::test::executeWithG

function <<access.private>> meta::pure::lineage::scanProject::test::executeWithProjectUsingCol():Any[1]
{
execute(|let name = 'foo';
Firm.all()->project([
execute(|Firm.all()->project([
col(f|$f.legalName,'a'),
col(f|$f.employees->map(e|$e.lastName),'b'),
col(f|$f.employees->map(e|2 + $e.locations.place->count()),'c'),
col(f|$f.employeeByLastName($name).lastName,'d')

col(f|$f.employees->map(e|2 + $e.locations.place->count()),'c')
]
);, simpleRelationalMapping, meta::external::store::relational::tests::testRuntime(), meta::relational::extension::relationalExtensions());
), simpleRelationalMapping, meta::external::store::relational::tests::testRuntime(), meta::relational::extension::relationalExtensions());
}

Class <<access.private>> meta::pure::lineage::scanProject::test::LambdaHolder
Expand Down Expand Up @@ -96,7 +93,7 @@ function <<meta::pure::profiles::test.Test>> meta::pure::lineage::scanProject::t
{
let x = meta::pure::lineage::scanProject::test::executeWithProjectUsingCol__Any_1_->scanExecutes();
let p = $x.funcEntryPoint->toOne()->evaluateAndDeactivate()->meta::pure::lineage::scanProject::scanProject();
assertEquals(['a', 'b', 'c','d'], $p.columns.first);
assertEquals(['a', 'b', 'c'], $p.columns.first);
}

function <<meta::pure::profiles::test.Test>> meta::pure::lineage::scanProject::test::testFindProjectColInKeyExpression():Boolean[1]
Expand Down

0 comments on commit affea06

Please sign in to comment.