missing entry in expected array when --cache flag is used
See original GitHub issueIssue type
Bug Report:
Prerequisites
- Can you reproduce the issue?: yes
- Did you search the repository issues?: yes
- Did you check the forums?: yes
- Did you perform a web search (google, yahoo, etc)?: yes
Description
expected entry disappears when cache option is turned on
Steps to Reproduce
- Paste following grammar to online version
- Type
SELECT ain Test textarea (space at the end is important) - It shows
Line 1, column 10: Expected ",", "AS", "FROM", or Alias but end of input found.which is perfect! - Select Use results cache checkbox at the bottom of the page.
- Now error looks like:
Line 1, column 10: Expected ",", "AS", or Alias but end of input found.. The “FROM” part is missing, but it should still be present.
GRAMMAR:
start = SELECT _ c:columns f:from? {return {c, f};}
from
= _ FROM _ x:identifier {return x}
columns
= c:column _ "," _ cs:columns {return [c, ...cs];}
/ c:column {return [c]}
column
= i:identifier alias? {return i}
alias
= _ ("AS"i _)? aliasName
aliasName "Alias"
= identifier
identifier "Identifier"
= !keywords x:namechar+ {return x.join('')}
keywords
= SELECT / FROM
SELECT
= "SELECT"i
FROM
= "FROM"i !namechar
namechar
= [a-zA-Z]
_ "whitespace"
= [ \t\n\r]*
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
0.12.0 Milestone · GitHub
missing entry in expected array when --cache flag is used bug. #612 opened ; "unexpected" rule feature. #607 opened ; Full Unicode support,...
Read more >Usage and convention differences between missing, nothing ...
missing is used to represent missing values in a statistical sense, ... having a value), but rather a "flag" that one can pass...
Read more >Caching guidance - Azure Architecture Center | Microsoft Learn
Learn how caching can improve the performance and scalability of a system by copying frequently accessed data to fast storage close to the...
Read more >Runtime context - AWS Cloud Development Kit (AWS CDK) v2
Not all context values are cached values from your AWS environment. Feature flags are also context values. You can also create your own...
Read more >Configuring Infinispan caches
Infinispan replicates all cache entries on all nodes in a cluster ... If necessary use the PERMANENT flag for caches to survive restarts....
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 Free
Top 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

Simplified case:
With no input gives:
Ok.