-
-
Notifications
You must be signed in to change notification settings - Fork 287
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
Simple SQL script fails 0.11, works on 0.10 #1151
Comments
Is the following the exact command you're using?
That doesn't work for me, I get this error:
Using this command works for me:
|
Your create-search-table command works for me, but even using that the next command doesn't work for me:
I'm using 0.12.1 now, and it still fails. It also fails when I try something like ";select * from syslog_axon", which is my log file def. Yet I can see syslog_axon in the schema definition. |
Can you run lnav with |
Attached is the debug log. I ran ";select host from syslog_axon" I think in the log it starts here: |
lnav version
v0.11.1
Describe the bug
When creating a table and then running a select against it fails with this error:
✘ error: failed to compile SQL statement │ reason: vtable constructor failed: mytable │ --> command:1 │ | select log_time, val from mytable
To Reproduce
Steps to reproduce the behavior:
Using this log file:
Apr 12 14:35:48 host local0.info proc1[3066]: x=5
Apr 12 14:35:48 host local0.info proc1[3066]: x=2
Apr 12 14:35:48 host local0.info proc1[3066]: x=3
Apr 12 14:35:48 host local0.info proc1[3066]: x=1
Run these commands:
:create-search-table mytable ^.*x=(?\d+)
;select log_time, val from mytable
The text was updated successfully, but these errors were encountered: