teragrep / pth_03

Data Processing Language (DPL) parser
GNU Affero General Public License v3.0
0 stars 4 forks source link

Unclear error message for a missing index/datasource in a query #73

Open Abigael-JT opened 2 weeks ago

Abigael-JT commented 2 weeks ago

Describe the bug

a dpl query without index or any data source whatsoever returns a somewhat unclear error message

%dpl
| eval _raw = "xyz"

Expected behavior

The error message should mention something about the missing index/datasource

How to reproduce

Run the above query

Screenshots

current error message:

'writeStream' can be called only on streaming Dataset/DataFrame;

Software version

Desktop (please complete the following information if relevant):

Additional context