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 translation for string.IndexOf(string, int) #25396 #25655

Closed

Conversation

yosoyhabacuc
Copy link
Contributor

    Summary of the changes:
    - Added support to _indexOfMethodInfoWithStartingPosition in SqlServerStringMethodTranslator
    - Created a TranslateIndexOf method inside the same class to be used by both _indexOfMethodInfo and _indexOfMethodInfoWithStartingPosition
    - Created test for Indexof_with_one_arg, to check the existing implementation still works
    - Modified test method Indexof_with_starting_position to check the change

Fixes issue #25396

@dnfadmin
Copy link

dnfadmin commented Aug 23, 2021

CLA assistant check
All CLA requirements met.

@ajcvickers
Copy link
Member

Note: EF Core 6.0 is closed for new features; this will need retargeting to main.

Assigning @smitpatel

Copy link
Member

@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.

Rebase on main branch

@smitpatel smitpatel changed the base branch from release/6.0 to main September 2, 2021 22:33
smitpatel and others added 16 commits September 17, 2021 23:34
* Adding grouping tests from EF6

As a crude measure of the gap between EF Core and EF6.

Currently:
- 12 tests pass
- 2 tests fail with "Translation of 'Select' which contains grouping parameter without composition is not supported."
- 17 tests fail with general "Could not be translated."
- 8 tests fail with different results

* Updated

* Updates based on feedback.
…0918.3 (dotnet#26101)

[release/6.0-rc2] Update dependencies from dotnet/runtime
Co-authored-by: Erik Ejlskov Jensen <eej@venzo.com>
…nstead of Deleted * Inserted

Don't allocate a collection for edges if there's only one edge between given two vertices
Reuse the Multigraph instance
Change the benchmark to reuse the context instance to simulate pooling behavior
…0920.10 (dotnet#26113)

[release/6.0-rc2] Update dependencies from dotnet/runtime
…t-extensions

- Coherency Updates:
  - Microsoft.NETCore.App.Runtime.win-x64: from 3.1.19 to 3.1.20 (parent: Microsoft.Extensions.Logging)
  - Microsoft.NETCore.App.Runtime.win-x64: from 3.1.19 to 3.1.20 (parent: Microsoft.Extensions.Logging)
  - Microsoft.NETCore.App.Runtime.win-x64: from 3.1.19 to 3.1.20 (parent: Microsoft.Extensions.Logging)
  - Microsoft.NETCore.App.Internal: from 3.1.19-servicing.21416.14 to 3.1.20-servicing.21470.10 (parent: Microsoft.Extensions.Logging)
  - Microsoft.NETCore.App.Runtime.win-x64: from 3.1.19 to 3.1.20 (parent: Microsoft.Extensions.Logging)
  - Microsoft.NETCore.App.Runtime.win-x64: from 3.1.19 to 3.1.20 (parent: Microsoft.Extensions.Logging)
  - Microsoft.NETCore.App.Runtime.win-x64: from 3.1.19 to 3.1.20 (parent: Microsoft.Extensions.Logging)
  - Microsoft.NETCore.App.Runtime.win-x64: from 3.1.19 to 3.1.20 (parent: Microsoft.Extensions.Logging)
  - Microsoft.NETCore.App.Runtime.win-x64: from 3.1.19 to 3.1.20 (parent: Microsoft.Extensions.Logging)
  - Microsoft.NETCore.App.Runtime.win-x64: from 3.1.19 to 3.1.20 (parent: Microsoft.Extensions.Logging)
  - Microsoft.NETCore.App.Runtime.win-x64: from 3.1.19 to 3.1.20 (parent: Microsoft.Extensions.Logging)
  - Microsoft.NETCore.App.Runtime.win-x64: from 3.1.19 to 3.1.20 (parent: Microsoft.Extensions.Logging)
  - Microsoft.NETCore.App.Runtime.win-x64: from 3.1.19 to 3.1.20 (parent: Microsoft.Extensions.Logging)
  - Microsoft.NETCore.App.Runtime.win-x64: from 3.1.19 to 3.1.20 (parent: Microsoft.Extensions.Logging)
…t-extensions

- Coherency Updates:
  - Microsoft.NETCore.App.Runtime.win-x64: from 3.1.20 to 3.1.20 (parent: Microsoft.Extensions.Logging)
  - Microsoft.NETCore.App.Runtime.win-x64: from 3.1.20 to 3.1.20 (parent: Microsoft.Extensions.Logging)
  - Microsoft.NETCore.App.Runtime.win-x64: from 3.1.20 to 3.1.20 (parent: Microsoft.Extensions.Logging)
  - Microsoft.NETCore.App.Internal: from 3.1.20-servicing.21470.10 to 3.1.20-servicing.21470.22 (parent: Microsoft.Extensions.Logging)
  - Microsoft.NETCore.App.Runtime.win-x64: from 3.1.20 to 3.1.20 (parent: Microsoft.Extensions.Logging)
  - Microsoft.NETCore.App.Runtime.win-x64: from 3.1.20 to 3.1.20 (parent: Microsoft.Extensions.Logging)
  - Microsoft.NETCore.App.Runtime.win-x64: from 3.1.20 to 3.1.20 (parent: Microsoft.Extensions.Logging)
  - Microsoft.NETCore.App.Runtime.win-x64: from 3.1.20 to 3.1.20 (parent: Microsoft.Extensions.Logging)
  - Microsoft.NETCore.App.Runtime.win-x64: from 3.1.20 to 3.1.20 (parent: Microsoft.Extensions.Logging)
  - Microsoft.NETCore.App.Runtime.win-x64: from 3.1.20 to 3.1.20 (parent: Microsoft.Extensions.Logging)
  - Microsoft.NETCore.App.Runtime.win-x64: from 3.1.20 to 3.1.20 (parent: Microsoft.Extensions.Logging)
  - Microsoft.NETCore.App.Runtime.win-x64: from 3.1.20 to 3.1.20 (parent: Microsoft.Extensions.Logging)
  - Microsoft.NETCore.App.Runtime.win-x64: from 3.1.20 to 3.1.20 (parent: Microsoft.Extensions.Logging)
  - Microsoft.NETCore.App.Runtime.win-x64: from 3.1.20 to 3.1.20 (parent: Microsoft.Extensions.Logging)
dougbu and others added 27 commits November 8, 2021 18:39
….0-2021-11-09-0928

Merging internal commits for release/5.0
….1-2021-11-09-0932

Merging internal commits for release/3.1
… members of class (dotnet#26531)

Resolves dotnet#26496

We had mechanism to generate unique identifiers to assign to skip navigations but the code to find existing identifiers lacked skip navigations. So skip navigation names were not unique-fied throwing error when trying to add skip navigation with same name
…/6.0-to-main

[automated] Merge branch 'release/6.0' => 'main'
…6529)

* Microsoft.Data.Sqlite: Clean up on application exit

Fixes dotnet#26422

* fixup! Microsoft.Data.Sqlite: Clean up on application exit

Quirk it
…/6.0-to-main

[automated] Merge branch 'release/6.0' => 'main'
…108.5 (dotnet#26608)

[release/6.0] Update dependencies from dotnet/arcade
…110.2 (dotnet#26613)

[release/6.0] Update dependencies from dotnet/arcade
The build was earlier removed due another issue, re-adding and moving
@smitpatel
Copy link
Member

Since original PR wasn't rebase on latest main, closing in favor of #26623

@smitpatel smitpatel closed this Nov 11, 2021
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.