You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently had an error in a non-dev environment because of the differences in how Azurite and actual table storage interprets a query.
I accidentally wrote Or instead of or in my query and azurite was fine with that, things worked, but when it was run on table storage it gave me a syntax error because the or has to be lowercase.
Azurite is probably more lenient because of some of the toLowerCase code found in QueryParser.ts
Not sure where in the priority the consistency beween azurite and tablestorage in production are, since they are inherently very different technologies.
Just wanted to let you know, if it was helpful, since it had me wondering for quite a while.
The text was updated successfully, but these errors were encountered:
Seems you already find the root cause. Azurite welcome contribution. If you'd like to help, you can raise a PR to fix it. It'd be even greater if you can help to take a look at other operator key words like: "AND", "NOT" and comparison operators like: "EQ", "LE", etc.
I can also take care of this later, only it may not be in our priority for now.
Recently had an error in a non-dev environment because of the differences in how Azurite and actual table storage interprets a query.
I accidentally wrote
Or
instead ofor
in my query and azurite was fine with that, things worked, but when it was run on table storage it gave me a syntax error because theor
has to be lowercase.Azurite is probably more lenient because of some of the toLowerCase code found in QueryParser.ts
Not sure where in the priority the consistency beween azurite and tablestorage in production are, since they are inherently very different technologies.
Just wanted to let you know, if it was helpful, since it had me wondering for quite a while.
The text was updated successfully, but these errors were encountered: