Table query with parentheses does not find rows.
See original GitHub issueWhich service(blob, file, queue, table) does this issue concern?
Table
Which version of the Azurite was used?
3.14.2
Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
DockerHub
What’s the Node.js version?
I’m not sure I use Docker image.
What problem was encountered?
Table query with parentheses e.g.: (PartitionKey eq '1') and (AppId eq 1000002L)
does not find rows.
Steps to reproduce the issue?
-
In Storage Explorer, insert entity
-
In Storage Explorer, use query tool to create a query that includes parentheses No rows found.
- In Storage Explorer, use the same query but without parentheses Records were found.
We use Microsoft.Azure.Cosmos.Table
SDK that wraps the conditions with parentheses.
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Create table with query but it shows me syntax error where the ...
CREATE TABLE [dbo].[Cart] { should not with curly braces, it should be with parentheses () . And NOTNULL should be NOT NULL
Read more >Documentation: 15: 7.2. Table Expressions - PostgreSQL
Parentheses can be used around JOIN clauses to control the join order. ... Then, for each row in T1 that does not satisfy...
Read more >Access Data in Tables - MATLAB & Simulink - MathWorks
Indexing into tables with parentheses, dot notation, and curly braces accesses table ... The rows of a table can have names, but row...
Read more >Query syntax in Google Standard SQL | Cloud Spanner
The query above produces a table with row type STRUCT<a int64, b int64> . Example: SELECT AS ... You cannot write comma cross...
Read more >SQL Subqueries - w3resource
The SQL subquery is a SELECT query that is embedded in the main SELECT ... to the outer query, the outer query will...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks, the logic looks sound, and I can add it to the other PR with appropriate tests.
😊 The problem seems to be in method
tokenizeQuery
. The original condition did not take into accountint64
withL
suffix. Original:my “naive, without refactor, but functional” implementation looks like this:
I had a problem running the tests.
ERROR: --compilers is DEPRECATED and no longer supported.
I’m not NodeJs guy 🙄.