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

Query: Add identifier appropriately when generating joins #20599

Merged
merged 1 commit into from
Apr 17, 2020

Conversation

smitpatel
Copy link
Contributor

We skipped doing it during left join which was incorrect.
We need to apply it for every join and account for it could be null for LeftJoin/OuterApply.

  • Make columnExpression.Type nullble if it is nullable.
  • Add some fancy code in TestSqlLoggerFactory to write directly into file updating baselines (I ran into updating 234 baselines).
    • Off by default
    • Can set indent if it is higher than usual
    • Only works when number of lines do not change

We skipped doing it during left join which was incorrect.
We need to apply it for every join and account for it could be null for LeftJoin/OuterApply.

- Make columnExpression.Type nullble if it is nullable.
- Add some fancy code in TestSqlLoggerFactory to write directly into file updating baselines (I ran into updating 234 baselines).
  - Off by default
  - Can set indent if it is higher than usual
  - Only works when number of lines do not change
@smitpatel smitpatel requested a review from maumar April 11, 2020 01:55
@smitpatel
Copy link
Contributor Author

Ping @maumar

@smitpatel smitpatel merged commit aba3390 into master Apr 17, 2020
@smitpatel smitpatel deleted the smit/bossjob branch April 17, 2020 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