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

Fixing some small bugs in sql generation #16112

Merged
merged 1 commit into from
Jun 19, 2019
Merged

Fixing some small bugs in sql generation #16112

merged 1 commit into from
Jun 19, 2019

Conversation

maumar
Copy link
Contributor

@maumar maumar commented Jun 15, 2019

  • removing redundant term in Contains translation with constant argument,
  • fixing logic around IN sql gen,
  • clean up logic around de morgan optimization,
  • adding new optimization op(a, b) == true -> op(a, b),
  • removing a number of tests that are no longer relevant due to query pipeline changes.

@maumar maumar requested review from smitpatel and roji June 15, 2019 06:38


Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems that we are no longer removing whitespaces here - is that expected?

Copy link
Contributor

@smitpatel smitpatel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will review again later.

@maumar maumar force-pushed the some_sqlgen_fixes branch from 37643f7 to e9b9fb0 Compare June 17, 2019 21:51
@maumar
Copy link
Contributor Author

maumar commented Jun 17, 2019

new version up

SqlExpressionFactory = sqlExpressionFactory;
}

protected QueryCompilationContext QueryCompilationContext { get; private set; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expose only useRelationalNulls?

- removing redundant term in Contains translation with constant argument,
- fixing logic around IN sql gen,
- clean up logic around de morgan optimization,
- adding new optimization op(a, b) == true -> op(a, b),
- removing a number of tests that are no longer relevant due to query pipeline changes.
@maumar maumar force-pushed the some_sqlgen_fixes branch from e9b9fb0 to aafc355 Compare June 19, 2019 00:14
@maumar maumar merged commit aafc355 into master Jun 19, 2019
@ghost ghost deleted the some_sqlgen_fixes branch June 19, 2019 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants