observablehq / feedback

Customer submitted bugs and feature requests
42 stars 3 forks source link

SQL Cell DuckDB bigint application error #447

Closed nolan-redox closed 2 years ago

nolan-redox commented 2 years ago

Describe the bug Application error: a client-side exception has occurred (see the browser console for more information). seems to be related to when a bigint is returned from the SQL Cell. I tried a fresh notebook and still receive the error (began occurring for the first time maybe a week ago - no issues prior).

To Reproduce Steps to reproduce the behavior:

  1. Go to https://observablehq.com/d/7988c0805aefcdef
  2. Change SQL cell from select 1::int to select 1::bigint
  3. See error: Application error: a client-side exception has occurred (see the browser console for more information).

Expected behavior The statement select count(*) from events returns a bigint and hits the error above. Changing to select count(*)::int from events gets around the error.

Screenshots image

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

CobusT commented 2 years ago

Thanks for logging this. We noticed the same yesterday and are working on a fix.