-
Notifications
You must be signed in to change notification settings - Fork 491
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: Adds support for LIKE statement and INT system functions to c# query parser to avoid gateway query plan call when service interop is not available. #2353
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please follow the required format: "[Internal] Category: (Adds|Fixes|Refactors) Description"
Examples:
Diagnostics: Adds GetElapsedClientLatency to CosmosDiagnostics
PartitionKey: Fixes null reference when using default(PartitionKey)
[v4] Client Encryption: Refactors code to external project
[Internal] Query: Adds code generator for CosmosNumbers for easy additions in the future.
Microsoft.Azure.Cosmos/src/Query/Core/Parser/CstToAstVisitor.cs
Outdated
Show resolved
Hide resolved
Microsoft.Azure.Cosmos/src/Query/Core/Parser/CstToAstVisitor.cs
Outdated
Show resolved
Hide resolved
Microsoft.Azure.Cosmos/src/Query/Core/Pipeline/CosmosQueryExecutionContextFactory.cs
Outdated
Show resolved
Hide resolved
Microsoft.Azure.Cosmos/src/SqlObjects/SqlFunctionCallScalarExpression.cs
Show resolved
Hide resolved
Microsoft.Azure.Cosmos/src/SqlObjects/Visitors/SqlObjectTextSerializer.cs
Outdated
Show resolved
Hide resolved
Microsoft.Azure.Cosmos/src/SqlObjects/Visitors/SqlObjectVisitor{TArg,TOutput}.cs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Microsoft.Azure.Cosmos/src/SqlObjects/Visitors/SqlObjectEqualityVisitor.cs
Show resolved
Hide resolved
Microsoft.Azure.Cosmos/src/SqlObjects/Visitors/SqlObjectObfuscator.cs
Outdated
Show resolved
Hide resolved
...soft.Azure.Cosmos.Tests/BaselineTest/TestBaseline/LikeClauseSqlParserBaselineTests.Tests.xml
Outdated
Show resolved
Hide resolved
...e.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Query/OfflineEngine/ScalarExpressionEvaluator.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Template
Description
This PR adds LIKE support and INT system functions for SqlObject and the ANTLR parser. It updates the grammar file, the CSTtoASTvisitor and all the associated Sql DOM.
This PR also adds fixes for an outstanding grammar bug, #2201
Type of change
Please delete options that are not relevant.
Closing issues
To automatically close an issue: closes #2201