Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List of improvements for Preview 2 #4494

Open
MaceWindu opened this issue May 4, 2024 · 1 comment
Open

List of improvements for Preview 2 #4494

MaceWindu opened this issue May 4, 2024 · 1 comment
Milestone

Comments

@MaceWindu
Copy link
Contributor

MaceWindu commented May 4, 2024

Below I will add list of issues and potential improvements, found in baselines from new parser feature that we should review and fix it it makes sense for next preview(s). Only one test per-issue mentioned as example usually.

  • SelectManyUpdateTests.Test1: IN predicate optimization [x].[ParentID] IN (0, 0)
  • SelectManyUpdateTests.Test2: False predicate minification 1 = 0 AND a_Children_1.ParentID = a_Children.ChildID`
  • Issue461Tests.SelectToAnonymousTest2: review current policy how to populate columns for select to avoid unnecessary transfers SELECT l.ParentID + 1, l.ParentID
  • UserTests.Issue4383Tests.Test: duplicate columns in eager load
  • Issue3402Tests.ColumnOptimization: avoid optimized true filter generation WHERE 1=1
  • Issue3148Tests.TestDefaultExpression_22 LEFT JOIN with false condition could be removed ON 1=0
  • Issue0082Tests.Test1(SqlCe unused OUTER APPLY should be removed
  • remove parameter casts from insert/update setters for FB, DB2
  • OrmBattleTests.DateTimeTest: predicate function optimization regression
  • SqlServerTests.TablesInScopeHintTest: duplicate predicates in AND optimization
  • AnalyticTests.TestStdDev and others : duplicate columns
  • AssociationTests.AssociationExpressionNullCount: unused left join not removed
  • ConcatUnionTests.UnionGroupByTest2 : duplicate columns
@MaceWindu MaceWindu added this to the 6.0.0 milestone May 4, 2024
@jods4
Copy link
Contributor

jods4 commented May 4, 2024

Issue0082Tests.Test1(SqlCe unused OUTER APPLY should be removed

If someone tackles this one: only if its cardinality is known to be 0 or 1.

AssociationTests.AssociationExpressionNullCount unused left join not removed

Same.

@sdanyliv sdanyliv mentioned this issue May 5, 2024
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants