VizierDB / vizier-scala

The Vizier kernel-free notebook programming environment
Other
34 stars 11 forks source link

Error messages for unsupported SQL directives #235

Closed okennedy closed 1 year ago

okennedy commented 1 year ago

Describe the bug Using an unsupported SQL directive (e.g., CREATE TABLE) presently results in an inscrutable error. Make the error message cleaner.

To Reproduce Steps to reproduce the behavior:

  1. Create a SQL cell in an empty workflow
  2. Add CREATE TABLE foo (a int, b int) and run the cell

Expected behavior A clear error message saying that DDL/DML operations are unsupported, at least until #234 is completed.