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
{{ message }}
Repository navigation
alasql.promise never settles for TXT with a missing file or JSONL and NDJSON with a bad line #3142
// bad.jsonl holds the two lines {"a":1} and not jsonawaitalasql.promise("SELECT * FROM TXT('missing.txt')");awaitalasql.promise("SELECT * FROM JSONL('bad.jsonl')");awaitalasql.promise("SELECT * FROM NDJSON('bad.jsonl')");
None of the three promises settles. The errors error is not a function and Could not parse JSON at line 1 are thrown as uncaught exceptions.
Each promise should reject with the error, as JSON('missing.json') and CSV('missing.csv') do.
Activity